Allow runfw(4) to be compiled in to the kernel.

Submitted by:	Akinori Furukoshi
This commit is contained in:
Andrew Thompson 2011-01-11 21:46:29 +00:00
parent bd9aad47ea
commit 639016b852

View File

@ -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