zd1211-firmware: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Gustavo Zacarias 2013-01-04 01:02:01 +00:00 committed by Peter Korsgaard
parent 09556938df
commit b16f37b03c
3 changed files with 24 additions and 0 deletions

View File

@ -203,6 +203,7 @@ menu "Misc devices firmwares"
source "package/b43-firmware/Config.in"
source "package/linux-firmware/Config.in"
source "package/ux500-firmware/Config.in"
source "package/zd1211-firmware/Config.in"
endmenu
source "package/acpid/Config.in"
source "package/cdrkit/Config.in"

View File

@ -0,0 +1,4 @@
config BR2_PACKAGE_ZD1211_FIRMWARE
bool "zd1211-firmware"
help
Firmware for the ZyDAS ZD1211 / Atheros AR5007UG wifi devices.

View File

@ -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))