Rename run(4) firmware file from runfw to run.fw. Previous name was the

same as top-level target name for "device runfw" kernel option and
caused cyclic dependancy that lead to kernel build breakage

Module change is not strictly required and done for name unification sake

PR:		conf/175751
Submitted by:	    Issei <i10a at herbmint.jp>
This commit is contained in:
Oleksandr Tymoshenko 2013-06-21 18:16:54 +00:00
parent b19408db1a
commit db5815641c
2 changed files with 7 additions and 7 deletions

View File

@ -2284,19 +2284,19 @@ 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}" \
compile-with "${AWK} -f $S/tools/fw_stub.awk run.fw:runfw -mrunfw -c${.TARGET}" \
no-implicit-rule before-depend local \
clean "runfw.c"
runfw.fwo optional runfw \
dependency "runfw" \
dependency "run.fw" \
compile-with "${NORMAL_FWO}" \
no-implicit-rule \
clean "runfw.fwo"
runfw optional runfw \
run.fw optional runfw \
dependency "$S/contrib/dev/run/rt2870.fw.uu" \
compile-with "${NORMAL_FW}" \
no-obj no-implicit-rule \
clean "runfw"
clean "run.fw"
dev/usb/wlan/if_uath.c optional uath
dev/usb/wlan/if_upgt.c optional upgt
dev/usb/wlan/if_ural.c optional ural

View File

@ -1,11 +1,11 @@
# $FreeBSD$
KMOD= runfw
FIRMWS= runfw:runfw:1
FIRMWS= run.fw:runfw:1
CLEANFILES= runfw
CLEANFILES= run.fw
runfw: ${.CURDIR}/../../contrib/dev/run/rt2870.fw.uu
run.fw: ${.CURDIR}/../../contrib/dev/run/rt2870.fw.uu
uudecode -p ${.CURDIR}/../../contrib/dev/run/rt2870.fw.uu > ${.TARGET}
.include <bsd.kmod.mk>