summaryrefslogtreecommitdiff
path: root/package/zd1211-firmware/zd1211-firmware.mk
blob: afea0e9413227f07662a8071739366735dca4aea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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))