toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / linux-firmware / linux-firmware.mk
blob535b69a690ec3fae44d2a32532c9c4abf37dc0a8
1 ################################################################################
3 # linux-firmware
5 ################################################################################
7 LINUX_FIRMWARE_VERSION = a179db97914da5e650c21ba8f9b0bae04a0f8a41
8 LINUX_FIRMWARE_SITE = http://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
9 LINUX_FIRMWARE_SITE_METHOD = git
11 # Intel SST DSP
12 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_INTEL_SST_DSP),y)
13 LINUX_FIRMWARE_FILES += intel/fw_sst_0f28.bin-48kHz_i2s_master
14 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.fw_sst_0f28
15 endif
17 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RADEON),y)
18 LINUX_FIRMWARE_DIRS += radeon
19 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.radeon
20 endif
22 # Intel Wireless Bluetooth
23 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IBT),y)
24 LINUX_FIRMWARE_FILES += intel/ibt-*
25 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ibt_firmware
26 endif
28 # rt2501/rt61
29 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT61),y)
30 LINUX_FIRMWARE_FILES += rt2561.bin rt2561s.bin rt2661.bin
31 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink-firmware.txt
32 endif
34 # rt73
35 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73),y)
36 LINUX_FIRMWARE_FILES += rt73.bin
37 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink-firmware.txt
38 endif
40 # rt2xx
41 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX),y)
42 # rt3090.bin is a symlink to rt2860.bin
43 # rt3070.bin is a symlink to rt2870.bin
44 LINUX_FIRMWARE_FILES += rt2860.bin rt2870.bin rt3070.bin rt3071.bin rt3090.bin
45 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink-firmware.txt
46 endif
48 # rtl81xx
49 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX),y)
50 LINUX_FIRMWARE_FILES += \
51 rtlwifi/rtl8192cfw.bin rtlwifi/rtl8192cfwU.bin \
52 rtlwifi/rtl8192cfwU_B.bin rtlwifi/rtl8192cufw.bin \
53 rtlwifi/rtl8192defw.bin rtlwifi/rtl8192sefw.bin \
54 rtlwifi/rtl8188efw.bin rtlwifi/rtl8188eufw.bin \
55 rtlwifi/rtl8192cufw_A.bin \
56 rtlwifi/rtl8192cufw_B.bin rtlwifi/rtl8192cufw_TMSC.bin
57 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
58 endif
60 # rtl87xx
61 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX),y)
62 LINUX_FIRMWARE_FILES += \
63 rtlwifi/rtl8712u.bin rtlwifi/rtl8723fw.bin \
64 rtlwifi/rtl8723fw_B.bin rtlwifi/rtl8723befw.bin
65 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
66 endif
68 # rtl88xx
69 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX),y)
70 LINUX_FIRMWARE_FILES += \
71 rtlwifi/rtl8821aefw.bin \
72 rtlwifi/rtl8821aefw_wowlan.bin
73 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt
74 endif
76 # ar6002
77 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6002),y)
78 LINUX_FIRMWARE_FILES += ath6k/AR6002
79 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
80 endif
82 # ar6003
83 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6003),y)
84 LINUX_FIRMWARE_FILES += ath6k/AR6003
85 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
86 endif
88 # ar6004
89 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6004),y)
90 LINUX_FIRMWARE_FILES += ath6k/AR6004
91 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
92 endif
94 # ar7010
95 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_7010),y)
96 LINUX_FIRMWARE_FILES += ar7010.fw ar7010_1_1.fw htc_7010.fw ath9k_htc/htc_7010-1.4.0.fw
97 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
98 endif
100 # ar9170
101 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9170),y)
102 LINUX_FIRMWARE_FILES += ar9170-1.fw ar9170-2.fw
103 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
104 endif
106 # ar9271
107 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271),y)
108 LINUX_FIRMWARE_FILES += ar9271.fw htc_9271.fw ath9k_htc/htc_9271-1.4.0.fw
109 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware
110 endif
112 # sd8686 v8
113 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V8),y)
114 LINUX_FIRMWARE_FILES += libertas/sd8686_v8.bin libertas/sd8686_v8_helper.bin
115 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
116 endif
118 # sd8686 v9
119 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V9),y)
120 LINUX_FIRMWARE_FILES += libertas/sd8686_v9.bin libertas/sd8686_v9_helper.bin
121 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
122 endif
124 # sd8688
125 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8688),y)
126 LINUX_FIRMWARE_FILES += libertas/sd8688.bin libertas/sd8688_helper.bin
127 # The two files above are but symlinks to those two ones:
128 LINUX_FIRMWARE_FILES += mrvl/sd8688.bin mrvl/sd8688_helper.bin
129 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
130 endif
132 # sd8787
133 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8787),y)
134 LINUX_FIRMWARE_FILES += mrvl/sd8787_uapsta.bin
135 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
136 endif
138 # sd8797
139 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8797),y)
140 LINUX_FIRMWARE_FILES += mrvl/sd8797_uapsta.bin
141 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
142 endif
144 # usb8797
145 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8797),y)
146 LINUX_FIRMWARE_FILES += mrvl/usb8797_uapsta.bin
147 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
148 endif
150 # usb8801
151 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8801),y)
152 LINUX_FIRMWARE_FILES += mrvl/usb8801_uapsta.bin
153 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
154 endif
156 # sd8887
157 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8887),y)
158 LINUX_FIRMWARE_FILES += mrvl/sd8887_uapsta.bin
159 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
160 endif
162 # sd8897
163 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8897),y)
164 LINUX_FIRMWARE_FILES += mrvl/sd8897_uapsta.bin
165 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
166 endif
168 # usb8897
169 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8897),y)
170 LINUX_FIRMWARE_FILES += mrvl/usb8897_uapsta.bin
171 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
172 endif
174 # pcie8897
175 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_PCIE8897),y)
176 LINUX_FIRMWARE_FILES += mrvl/pcie8897_uapsta.bin
177 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell
178 endif
180 # MT7601
181 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7601U),y)
182 LINUX_FIRMWARE_FILES += mt7601u.bin
183 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink_a_mediatek_company_firmware
184 endif
186 # wl127x
187 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_TI_WL127X),y)
188 # wl1271-nvs.bin is a symlink to wl127x-nvs.bin
189 LINUX_FIRMWARE_FILES += \
190 ti-connectivity/wl1271-fw-2.bin \
191 ti-connectivity/wl1271-fw-ap.bin \
192 ti-connectivity/wl1271-fw.bin \
193 ti-connectivity/wl1271-nvs.bin \
194 ti-connectivity/wl127x-fw-3.bin \
195 ti-connectivity/wl127x-fw-plt-3.bin \
196 ti-connectivity/wl127x-nvs.bin \
197 ti-connectivity/wl127x-fw-4-mr.bin \
198 ti-connectivity/wl127x-fw-4-plt.bin \
199 ti-connectivity/wl127x-fw-4-sr.bin \
200 ti-connectivity/wl127x-fw-5-mr.bin \
201 ti-connectivity/wl127x-fw-5-plt.bin \
202 ti-connectivity/wl127x-fw-5-sr.bin \
203 ti-connectivity/TIInit_7.2.31.bts
204 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ti-connectivity
205 endif
207 # wl128x
208 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_TI_WL128X),y)
209 # wl1271-nvs.bin and wl12xx-nvs.bin are symlinks to wl127x-nvs.bin
210 LINUX_FIRMWARE_FILES += \
211 ti-connectivity/wl128x-fw-3.bin \
212 ti-connectivity/wl128x-fw-ap.bin \
213 ti-connectivity/wl128x-fw-plt-3.bin \
214 ti-connectivity/wl128x-fw.bin \
215 ti-connectivity/wl1271-nvs.bin \
216 ti-connectivity/wl128x-nvs.bin \
217 ti-connectivity/wl12xx-nvs.bin \
218 ti-connectivity/wl127x-nvs.bin \
219 ti-connectivity/wl128x-fw-4-mr.bin \
220 ti-connectivity/wl128x-fw-4-plt.bin \
221 ti-connectivity/wl128x-fw-4-sr.bin \
222 ti-connectivity/wl128x-fw-5-mr.bin \
223 ti-connectivity/wl128x-fw-5-plt.bin \
224 ti-connectivity/wl128x-fw-5-sr.bin \
225 ti-connectivity/TIInit_7.2.31.bts
226 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ti-connectivity
227 endif
229 # wl18xx
230 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_TI_WL18XX),y)
231 # wl1271-nvs.bin is a symlink to wl127x-nvs.bin
232 LINUX_FIRMWARE_FILES += \
233 ti-connectivity/wl18xx-fw.bin \
234 ti-connectivity/wl18xx-fw-2.bin \
235 ti-connectivity/wl18xx-fw-3.bin \
236 ti-connectivity/wl18xx-fw-4.bin \
237 ti-connectivity/wl1271-nvs.bin \
238 ti-connectivity/wl127x-nvs.bin \
239 ti-connectivity/TIInit_7.2.31.bts
240 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ti-connectivity
241 endif
243 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160),y)
244 LINUX_FIRMWARE_FILES += iwlwifi-3160-*.ucode
245 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
246 endif
248 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168),y)
249 LINUX_FIRMWARE_FILES += iwlwifi-3168-*.ucode
250 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
251 endif
253 # iwlwifi 5000. Multiple files are available (iwlwifi-5000-1.ucode,
254 # iwlwifi-5000-2.ucode, iwlwifi-5000-5.ucode), corresponding to
255 # different versions of the firmware API. For now, we only install the
256 # most recent one.
257 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000),y)
258 LINUX_FIRMWARE_FILES += iwlwifi-5000-5.ucode
259 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
260 endif
262 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2A),y)
263 LINUX_FIRMWARE_FILES += iwlwifi-6000g2a-6.ucode
264 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
265 endif
267 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2B),y)
268 LINUX_FIRMWARE_FILES += iwlwifi-6000g2b-6.ucode
269 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
270 endif
272 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7260),y)
273 LINUX_FIRMWARE_FILES += iwlwifi-7260-*.ucode
274 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
275 endif
277 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265),y)
278 LINUX_FIRMWARE_FILES += iwlwifi-7265-*.ucode
279 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
280 endif
282 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265D),y)
283 LINUX_FIRMWARE_FILES += iwlwifi-7265D-*.ucode
284 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
285 endif
287 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8000C),y)
288 LINUX_FIRMWARE_FILES += iwlwifi-8000C-*.ucode
289 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
290 endif
292 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8265),y)
293 LINUX_FIRMWARE_FILES += iwlwifi-8265-*.ucode
294 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
295 endif
297 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BNX2X),y)
298 LINUX_FIRMWARE_FILES += bnx2x/*
299 # No license file; the license is in the file WHENCE
300 # which is installed unconditionally
301 endif
303 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T4),y)
304 # cxgb4/t4fw.bin is a symlink to cxgb4/t4fw-1.14.4.0.bin
305 LINUX_FIRMWARE_FILES += cxgb4/t4fw-1.14.4.0.bin cxgb4/t4fw.bin
306 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.chelsio_firmware
307 endif
309 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T5),y)
310 # cxgb4/t5fw.bin is a symlink to cxgb4/t5fw-1.14.4.0.bin
311 LINUX_FIRMWARE_FILES += cxgb4/t5fw-1.14.4.0.bin cxgb4/t5fw.bin
312 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.chelsio_firmware
313 endif
315 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_8169),y)
316 LINUX_FIRMWARE_FILES += \
317 rtl_nic/rtl8168d-1.fw \
318 rtl_nic/rtl8168d-2.fw \
319 rtl_nic/rtl8168e-1.fw \
320 rtl_nic/rtl8168e-2.fw \
321 rtl_nic/rtl8168e-3.fw \
322 rtl_nic/rtl8168f-1.fw \
323 rtl_nic/rtl8168f-2.fw \
324 rtl_nic/rtl8105e-1.fw \
325 rtl_nic/rtl8402-1.fw \
326 rtl_nic/rtl8411-1.fw \
327 rtl_nic/rtl8411-2.fw \
328 rtl_nic/rtl8106e-1.fw \
329 rtl_nic/rtl8106e-2.fw \
330 rtl_nic/rtl8168g-2.fw \
331 rtl_nic/rtl8168g-3.fw
332 endif
334 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_XCx000),y)
335 LINUX_FIRMWARE_FILES += \
336 dvb-fe-xc4000-1.4.1.fw \
337 dvb-fe-xc5000-1.6.114.fw \
338 dvb-fe-xc5000c-4.1.30.7.fw
339 LINUX_FIRMWARE_ALL_LICENSE_FILES += \
340 LICENCE.xc4000 \
341 LICENCE.xc5000 \
342 LICENCE.xc5000c
343 endif
345 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_AS102),y)
346 LINUX_FIRMWARE_FILES += as102_data1_st.hex as102_data2_st.hex
347 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Abilis
348 endif
350 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_DIB0700),y)
351 LINUX_FIRMWARE_FILES += dvb-usb-dib0700-1.20.fw
352 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.dib0700
353 endif
355 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ITETECH_IT9135),y)
356 LINUX_FIRMWARE_FILES += dvb-usb-it9135-01.fw dvb-usb-it9135-02.fw
357 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.it913x
358 endif
360 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_H5_DRXK),y)
361 LINUX_FIRMWARE_FILES += dvb-usb-terratec-h5-drxk.fw
362 # No license file; the license is in the file WHENCE
363 # which is installed unconditionally
364 endif
366 # brcm43xx
367 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XX),y)
368 LINUX_FIRMWARE_FILES += \
369 brcm/bcm43xx-0.fw brcm/bcm43xx_hdr-0.fw \
370 brcm/bcm4329-fullmac-4.bin brcm/brcmfmac4329-sdio.bin \
371 brcm/brcmfmac4330-sdio.bin brcm/brcmfmac4334-sdio.bin \
372 brcm/brcmfmac4335-sdio.bin brcm/brcmfmac4339-sdio.bin \
373 brcm/brcmfmac4350-pcie.bin brcm/brcmfmac4354-sdio.bin \
374 brcm/brcmfmac4356-pcie.bin brcm/brcmfmac4371-pcie.bin
375 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx
376 endif
378 # brcm43xxx
379 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX),y)
380 LINUX_FIRMWARE_FILES += \
381 brcm/brcmfmac43143.bin brcm/brcmfmac43143-sdio.bin \
382 brcm/brcmfmac43236b.bin brcm/brcmfmac43241b0-sdio.bin \
383 brcm/brcmfmac43241b4-sdio.bin brcm/brcmfmac43241b5-sdio.bin \
384 brcm/brcmfmac43242a.bin brcm/brcmfmac43340-sdio.bin \
385 brcm/brcmfmac43362-sdio.bin brcm/brcmfmac43455-sdio.bin \
386 brcm/brcmfmac43569.bin brcm/brcmfmac43570-pcie.bin \
387 brcm/brcmfmac43602-pcie.ap.bin brcm/brcmfmac43602-pcie.bin \
388 brcm/brcmfmac43430-sdio.bin
389 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx
390 endif
392 ifneq ($(LINUX_FIRMWARE_FILES),)
393 define LINUX_FIRMWARE_INSTALL_FILES
394 cd $(@D) ; \
395 $(TAR) c $(sort $(LINUX_FIRMWARE_FILES)) | \
396 $(TAR) x -C $(TARGET_DIR)/lib/firmware
397 endef
398 endif
400 ifneq ($(LINUX_FIRMWARE_DIRS),)
401 # We need to rm-rf the destination directory to avoid copying
402 # into it in itself, should we re-install the package.
403 define LINUX_FIRMWARE_INSTALL_DIRS
404 $(foreach d,$(LINUX_FIRMWARE_DIRS), \
405 rm -rf $(TARGET_DIR)/lib/firmware/$(d); \
406 cp -a $(@D)/$(d) $(TARGET_DIR)/lib/firmware/$(d)$(sep))
407 endef
408 endif
410 ifneq ($(LINUX_FIRMWARE_FILES)$(LINUX_FIRMWARE_DIRS),)
412 # Most firmware files are under a proprietary license, so no need to
413 # repeat it for every selections above. Those firmwares that have more
414 # lax licensing terms may still add them on a per-case basis.
415 LINUX_FIRMWARE_LICENSE += Proprietary
417 # This file contains some licensing information about all the firmware
418 # files found in the linux-firmware package, so we always add it, even
419 # for firmwares that have their own licensing terms.
420 LINUX_FIRMWARE_ALL_LICENSE_FILES += WHENCE
422 # Some license files may be listed more than once, so we have to remove
423 # duplicates
424 LINUX_FIRMWARE_LICENSE_FILES = $(sort $(LINUX_FIRMWARE_ALL_LICENSE_FILES))
426 endif
428 define LINUX_FIRMWARE_INSTALL_TARGET_CMDS
429 mkdir -p $(TARGET_DIR)/lib/firmware
430 $(LINUX_FIRMWARE_INSTALL_FILES)
431 $(LINUX_FIRMWARE_INSTALL_DIRS)
432 endef
434 $(eval $(generic-package))