diff options
author | thompsa <thompsa@FreeBSD.org> | 2011-01-11 21:46:29 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2011-01-11 21:46:29 +0000 |
commit | 85e07fa06cd06d0f391d6b9e83a2d47833e4be2a (patch) | |
tree | a39466a8e664bdb51abd3d018452340851054093 | |
parent | a13f07741ca203fff332d6336ddc469e09546483 (diff) | |
download | FreeBSD-src-85e07fa06cd06d0f391d6b9e83a2d47833e4be2a.zip FreeBSD-src-85e07fa06cd06d0f391d6b9e83a2d47833e4be2a.tar.gz |
Allow runfw(4) to be compiled in to the kernel.
Submitted by: Akinori Furukoshi
-rw-r--r-- | sys/conf/files | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files index 70113b3..8c102a9 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -1812,6 +1812,20 @@ dev/usb/net/uhso.c optional uhso # dev/usb/wlan/if_rum.c optional rum dev/usb/wlan/if_run.c optional run +runfw.c optional runfw \ + compile-with "${AWK} -f $S/tools/fw_stub.awk runfw:runfw -mrunfw -c${.TARGET}" \ + no-implicit-rule before-depend local \ + clean "runfw.c" +runfw.fwo optional runfw \ + dependency "runfw" \ + compile-with "${LD} -b binary -d -warn-common -r -d -o ${.TARGET} runfw" \ + no-implicit-rule \ + clean "runfw.fwo" +runfw optional runfw \ + dependency "$S/contrib/dev/run/rt2870.fw.uu" \ + compile-with "uudecode -o ${.TARGET} $S/contrib/dev/run/rt2870.fw.uu" \ + no-obj no-implicit-rule \ + clean "runfw" dev/usb/wlan/if_uath.c optional uath dev/usb/wlan/if_upgt.c optional upgt dev/usb/wlan/if_ural.c optional ural |