2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-12-06 13:50:00 +01:00
|
|
|
#
|
|
|
|
# b43-firmware
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-12-06 13:50:00 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_B43_FIRMWARE_KERNEL_AFTER_3_2),y)
|
|
|
|
B43_FIRMWARE_VERSION = 5.100.138
|
2014-07-31 10:46:58 +02:00
|
|
|
B43_FIRMWARE_SITE = http://www.lwfinger.com/b43-firmware
|
2012-12-06 13:50:00 +01:00
|
|
|
B43_FIRMWARE_SOURCE = broadcom-wl-$(B43_FIRMWARE_VERSION).tar.bz2
|
|
|
|
B43_FIRMWARE_DRIVER_FILE = linux/wl_apsta.o
|
|
|
|
else ifeq ($(BR2_PACKAGE_B43_FIRMWARE_KERNEL_BEFORE_3_2),y)
|
|
|
|
B43_FIRMWARE_VERSION = 5.10.56.27.3
|
2014-07-31 10:46:58 +02:00
|
|
|
B43_FIRMWARE_SITE = http://mirror2.openwrt.org/sources
|
2012-12-06 13:50:00 +01:00
|
|
|
B43_FIRMWARE_SOURCE = broadcom-wl-$(B43_FIRMWARE_VERSION)_mipsel.tar.bz2
|
|
|
|
B43_FIRMWARE_DRIVER_FILE = driver/wl_apsta/wl_prebuilt.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
B43_FIRMWARE_LICENSE = PROPRIETARY
|
|
|
|
B43_FIRMWARE_REDISTRIBUTE = NO
|
|
|
|
|
|
|
|
B43_FIRMWARE_DEPENDENCIES = host-b43-fwcutter
|
|
|
|
|
|
|
|
define B43_FIRMWARE_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/
|
2017-07-05 13:14:19 +02:00
|
|
|
$(HOST_DIR)/bin/b43-fwcutter -w $(TARGET_DIR)/lib/firmware/ $(@D)/$(B43_FIRMWARE_DRIVER_FILE)
|
2012-12-06 13:50:00 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|