2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-01-26 16:13:22 +01:00
|
|
|
#
|
|
|
|
# linux-firmware
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-02-25 07:26:37 +01:00
|
|
|
|
2016-04-19 16:44:04 +02:00
|
|
|
LINUX_FIRMWARE_VERSION = b0668886def608d352cd0263a7ef04e64e25574a
|
2013-02-25 07:26:37 +01:00
|
|
|
LINUX_FIRMWARE_SITE = http://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
|
2012-01-26 16:13:22 +01:00
|
|
|
LINUX_FIRMWARE_SITE_METHOD = git
|
|
|
|
|
2014-09-20 22:55:13 +02:00
|
|
|
# Intel SST DSP
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_INTEL_SST_DSP),y)
|
|
|
|
LINUX_FIRMWARE_FILES += intel/fw_sst_0f28.bin-48kHz_i2s_master
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.fw_sst_0f28
|
|
|
|
endif
|
|
|
|
|
2015-04-01 23:54:58 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RADEON),y)
|
|
|
|
LINUX_FIRMWARE_DIRS += radeon
|
2015-04-05 18:48:27 +02:00
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.radeon
|
2015-04-01 23:54:58 +02:00
|
|
|
endif
|
|
|
|
|
2012-01-26 16:13:22 +01:00
|
|
|
# rt2501/rt61
|
2013-12-25 21:29:06 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT61),y)
|
2014-04-21 20:24:05 +02:00
|
|
|
LINUX_FIRMWARE_FILES += rt2561.bin rt2561s.bin rt2661.bin
|
2013-12-25 21:29:06 +01:00
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink-firmware.txt
|
|
|
|
endif
|
2012-01-26 16:13:22 +01:00
|
|
|
|
|
|
|
# rt73
|
2013-12-25 21:29:06 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73),y)
|
|
|
|
LINUX_FIRMWARE_FILES += rt73.bin
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink-firmware.txt
|
|
|
|
endif
|
2012-01-26 16:13:22 +01:00
|
|
|
|
|
|
|
# rt2xx
|
2013-12-25 21:29:06 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX),y)
|
2014-04-21 20:24:06 +02:00
|
|
|
# rt3090.bin is a symlink to rt2860.bin
|
|
|
|
# rt3070.bin is a symlink to rt2870.bin
|
2013-12-25 21:29:06 +01:00
|
|
|
LINUX_FIRMWARE_FILES += rt2860.bin rt2870.bin rt3070.bin rt3071.bin rt3090.bin
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink-firmware.txt
|
|
|
|
endif
|
2012-01-26 16:13:22 +01:00
|
|
|
|
2013-06-03 12:15:48 +02:00
|
|
|
# rtl81xx
|
2013-12-25 21:29:06 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX),y)
|
|
|
|
LINUX_FIRMWARE_FILES += \
|
2012-09-03 00:37:46 +02:00
|
|
|
rtlwifi/rtl8192cfw.bin rtlwifi/rtl8192cfwU.bin \
|
|
|
|
rtlwifi/rtl8192cfwU_B.bin rtlwifi/rtl8192cufw.bin \
|
|
|
|
rtlwifi/rtl8192defw.bin rtlwifi/rtl8192sefw.bin \
|
2015-10-19 01:03:53 +02:00
|
|
|
rtlwifi/rtl8188efw.bin rtlwifi/rtl8188eufw.bin \
|
|
|
|
rtlwifi/rtl8192cufw_A.bin \
|
2013-12-25 21:29:06 +01:00
|
|
|
rtlwifi/rtl8192cufw_B.bin rtlwifi/rtl8192cufw_TMSC.bin
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
|
|
|
|
endif
|
2012-09-03 00:37:46 +02:00
|
|
|
|
2013-06-03 12:15:48 +02:00
|
|
|
# rtl87xx
|
2013-12-25 21:29:06 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX),y)
|
2014-12-30 08:36:23 +01:00
|
|
|
LINUX_FIRMWARE_FILES += \
|
|
|
|
rtlwifi/rtl8712u.bin rtlwifi/rtl8723fw.bin \
|
2014-09-20 22:55:02 +02:00
|
|
|
rtlwifi/rtl8723fw_B.bin rtlwifi/rtl8723befw.bin
|
2013-12-25 21:29:06 +01:00
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
|
|
|
|
endif
|
2012-09-03 00:37:46 +02:00
|
|
|
|
2014-09-20 22:55:03 +02:00
|
|
|
# rtl88xx
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX),y)
|
2014-12-30 08:36:23 +01:00
|
|
|
LINUX_FIRMWARE_FILES += \
|
|
|
|
rtlwifi/rtl8821aefw.bin \
|
|
|
|
rtlwifi/rtl8821aefw_wowlan.bin
|
2014-09-20 22:55:03 +02:00
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
|
|
|
|
endif
|
|
|
|
|
2014-10-02 18:23:03 +02:00
|
|
|
# ar6002
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6002),y)
|
|
|
|
LINUX_FIRMWARE_FILES += ath6k/AR6002
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
|
|
|
|
endif
|
|
|
|
|
|
|
|
# ar6003
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6003),y)
|
|
|
|
LINUX_FIRMWARE_FILES += ath6k/AR6003
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
|
|
|
|
endif
|
|
|
|
|
|
|
|
# ar6004
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6004),y)
|
|
|
|
LINUX_FIRMWARE_FILES += ath6k/AR6004
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
|
|
|
|
endif
|
|
|
|
|
2012-03-02 19:43:30 +01:00
|
|
|
# ar7010
|
2013-12-25 21:29:06 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_7010),y)
|
2016-03-15 11:47:44 +01:00
|
|
|
LINUX_FIRMWARE_FILES += ar7010.fw ar7010_1_1.fw htc_7010.fw ath9k_htc/htc_7010-1.4.0.fw
|
2013-12-25 21:29:06 +01:00
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
|
|
|
|
endif
|
2012-03-02 19:43:30 +01:00
|
|
|
|
2013-12-25 21:29:05 +01:00
|
|
|
# ar9170
|
2013-12-25 21:29:06 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9170),y)
|
|
|
|
LINUX_FIRMWARE_FILES += ar9170-1.fw ar9170-2.fw
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
|
|
|
|
endif
|
2013-12-25 21:29:05 +01:00
|
|
|
|
2012-02-16 03:38:00 +01:00
|
|
|
# ar9271
|
2013-12-25 21:29:06 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271),y)
|
2016-03-15 11:47:44 +01:00
|
|
|
LINUX_FIRMWARE_FILES += ar9271.fw htc_9271.fw ath9k_htc/htc_9271-1.4.0.fw
|
2013-12-25 21:29:06 +01:00
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
|
|
|
|
endif
|
2012-02-16 03:38:00 +01:00
|
|
|
|
2012-09-03 04:10:32 +02:00
|
|
|
# sd8686 v8
|
2013-12-25 21:29:06 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V8),y)
|
|
|
|
LINUX_FIRMWARE_FILES += libertas/sd8686_v8.bin libertas/sd8686_v8_helper.bin
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
|
|
|
|
endif
|
2012-09-03 04:10:32 +02:00
|
|
|
|
|
|
|
# sd8686 v9
|
2013-12-25 21:29:06 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V9),y)
|
|
|
|
LINUX_FIRMWARE_FILES += libertas/sd8686_v9.bin libertas/sd8686_v9_helper.bin
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
|
|
|
|
endif
|
2012-09-03 04:10:32 +02:00
|
|
|
|
|
|
|
# sd8688
|
2013-12-25 21:29:06 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8688),y)
|
|
|
|
LINUX_FIRMWARE_FILES += libertas/sd8688.bin libertas/sd8688_helper.bin
|
2014-04-21 20:24:06 +02:00
|
|
|
# The two files above are but symlinks to those two ones:
|
|
|
|
LINUX_FIRMWARE_FILES += mrvl/sd8688.bin mrvl/sd8688_helper.bin
|
2013-12-25 21:29:06 +01:00
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
|
|
|
|
endif
|
2012-09-03 04:10:32 +02:00
|
|
|
|
2012-12-18 04:20:29 +01:00
|
|
|
# sd8787
|
2013-12-25 21:29:06 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8787),y)
|
|
|
|
LINUX_FIRMWARE_FILES += mrvl/sd8787_uapsta.bin
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
|
|
|
|
endif
|
2012-12-18 04:20:29 +01:00
|
|
|
|
2015-11-08 23:52:08 +01:00
|
|
|
# sd8797
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8797),y)
|
|
|
|
LINUX_FIRMWARE_FILES += mrvl/sd8797_uapsta.bin
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
|
|
|
|
endif
|
|
|
|
|
|
|
|
# usb8797
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8797),y)
|
|
|
|
LINUX_FIRMWARE_FILES += mrvl/usb8797_uapsta.bin
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
|
|
|
|
endif
|
|
|
|
|
|
|
|
# sd8887
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8887),y)
|
|
|
|
LINUX_FIRMWARE_FILES += mrvl/sd8887_uapsta.bin
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
|
|
|
|
endif
|
|
|
|
|
|
|
|
# sd8897
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8897),y)
|
|
|
|
LINUX_FIRMWARE_FILES += mrvl/sd8897_uapsta.bin
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
|
|
|
|
endif
|
|
|
|
|
|
|
|
# usb8897
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8897),y)
|
|
|
|
LINUX_FIRMWARE_FILES += mrvl/usb8897_uapsta.bin
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
|
|
|
|
endif
|
|
|
|
|
|
|
|
# pcie8897
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_PCIE8897),y)
|
|
|
|
LINUX_FIRMWARE_FILES += mrvl/pcie8897_uapsta.bin
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
|
|
|
|
endif
|
|
|
|
|
2016-02-15 05:27:28 +01:00
|
|
|
# MT7601
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7601U),y)
|
|
|
|
LINUX_FIRMWARE_FILES += mt7601u.bin
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink_a_mediatek_company_firmware
|
|
|
|
endif
|
|
|
|
|
2012-01-26 16:13:22 +01:00
|
|
|
# wl127x
|
2013-12-25 21:29:06 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_TI_WL127X),y)
|
2014-04-21 20:24:06 +02:00
|
|
|
# wl1271-nvs.bin is a symlink to wl127x-nvs.bin
|
2013-12-25 21:29:06 +01:00
|
|
|
LINUX_FIRMWARE_FILES += \
|
2012-01-26 16:13:22 +01:00
|
|
|
ti-connectivity/wl1271-fw-2.bin \
|
|
|
|
ti-connectivity/wl1271-fw-ap.bin \
|
|
|
|
ti-connectivity/wl1271-fw.bin \
|
|
|
|
ti-connectivity/wl1271-nvs.bin \
|
|
|
|
ti-connectivity/wl127x-fw-3.bin \
|
|
|
|
ti-connectivity/wl127x-fw-plt-3.bin \
|
|
|
|
ti-connectivity/wl127x-nvs.bin \
|
2012-04-04 14:37:01 +02:00
|
|
|
ti-connectivity/wl127x-fw-4-mr.bin \
|
|
|
|
ti-connectivity/wl127x-fw-4-plt.bin \
|
|
|
|
ti-connectivity/wl127x-fw-4-sr.bin \
|
2012-09-03 00:37:45 +02:00
|
|
|
ti-connectivity/wl127x-fw-5-mr.bin \
|
|
|
|
ti-connectivity/wl127x-fw-5-plt.bin \
|
|
|
|
ti-connectivity/wl127x-fw-5-sr.bin \
|
2013-12-25 21:29:06 +01:00
|
|
|
ti-connectivity/TIInit_7.2.31.bts
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ti-connectivity
|
|
|
|
endif
|
2012-01-26 16:13:22 +01:00
|
|
|
|
|
|
|
# wl128x
|
2013-12-25 21:29:06 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_TI_WL128X),y)
|
2015-07-09 02:25:23 +02:00
|
|
|
# wl1271-nvs.bin and wl12xx-nvs.bin are symlinks to wl127x-nvs.bin
|
2013-12-25 21:29:06 +01:00
|
|
|
LINUX_FIRMWARE_FILES += \
|
2012-01-26 16:13:22 +01:00
|
|
|
ti-connectivity/wl128x-fw-3.bin \
|
|
|
|
ti-connectivity/wl128x-fw-ap.bin \
|
|
|
|
ti-connectivity/wl128x-fw-plt-3.bin \
|
|
|
|
ti-connectivity/wl128x-fw.bin \
|
|
|
|
ti-connectivity/wl1271-nvs.bin \
|
|
|
|
ti-connectivity/wl128x-nvs.bin \
|
|
|
|
ti-connectivity/wl12xx-nvs.bin \
|
2015-07-09 02:25:23 +02:00
|
|
|
ti-connectivity/wl127x-nvs.bin \
|
2012-04-04 14:37:01 +02:00
|
|
|
ti-connectivity/wl128x-fw-4-mr.bin \
|
|
|
|
ti-connectivity/wl128x-fw-4-plt.bin \
|
|
|
|
ti-connectivity/wl128x-fw-4-sr.bin \
|
2012-09-03 00:37:45 +02:00
|
|
|
ti-connectivity/wl128x-fw-5-mr.bin \
|
|
|
|
ti-connectivity/wl128x-fw-5-plt.bin \
|
|
|
|
ti-connectivity/wl128x-fw-5-sr.bin \
|
2013-12-25 21:29:06 +01:00
|
|
|
ti-connectivity/TIInit_7.2.31.bts
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ti-connectivity
|
|
|
|
endif
|
2012-01-26 16:13:22 +01:00
|
|
|
|
2014-09-20 22:55:04 +02:00
|
|
|
# wl18xx
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_TI_WL18XX),y)
|
2015-07-09 02:25:23 +02:00
|
|
|
# wl1271-nvs.bin is a symlink to wl127x-nvs.bin
|
2014-09-20 22:55:04 +02:00
|
|
|
LINUX_FIRMWARE_FILES += \
|
|
|
|
ti-connectivity/wl18xx-fw.bin \
|
|
|
|
ti-connectivity/wl18xx-fw-2.bin \
|
|
|
|
ti-connectivity/wl18xx-fw-3.bin \
|
|
|
|
ti-connectivity/wl18xx-fw-4.bin \
|
2015-07-09 02:25:23 +02:00
|
|
|
ti-connectivity/wl1271-nvs.bin \
|
|
|
|
ti-connectivity/wl127x-nvs.bin \
|
2014-09-20 22:55:04 +02:00
|
|
|
ti-connectivity/TIInit_7.2.31.bts
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ti-connectivity
|
|
|
|
endif
|
|
|
|
|
2014-01-18 19:40:19 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160),y)
|
2016-04-19 16:44:02 +02:00
|
|
|
LINUX_FIRMWARE_FILES += iwlwifi-3160-*.ucode
|
2014-01-18 19:40:19 +01:00
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
|
|
|
|
endif
|
|
|
|
|
2016-04-19 16:44:07 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168),y)
|
|
|
|
LINUX_FIRMWARE_FILES += iwlwifi-3168-*.ucode
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
|
|
|
|
endif
|
|
|
|
|
2013-01-28 10:19:45 +01:00
|
|
|
# iwlwifi 5000. Multiple files are available (iwlwifi-5000-1.ucode,
|
|
|
|
# iwlwifi-5000-2.ucode, iwlwifi-5000-5.ucode), corresponding to
|
|
|
|
# different versions of the firmware API. For now, we only install the
|
|
|
|
# most recent one.
|
2013-12-25 21:29:06 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000),y)
|
|
|
|
LINUX_FIRMWARE_FILES += iwlwifi-5000-5.ucode
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
|
2014-01-18 19:40:19 +01:00
|
|
|
endif
|
|
|
|
|
2015-05-19 18:07:58 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2A),y)
|
|
|
|
LINUX_FIRMWARE_FILES += iwlwifi-6000g2a-6.ucode
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
|
|
|
|
endif
|
|
|
|
|
2016-04-19 16:44:08 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2B),y)
|
|
|
|
LINUX_FIRMWARE_FILES += iwlwifi-6000g2b-6.ucode
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
|
|
|
|
endif
|
|
|
|
|
2014-01-18 19:40:19 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7260),y)
|
2016-04-19 16:44:02 +02:00
|
|
|
LINUX_FIRMWARE_FILES += iwlwifi-7260-*.ucode
|
2014-01-18 19:40:19 +01:00
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
|
2013-12-25 21:29:06 +01:00
|
|
|
endif
|
2013-01-28 10:19:45 +01:00
|
|
|
|
2014-09-21 20:38:11 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265),y)
|
2016-04-19 16:44:02 +02:00
|
|
|
LINUX_FIRMWARE_FILES += iwlwifi-7265-*.ucode
|
2014-09-21 20:38:11 +02:00
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
|
|
|
|
endif
|
|
|
|
|
2016-04-19 16:44:03 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265D),y)
|
|
|
|
LINUX_FIRMWARE_FILES += iwlwifi-7265D-*.ucode
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
|
|
|
|
endif
|
|
|
|
|
2016-04-19 16:44:05 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8000C),y)
|
|
|
|
LINUX_FIRMWARE_FILES += iwlwifi-8000C-*.ucode
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
|
|
|
|
endif
|
|
|
|
|
2016-04-19 16:44:06 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8265),y)
|
|
|
|
LINUX_FIRMWARE_FILES += iwlwifi-8265-*.ucode
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
|
|
|
|
endif
|
|
|
|
|
2014-01-16 07:27:51 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BNX2X),y)
|
|
|
|
LINUX_FIRMWARE_FILES += \
|
2014-09-20 22:55:01 +02:00
|
|
|
bnx2x/bnx2x-e1-7.10.51.0.fw \
|
|
|
|
bnx2x/bnx2x-e1h-7.10.51.0.fw \
|
|
|
|
bnx2x/bnx2x-e2-7.10.51.0.fw
|
2014-01-16 07:27:51 +01:00
|
|
|
# No license file; the license is in the file WHENCE
|
|
|
|
# which is installed unconditionally
|
|
|
|
endif
|
|
|
|
|
2014-09-21 20:38:12 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T4),y)
|
2015-12-10 15:01:46 +01:00
|
|
|
# cxgb4/t4fw.bin is a symlink to cxgb4/t4fw-1.14.4.0.bin
|
|
|
|
LINUX_FIRMWARE_FILES += cxgb4/t4fw-1.14.4.0.bin cxgb4/t4fw.bin
|
2014-01-16 07:27:51 +01:00
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.chelsio_firmware
|
|
|
|
endif
|
|
|
|
|
2014-09-21 20:38:12 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T5),y)
|
2015-12-10 15:01:46 +01:00
|
|
|
# cxgb4/t5fw.bin is a symlink to cxgb4/t5fw-1.14.4.0.bin
|
|
|
|
LINUX_FIRMWARE_FILES += cxgb4/t5fw-1.14.4.0.bin cxgb4/t5fw.bin
|
2014-09-21 20:38:12 +02:00
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.chelsio_firmware
|
|
|
|
endif
|
|
|
|
|
2014-11-02 10:41:08 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_8169),y)
|
|
|
|
LINUX_FIRMWARE_FILES += \
|
|
|
|
rtl_nic/rtl8168d-1.fw \
|
|
|
|
rtl_nic/rtl8168d-2.fw \
|
|
|
|
rtl_nic/rtl8168e-1.fw \
|
|
|
|
rtl_nic/rtl8168e-2.fw \
|
|
|
|
rtl_nic/rtl8168e-3.fw \
|
|
|
|
rtl_nic/rtl8168f-1.fw \
|
|
|
|
rtl_nic/rtl8168f-2.fw \
|
|
|
|
rtl_nic/rtl8105e-1.fw \
|
|
|
|
rtl_nic/rtl8402-1.fw \
|
|
|
|
rtl_nic/rtl8411-1.fw \
|
|
|
|
rtl_nic/rtl8411-2.fw \
|
|
|
|
rtl_nic/rtl8106e-1.fw \
|
|
|
|
rtl_nic/rtl8106e-2.fw \
|
|
|
|
rtl_nic/rtl8168g-2.fw \
|
|
|
|
rtl_nic/rtl8168g-3.fw
|
|
|
|
endif
|
|
|
|
|
2014-09-21 20:38:13 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_XCx000),y)
|
2014-12-30 08:36:23 +01:00
|
|
|
LINUX_FIRMWARE_FILES += \
|
|
|
|
dvb-fe-xc4000-1.4.1.fw \
|
|
|
|
dvb-fe-xc5000-1.6.114.fw \
|
|
|
|
dvb-fe-xc5000c-4.1.30.7.fw
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += \
|
|
|
|
LICENCE.xc4000 \
|
|
|
|
LICENCE.xc5000 \
|
|
|
|
LICENCE.xc5000c
|
2013-12-25 21:29:06 +01:00
|
|
|
endif
|
2013-01-03 12:18:59 +01:00
|
|
|
|
2014-09-20 22:55:09 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_AS102),y)
|
|
|
|
LINUX_FIRMWARE_FILES += as102_data1_st.hex as102_data2_st.hex
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Abilis
|
|
|
|
endif
|
|
|
|
|
2013-12-25 21:29:06 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_DIB0700),y)
|
|
|
|
LINUX_FIRMWARE_FILES += dvb-usb-dib0700-1.20.fw
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.dib0700
|
|
|
|
endif
|
2013-01-03 12:18:59 +01:00
|
|
|
|
2014-09-20 22:55:11 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ITETECH_IT9135),y)
|
|
|
|
LINUX_FIRMWARE_FILES += dvb-usb-it9135-01.fw dvb-usb-it9135-02.fw
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.it913x
|
|
|
|
endif
|
|
|
|
|
2013-12-25 21:29:06 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_H5_DRXK),y)
|
|
|
|
LINUX_FIRMWARE_FILES += dvb-usb-terratec-h5-drxk.fw
|
|
|
|
# No license file; the license is in the file WHENCE
|
|
|
|
# which is installed unconditionally
|
|
|
|
endif
|
2013-01-03 12:18:59 +01:00
|
|
|
|
2014-09-20 22:55:00 +02:00
|
|
|
# brcm43xx
|
2013-12-25 21:29:06 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XX),y)
|
2014-12-30 08:36:23 +01:00
|
|
|
LINUX_FIRMWARE_FILES += \
|
|
|
|
brcm/bcm43xx-0.fw brcm/bcm43xx_hdr-0.fw \
|
|
|
|
brcm/bcm4329-fullmac-4.bin brcm/brcmfmac4329-sdio.bin \
|
|
|
|
brcm/brcmfmac4330-sdio.bin brcm/brcmfmac4334-sdio.bin \
|
2015-12-10 15:01:47 +01:00
|
|
|
brcm/brcmfmac4335-sdio.bin brcm/brcmfmac4339-sdio.bin \
|
|
|
|
brcm/brcmfmac4350-pcie.bin brcm/brcmfmac4354-sdio.bin \
|
|
|
|
brcm/brcmfmac4356-pcie.bin brcm/brcmfmac4371-pcie.bin
|
2014-09-20 22:55:00 +02:00
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx
|
|
|
|
endif
|
|
|
|
|
|
|
|
# brcm43xxx
|
|
|
|
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX),y)
|
2014-12-30 08:36:23 +01:00
|
|
|
LINUX_FIRMWARE_FILES += \
|
2015-07-22 20:14:07 +02:00
|
|
|
brcm/brcmfmac43143.bin brcm/brcmfmac43143-sdio.bin \
|
2014-12-30 08:36:23 +01:00
|
|
|
brcm/brcmfmac43236b.bin brcm/brcmfmac43241b0-sdio.bin \
|
2015-12-11 13:29:07 +01:00
|
|
|
brcm/brcmfmac43241b4-sdio.bin brcm/brcmfmac43241b5-sdio.bin \
|
|
|
|
brcm/brcmfmac43242a.bin brcm/brcmfmac43340-sdio.bin \
|
|
|
|
brcm/brcmfmac43362-sdio.bin brcm/brcmfmac43455-sdio.bin \
|
|
|
|
brcm/brcmfmac43569.bin brcm/brcmfmac43570-pcie.bin \
|
|
|
|
brcm/brcmfmac43602-pcie.ap.bin brcm/brcmfmac43602-pcie.bin
|
2013-12-25 21:29:06 +01:00
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(LINUX_FIRMWARE_FILES),)
|
2015-04-01 23:54:57 +02:00
|
|
|
define LINUX_FIRMWARE_INSTALL_FILES
|
2016-04-24 23:34:51 +02:00
|
|
|
cd $(@D) ; \
|
|
|
|
$(TAR) c $(sort $(LINUX_FIRMWARE_FILES)) | \
|
2015-04-01 23:54:57 +02:00
|
|
|
$(TAR) x -C $(TARGET_DIR)/lib/firmware
|
|
|
|
endef
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(LINUX_FIRMWARE_DIRS),)
|
|
|
|
# We need to rm-rf the destination directory to avoid copying
|
|
|
|
# into it in itself, should we re-install the package.
|
|
|
|
define LINUX_FIRMWARE_INSTALL_DIRS
|
|
|
|
$(foreach d,$(LINUX_FIRMWARE_DIRS), \
|
|
|
|
rm -rf $(TARGET_DIR)/lib/firmware/$(d); \
|
|
|
|
cp -a $(@D)/$(d) $(TARGET_DIR)/lib/firmware/$(d)$(sep))
|
|
|
|
endef
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(LINUX_FIRMWARE_FILES)$(LINUX_FIRMWARE_DIRS),)
|
2013-12-25 21:29:06 +01:00
|
|
|
|
|
|
|
# Most firmware files are under a proprietary license, so no need to
|
|
|
|
# repeat it for every selections above. Those firmwares that have more
|
|
|
|
# lax licensing terms may still add them on a per-case basis.
|
|
|
|
LINUX_FIRMWARE_LICENSE += Proprietary
|
|
|
|
|
|
|
|
# This file contains some licensing information about all the firmware
|
|
|
|
# files found in the linux-firmware package, so we always add it, even
|
|
|
|
# for firmwares that have their own licensing terms.
|
|
|
|
LINUX_FIRMWARE_ALL_LICENSE_FILES += WHENCE
|
2012-01-26 16:13:22 +01:00
|
|
|
|
2013-12-25 21:29:06 +01:00
|
|
|
# Some license files may be listed more than once, so we have to remove
|
|
|
|
# duplicates
|
|
|
|
LINUX_FIRMWARE_LICENSE_FILES = $(sort $(LINUX_FIRMWARE_ALL_LICENSE_FILES))
|
2012-01-26 16:13:22 +01:00
|
|
|
|
2015-04-01 23:54:57 +02:00
|
|
|
endif
|
|
|
|
|
2012-01-26 16:13:22 +01:00
|
|
|
define LINUX_FIRMWARE_INSTALL_TARGET_CMDS
|
|
|
|
mkdir -p $(TARGET_DIR)/lib/firmware
|
2015-04-01 23:54:57 +02:00
|
|
|
$(LINUX_FIRMWARE_INSTALL_FILES)
|
|
|
|
$(LINUX_FIRMWARE_INSTALL_DIRS)
|
2012-01-26 16:13:22 +01:00
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|