summaryrefslogtreecommitdiffstats
path: root/package/zd1211-firmware/zd1211-firmware.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-01-04 01:02:01 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-04 12:08:06 +0100
commitb16f37b03c383f70c6cc50582f6b3ee4cf5aa037 (patch)
tree6533d19a80cc34b6afeaad4061abbe078d3db8c5 /package/zd1211-firmware/zd1211-firmware.mk
parent09556938df5d46d08f0dc22d7c8c15b84183b9f4 (diff)
downloadbuildroot-novena-b16f37b03c383f70c6cc50582f6b3ee4cf5aa037.tar.gz
buildroot-novena-b16f37b03c383f70c6cc50582f6b3ee4cf5aa037.zip
zd1211-firmware: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/zd1211-firmware/zd1211-firmware.mk')
-rw-r--r--package/zd1211-firmware/zd1211-firmware.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/zd1211-firmware/zd1211-firmware.mk b/package/zd1211-firmware/zd1211-firmware.mk
new file mode 100644
index 000000000..afea0e941
--- /dev/null
+++ b/package/zd1211-firmware/zd1211-firmware.mk
@@ -0,0 +1,19 @@
+#############################################################
+#
+# zd1211-firmware
+#
+#############################################################
+
+ZD1211_FIRMWARE_VERSION = 1.4
+ZD1211_FIRMWARE_SITE = http://downloads.sourceforge.net/project/zd1211/zd1211-firmware/$(ZD1211_FIRMWARE_VERSION)
+ZD1211_FIRMWARE_SOURCE = zd1211-firmware-$(ZD1211_FIRMWARE_VERSION).tar.bz2
+ZD1211_FIRMWARE_LICENSE = GPLv2
+ZD1211_FIRMWARE_LICENSE_FILES = COPYING
+
+# Not all of the firmware files are used
+define ZD1211_FIRMWARE_INSTALL_TARGET_CMDS
+ $(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/zd1211/
+ cp -dpf $(@D)/zd1211*{ub,uphr,ur} $(TARGET_DIR)/lib/firmware/zd1211
+endef
+
+$(eval $(generic-package))