openocd: avoid documentation rebuild to fix build issues
[buildroot-gz.git] / package / b43-firmware / b43-firmware.mk
blob601ab6661c84c61222647bb27d2d659325d5ed2b
1 ################################################################################
3 # b43-firmware
5 ################################################################################
7 ifeq ($(BR2_PACKAGE_B43_FIRMWARE_KERNEL_AFTER_3_2),y)
8 B43_FIRMWARE_VERSION = 5.100.138
9 B43_FIRMWARE_SITE = http://www.lwfinger.com/b43-firmware
10 B43_FIRMWARE_SOURCE = broadcom-wl-$(B43_FIRMWARE_VERSION).tar.bz2
11 B43_FIRMWARE_DRIVER_FILE = linux/wl_apsta.o
12 else ifeq ($(BR2_PACKAGE_B43_FIRMWARE_KERNEL_BEFORE_3_2),y)
13 B43_FIRMWARE_VERSION = 5.10.56.27.3
14 B43_FIRMWARE_SITE = http://mirror2.openwrt.org/sources
15 B43_FIRMWARE_SOURCE = broadcom-wl-$(B43_FIRMWARE_VERSION)_mipsel.tar.bz2
16 B43_FIRMWARE_DRIVER_FILE = driver/wl_apsta/wl_prebuilt.o
17 endif
19 B43_FIRMWARE_LICENSE = PROPRIETARY
20 B43_FIRMWARE_REDISTRIBUTE = NO
22 B43_FIRMWARE_DEPENDENCIES = host-b43-fwcutter
24 define B43_FIRMWARE_INSTALL_TARGET_CMDS
25 $(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/firmware/
26 $(HOST_DIR)/usr/bin/b43-fwcutter -w $(TARGET_DIR)/lib/firmware/ $(@D)/$(B43_FIRMWARE_DRIVER_FILE)
27 endef
29 $(eval $(generic-package))