From 639016b852a2d9c9b08053bd4397589802746cf3 Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Tue, 11 Jan 2011 21:46:29 +0000 Subject: [PATCH] Allow runfw(4) to be compiled in to the kernel. Submitted by: Akinori Furukoshi --- sys/conf/files | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/sys/conf/files b/sys/conf/files index 70113b3f5940..8c102a967e35 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