summaryrefslogtreecommitdiffstats
path: root/sys/contrib
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-05-09 18:54:18 +0000
committersam <sam@FreeBSD.org>2009-05-09 18:54:18 +0000
commit0287045d29768229efaa298b916db17325634aa7 (patch)
tree65fe7a14b57ddc947a0cd07dbe6418f13d432277 /sys/contrib
parentec7cffd9f3af60a4d31b8ce5b2e249c398b939ed (diff)
downloadFreeBSD-src-0287045d29768229efaa298b916db17325634aa7.zip
FreeBSD-src-0287045d29768229efaa298b916db17325634aa7.tar.gz
Makefile to record the technique by which the .uu files are generated
from the Intel-distributed .fw files
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/dev/iwi/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys/contrib/dev/iwi/Makefile b/sys/contrib/dev/iwi/Makefile
new file mode 100644
index 0000000..867145d
--- /dev/null
+++ b/sys/contrib/dev/iwi/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+FW_VERSION=3.1
+ALL= ipw2200-bss.fw.uu ipw2200-ibss.fw.uu ipw2200-sniffer.fw.uu
+
+all: ${ALL}
+
+ipw2200-bss.fw.uu: ipw2200-bss.fw LICENSE
+ (cat LICENSE; \
+ echo '#define IWI_FW_VERSION' ${FW_VERSION}; \
+ uuencode ipw2200-bss.fw ipw2200-bss.fw) > ${.TARGET}
+
+ipw2200-ibss.fw.uu: ipw2200-ibss.fw LICENSE
+ (cat LICENSE; \
+ echo '#define IWI_FW_VERSION ' ${FW_VERSION}; \
+ uuencode ipw2200-ibss.fw ipw2200-ibss.fw) > ${.TARGET}
+
+ipw2200-sniffer.fw.uu: ipw2200-sniffer.fw LICENSE
+ (cat LICENSE; \
+ echo '#define IWI_FW_VERSION ' ${FW_VERSION}; \
+ uuencode ipw2200-sniffer.fw ipw2200-sniffer.fw) > ${.TARGET}
+
+clean:
+ rm -f ${ALL}
OpenPOWER on IntegriCloud