summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux-firmware
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/linux-firmware')
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_git.bb308
1 files changed, 219 insertions, 89 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
index 16ebf6ad6b..52c68250d3 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
@@ -1,28 +1,83 @@
1SUMMARY = "Firmware files for use with Linux kernel" 1SUMMARY = "Firmware files for use with Linux kernel"
2SECTION = "kernel" 2SECTION = "kernel"
3# Notes: 3
4# This is kind of a mess. Each bit of firmware has their own license. Some free 4LICENSE = "\
5# some not. Leaving this as Proprietary for now, but this recipe should be probably 5 Firmware-Abilis \
6# be rethought out a bit more around how it deals with licenses. 6 & Firmware-agere \
7 7 & Firmware-amd-ucode \
8LICENSE = "Proprietary" 8 & Firmware-atheros_firmware \
9 9 & Firmware-broadcom_bcm43xx \
10LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=07b0c31777bd686d8e1609c6940b5e74\ 10 & Firmware-ca0132 \
11 file://LICENSE.dib0700;md5=f7411825c8a555a1a3e5eab9ca773431 \ 11 & Firmware-chelsio_firmware \
12 file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \ 12 & Firmware-cw1200 \
13 file://LICENCE.ralink-firmware.txt;md5=ab2c269277c45476fb449673911a2dfd \ 13 & Firmware-dib0700 \
14 file://LICENCE.qla2xxx;md5=f5ce8529ec5c17cb7f911d2721d90e91 \ 14 & Firmware-ene_firmware \
15 file://LICENCE.iwlwifi_firmware;md5=5106226b2863d00d8ed553221ddf8cd2 \ 15 & Firmware-fw_sst_0f28 \
16 file://LICENCE.i2400m;md5=14b901969e23c41881327c0d9e4b7d36 \ 16 & Firmware-go7007 \
17 file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \ 17 & Firmware-i2400m \
18 file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \ 18 & Firmware-ibt_firmware \
19 file://LICENCE.rtlwifi_firmware.txt;md5=00d06cfd3eddd5a2698948ead2ad54a5 \ 19 & Firmware-it913x \
20 file://LICENCE.broadcom_bcm43xx;md5=3160c14df7228891b868060e1951dfbc \ 20 & Firmware-iwlwifi_firmware \
21 file://LICENCE.ti-connectivity;md5=186e7a43cf6c274283ad81272ca218ea \ 21 & Firmware-Marvell \
22 file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \ 22 & Firmware-mwl8335 \
23 file://LICENCE.via_vt6656;md5=e4159694cba42d4377a912e78a6e850f \ 23 & Firmware-myri10ge_firmware \
24 file://LICENCE.Marvell;md5=9ddea1734a4baf3c78d845151f42a37a \ 24 & Firmware-OLPC \
25 " 25 & Firmware-phanfw \
26 & Firmware-qat_dh895xcc_firmware \
27 & Firmware-qla2xxx \
28 & Firmware-r8a779x_usb3 \
29 & Firmware-radeon \
30 & Firmware-ralink_a_mediatek_company_firmware \
31 & Firmware-ralink-firmware \
32 & Firmware-rtlwifi_firmware \
33 & Firmware-tda7706-firmware \
34 & Firmware-ti-connectivity \
35 & Firmware-ueagle-atm4-firmware \
36 & Firmware-via_vt6656 \
37 & Firmware-wl1251 \
38 & Firmware-xc4000 \
39 & Firmware-xc5000 \
40 & Firmware-xc5000c \
41"
42
43LIC_FILES_CHKSUM = "\
44 file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \
45 file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \
46 file://LICENCE.atheros_firmware;md5=30a14c7823beedac9fa39c64fdd01a13 \
47 file://LICENCE.broadcom_bcm43xx;md5=3160c14df7228891b868060e1951dfbc \
48 file://LICENCE.ca0132;md5=209b33e66ee5be0461f13d31da392198 \
49 file://LICENCE.chelsio_firmware;md5=819aa8c3fa453f1b258ed8d168a9d903 \
50 file://LICENCE.cw1200;md5=f0f770864e7a8444a5c5aa9d12a3a7ed \
51 file://LICENCE.ene_firmware;md5=ed67f0f62f8f798130c296720b7d3921 \
52 file://LICENCE.fw_sst_0f28;md5=6353931c988ad52818ae733ac61cd293 \
53 file://LICENCE.go7007;md5=c0bb9f6aaaba55b0529ee9b30aa66beb \
54 file://LICENCE.i2400m;md5=14b901969e23c41881327c0d9e4b7d36 \
55 file://LICENCE.ibt_firmware;md5=fdbee1ddfe0fb7ab0b2fcd6b454a366b \
56 file://LICENCE.it913x;md5=1fbf727bfb6a949810c4dbfa7e6ce4f8 \
57 file://LICENCE.iwlwifi_firmware;md5=5106226b2863d00d8ed553221ddf8cd2 \
58 file://LICENCE.Marvell;md5=9ddea1734a4baf3c78d845151f42a37a \
59 file://LICENCE.mwl8335;md5=9a6271ee0e644404b2ff3c61fd070983 \
60 file://LICENCE.myri10ge_firmware;md5=42e32fb89f6b959ca222e25ac8df8fed \
61 file://LICENCE.OLPC;md5=5b917f9d8c061991be4f6f5f108719cd \
62 file://LICENCE.phanfw;md5=954dcec0e051f9409812b561ea743bfa \
63 file://LICENCE.qat_dh895xcc_firmware;md5=9e7d8bea77612d7cc7d9e9b54b623062 \
64 file://LICENCE.qla2xxx;md5=f5ce8529ec5c17cb7f911d2721d90e91 \
65 file://LICENCE.r8a779x_usb3;md5=4c1671656153025d7076105a5da7e498 \
66 file://LICENCE.ralink_a_mediatek_company_firmware;md5=728f1a85fd53fd67fa8d7afb080bc435 \
67 file://LICENCE.ralink-firmware.txt;md5=ab2c269277c45476fb449673911a2dfd \
68 file://LICENCE.rtlwifi_firmware.txt;md5=00d06cfd3eddd5a2698948ead2ad54a5 \
69 file://LICENCE.tda7706-firmware.txt;md5=835997cf5e3c131d0dddd695c7d9103e \
70 file://LICENCE.ti-connectivity;md5=186e7a43cf6c274283ad81272ca218ea \
71 file://LICENCE.ueagle-atm4-firmware;md5=4ed7ea6b507ccc583b9d594417714118 \
72 file://LICENCE.via_vt6656;md5=e4159694cba42d4377a912e78a6e850f \
73 file://LICENCE.wl1251;md5=ad3f81922bb9e197014bb187289d3b5b \
74 file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \
75 file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \
76 file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \
77 file://LICENSE.amd-ucode;md5=81bff4eaa247896f54dd273ce0982611 \
78 file://LICENSE.dib0700;md5=f7411825c8a555a1a3e5eab9ca773431 \
79 file://LICENSE.radeon;md5=07b0c31777bd686d8e1609c6940b5e74 \
80"
26 81
27SRCREV = "0e5f63771d0df6d7859f7c4100a74d737c62ac88" 82SRCREV = "0e5f63771d0df6d7859f7c4100a74d737c62ac88"
28PE = "1" 83PE = "1"
@@ -62,174 +117,199 @@ do_install() {
62} 117}
63 118
64 119
65PACKAGES =+ "${PN}-ralink \ 120PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \
66 ${PN}-radeon \ 121 ${PN}-radeon-license ${PN}-radeon \
67 ${PN}-marvell-license ${PN}-sd8686 ${PN}-sd8787 ${PN}-sd8797 \ 122 ${PN}-marvell-license ${PN}-sd8686 ${PN}-sd8787 ${PN}-sd8797 \
68 ${PN}-wl12xx ${PN}-wl18xx ${PN}-vt6656 \ 123 ${PN}-ti-connectivity-license ${PN}-wl12xx ${PN}-wl18xx \
124 ${PN}-vt6656-license ${PN}-vt6656 \
69 ${PN}-rtl-license ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su \ 125 ${PN}-rtl-license ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su \
70 ${PN}-broadcom-license ${PN}-bcm4329 ${PN}-bcm4330 ${PN}-bcm4334 \ 126 ${PN}-broadcom-license ${PN}-bcm4329 ${PN}-bcm4330 ${PN}-bcm4334 \
71 ${PN}-atheros-license ${PN}-ar9170 ${PN}-ar3k ${PN}-ath6k ${PN}-ath9k \ 127 ${PN}-atheros-license ${PN}-ar9170 ${PN}-ar3k ${PN}-ath6k ${PN}-ath9k \
128 \
72 ${PN}-iwlwifi-license ${PN}-iwlwifi-135-6 \ 129 ${PN}-iwlwifi-license ${PN}-iwlwifi-135-6 \
73 ${PN}-iwlwifi-3160-7 ${PN}-iwlwifi-3160-8 ${PN}-iwlwifi-3160-9 \ 130 ${PN}-iwlwifi-3160-7 ${PN}-iwlwifi-3160-8 ${PN}-iwlwifi-3160-9 \
74 ${PN}-iwlwifi-6000-4 ${PN}-iwlwifi-6000g2a-5 ${PN}-iwlwifi-6000g2a-6 ${PN}-iwlwifi-6000g2b-5 ${PN}-iwlwifi-6000g2b-6 \ 131 ${PN}-iwlwifi-6000-4 ${PN}-iwlwifi-6000g2a-5 ${PN}-iwlwifi-6000g2a-6 \
132 ${PN}-iwlwifi-6000g2b-5 ${PN}-iwlwifi-6000g2b-6 \
75 ${PN}-iwlwifi-6050-4 ${PN}-iwlwifi-6050-5 \ 133 ${PN}-iwlwifi-6050-4 ${PN}-iwlwifi-6050-5 \
76 ${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9 \ 134 ${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN}-iwlwifi-7260-9 \
77 ${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9 \ 135 ${PN}-iwlwifi-7265-8 ${PN}-iwlwifi-7265-9 \
136 \
137 ${PN}-license \
78 " 138 "
79 139
80FILES_${PN}-atheros-license = "/lib/firmware/LICENCE.atheros_firmware" 140# For atheros
141LICENSE_${PN}-ar9170 = "Firmware-atheros_firmware"
142LICENSE_${PN}-ar3k = "Firmware-atheros_firmware"
143LICENSE_${PN}-ath6k = "Firmware-atheros_firmware"
144LICENSE_${PN}-ath9k = "Firmware-atheros_firmware"
81 145
82LICENSE_${PN}-9170 = "Firmware-atheros_firmware" 146FILES_${PN}-atheros-license = "/lib/firmware/LICENCE.atheros_firmware"
83FILES_${PN}-ar9170 = " \ 147FILES_${PN}-ar9170 = " \
84 /lib/firmware/ar9170*.fw \ 148 /lib/firmware/ar9170*.fw \
85" 149"
86RDEPENDS_${PN}-ar9170 += "${PN}-atheros-license"
87
88LICENSE_${PN}-ar3k = "Firmware-atheros_firmware"
89FILES_${PN}-ar3k = " \ 150FILES_${PN}-ar3k = " \
90 /lib/firmware/ar3k \ 151 /lib/firmware/ar3k \
91" 152"
92RDEPENDS_${PN}-ath6k += "${PN}-atheros-license"
93
94LICENSE_${PN}-ath6k = "Firmware-atheros_firmware"
95FILES_${PN}-ath6k = " \ 153FILES_${PN}-ath6k = " \
96 /lib/firmware/ath6k \ 154 /lib/firmware/ath6k \
97" 155"
98RDEPENDS_${PN}-ath6k += "${PN}-atheros-license"
99
100LICENSE_${PN}-ath9k = "Firmware-atheros_firmware"
101FILES_${PN}-ath9k = " \ 156FILES_${PN}-ath9k = " \
102 /lib/firmware/ar9271.fw \ 157 /lib/firmware/ar9271.fw \
103 /lib/firmware/ar7010*.fw \ 158 /lib/firmware/ar7010*.fw \
104 /lib/firmware/htc_9271.fw \ 159 /lib/firmware/htc_9271.fw \
105 /lib/firmware/htc_7010.fw \ 160 /lib/firmware/htc_7010.fw \
106" 161"
162
163RDEPENDS_${PN}-ar9170 += "${PN}-atheros-license"
164RDEPENDS_${PN}-ar3k += "${PN}-atheros-license"
165RDEPENDS_${PN}-ath6k += "${PN}-atheros-license"
107RDEPENDS_${PN}-ath9k += "${PN}-atheros-license" 166RDEPENDS_${PN}-ath9k += "${PN}-atheros-license"
108 167
109LICENSE_${PN}-ralink = "Firmware-ralink" 168# For ralink
169LICENSE_${PN}-ralink = "Firmware-ralink-firmware"
170
171FILES_${PN}-ralink-license = "/lib/firmware/LICENCE.ralink-firmware.txt"
110FILES_${PN}-ralink = " \ 172FILES_${PN}-ralink = " \
111 /lib/firmware/rt*.bin \ 173 /lib/firmware/rt*.bin \
112 /lib/firmware/LICENCE.ralink-firmware.txt \
113" 174"
114 175
176RDEPENDS_${PN}-ralink += "${PN}-ralink-license"
177
178# For radeon
115LICENSE_${PN}-radeon = "Firmware-radeon" 179LICENSE_${PN}-radeon = "Firmware-radeon"
180
181FILES_${PN}-radeon-license = "/lib/firmware/LICENSE.radeon"
116FILES_${PN}-radeon = " \ 182FILES_${PN}-radeon = " \
117 /lib/firmware/radeon \ 183 /lib/firmware/radeon \
118 /lib/firmware/LICENCE.radeon \
119" 184"
120 185
121FILES_${PN}-marvell-license = "/lib/firmware/LICENCE.Marvell" 186RDEPENDS_${PN}-radeon += "${PN}-radeon-license"
122 187
188# For marvell
123LICENSE_${PN}-sd8686 = "Firmware-Marvell" 189LICENSE_${PN}-sd8686 = "Firmware-Marvell"
190LICENSE_${PN}-sd8787 = "Firmware-Marvell"
191LICENSE_${PN}-sd8797 = "Firmware-Marvell"
192
193FILES_${PN}-marvell-license = "/lib/firmware/LICENCE.Marvell"
124FILES_${PN}-sd8686 = " \ 194FILES_${PN}-sd8686 = " \
125 /lib/firmware/libertas/sd8686_v9* \ 195 /lib/firmware/libertas/sd8686_v9* \
126 /lib/firmware/sd8686* \ 196 /lib/firmware/sd8686* \
127" 197"
128RDEPENDS_${PN}-sd8686 += "${PN}-marvell-license"
129
130LICENSE_${PN}-sd8787 = "Firmware-Marvell"
131FILES_${PN}-sd8787 = " \ 198FILES_${PN}-sd8787 = " \
132 /lib/firmware/mrvl/sd8787_uapsta.bin \ 199 /lib/firmware/mrvl/sd8787_uapsta.bin \
133" 200"
134RDEPENDS_${PN}-sd8787 += "${PN}-marvell-license"
135
136LICENSE_${PN}-sd8797 = "Firmware-Marvell"
137FILES_${PN}-sd8797 = " \ 201FILES_${PN}-sd8797 = " \
138 /lib/firmware/mrvl/sd8797_uapsta.bin \ 202 /lib/firmware/mrvl/sd8797_uapsta.bin \
139" 203"
204
205RDEPENDS_${PN}-sd8686 += "${PN}-marvell-license"
206RDEPENDS_${PN}-sd8787 += "${PN}-marvell-license"
140RDEPENDS_${PN}-sd8797 += "${PN}-marvell-license" 207RDEPENDS_${PN}-sd8797 += "${PN}-marvell-license"
141 208
209# For rtl
210LICENSE_${PN}-rtl8192cu = "Firmware-rtlwifi_firmware"
211LICENSE_${PN}-rtl8192ce = "Firmware-rtlwifi_firmware"
212LICENSE_${PN}-rtl8192su = "Firmware-rtlwifi_firmware"
213
142FILES_${PN}-rtl-license = " \ 214FILES_${PN}-rtl-license = " \
143 /lib/firmware/LICENCE.rtlwifi_firmware.txt \ 215 /lib/firmware/LICENCE.rtlwifi_firmware.txt \
144" 216"
145
146LICENSE_${PN}-rtl8192cu = "Firmware-rtlwifi"
147FILES_${PN}-rtl8192cu = " \ 217FILES_${PN}-rtl8192cu = " \
148 /lib/firmware/rtlwifi/rtl8192cufw.bin \ 218 /lib/firmware/rtlwifi/rtl8192cufw.bin \
149" 219"
150RDEPENDS_${PN}-rtl8192cu += "${PN}-rtl-license"
151
152LICENSE_${PN}-rtl8192ce = "Firmware-rtlwifi"
153FILES_${PN}-rtl8192ce = " \ 220FILES_${PN}-rtl8192ce = " \
154 /lib/firmware/rtlwifi/rtl8192cfw.bin \ 221 /lib/firmware/rtlwifi/rtl8192cfw.bin \
155" 222"
156RDEPENDS_${PN}-rtl8192ce += "${PN}-rtl-license"
157
158
159LICENSE_${PN}-rtl8192su = "Firmware-rtlwifi"
160FILES_${PN}-rtl8192su = " \ 223FILES_${PN}-rtl8192su = " \
161 /lib/firmware/rtlwifi/rtl8712u.bin \ 224 /lib/firmware/rtlwifi/rtl8712u.bin \
162" 225"
163 226
227RDEPENDS_${PN}-rtl8192ce += "${PN}-rtl-license"
228RDEPENDS_${PN}-rtl8192cu += "${PN}-rtl-license"
229RDEPENDS_${PN}-rtl8192su = "${PN}-rtl-license"
230
231# For ti-connectivity
164LICENSE_${PN}-wl12xx = "Firmware-ti-connectivity" 232LICENSE_${PN}-wl12xx = "Firmware-ti-connectivity"
233LICENSE_${PN}-wl18xx = "Firmware-ti-connectivity"
234
235FILES_${PN}-ti-connectivity-license = "/lib/firmware/LICENCE.ti-connectivity"
165FILES_${PN}-wl12xx = " \ 236FILES_${PN}-wl12xx = " \
166 /lib/firmware/wl12* \ 237 /lib/firmware/wl12* \
167 /lib/firmware/TI* \ 238 /lib/firmware/TI* \
168 /lib/firmware/ti-connectivity \ 239 /lib/firmware/ti-connectivity \
169" 240"
170
171LICENSE_${PN}-wl18xx = "Firmware-ti-connectivity"
172FILES_${PN}-wl18xx = " \ 241FILES_${PN}-wl18xx = " \
173 /lib/firmware/wl18* \ 242 /lib/firmware/wl18* \
174 /lib/firmware/TI* \ 243 /lib/firmware/TI* \
175 /lib/firmware/ti-connectivity \ 244 /lib/firmware/ti-connectivity \
176" 245"
177 246
247RDEPENDS_${PN}-wl12xx = "${PN}-ti-connectivity-license"
248RDEPENDS_${PN}-wl18xx = "${PN}-ti-connectivity-license"
249
250# For vt6656
178LICENSE_${PN}-vt6656 = "Firmware-via_vt6656" 251LICENSE_${PN}-vt6656 = "Firmware-via_vt6656"
252
253FILES_${PN}-vt6656-license = "/lib/firmware/LICENCE.via_vt6656"
179FILES_${PN}-vt6656 = " \ 254FILES_${PN}-vt6656 = " \
180 /lib/firmware/vntwusb.fw \ 255 /lib/firmware/vntwusb.fw \
181" 256"
182 257
258RDEPENDS_${PN}-vt6656 = "${PN}-vt6656-license"
259
260# For broadcom
261#
183# WARNING: The ALTERNATIVE_* variables are not using ${PN} because of 262# WARNING: The ALTERNATIVE_* variables are not using ${PN} because of
184# a bug in bitbake; when this is fixed and bitbake learns how to proper 263# a bug in bitbake; when this is fixed and bitbake learns how to proper
185# pass variable flags with expansion we can rework this patch. 264# pass variable flags with expansion we can rework this patch.
186 265
187ALTERNATIVE_LINK_NAME[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac-sdio.bin" 266LICENSE_${PN}-bcm4329 = "Firmware-broadcom_bcm43xx"
267LICENSE_${PN}-bcm4330 = "Firmware-broadcom_bcm43xx"
268LICENSE_${PN}-bcm4334 = "Firmware-broadcom_bcm43xx"
188 269
189FILES_${PN}-broadcom-license = " \ 270FILES_${PN}-broadcom-license = " \
190 /lib/firmware/LICENCE.broadcom_bcm43xx \ 271 /lib/firmware/LICENCE.broadcom_bcm43xx \
191" 272"
192
193LICENSE_${PN}-bcm4329 = "Firmware-bcm4329"
194FILES_${PN}-bcm4329 = " \ 273FILES_${PN}-bcm4329 = " \
195 /lib/firmware/brcm/brcmfmac4329-sdio.bin \ 274 /lib/firmware/brcm/brcmfmac4329-sdio.bin \
196" 275"
197RDEPENDS_${PN}-bcm4329 += "${PN}-broadcom-license"
198ALTERNATIVE_linux-firmware-bcm4329 = "brcmfmac-sdio.bin"
199ALTERNATIVE_TARGET_linux-firmware-bcm4329[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4329-sdio.bin"
200
201LICENSE_${PN}-bcm4330 = "Firmware-bcm4330"
202FILES_${PN}-bcm4330 = " \ 276FILES_${PN}-bcm4330 = " \
203 /lib/firmware/brcm/brcmfmac4330-sdio.bin \ 277 /lib/firmware/brcm/brcmfmac4330-sdio.bin \
204" 278"
205RDEPENDS_${PN}-bcm4330 += "${PN}-broadcom-license"
206ALTERNATIVE_linux-firmware-bcm4330 = "brcmfmac-sdio.bin"
207ALTERNATIVE_TARGET_linux-firmware-bcm4330[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4330-sdio.bin"
208
209LICENSE_${PN}-bcm4334 = "Firmware-bcm4334"
210FILES_${PN}-bcm4334 = " \ 279FILES_${PN}-bcm4334 = " \
211 /lib/firmware/brcm/brcmfmac4334-sdio.bin \ 280 /lib/firmware/brcm/brcmfmac4334-sdio.bin \
212" 281"
213RDEPENDS_${PN}-bcm4334 += "${PN}-broadcom-license" 282
283ALTERNATIVE_LINK_NAME[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac-sdio.bin"
284
214ALTERNATIVE_linux-firmware-bcm4334 = "brcmfmac-sdio.bin" 285ALTERNATIVE_linux-firmware-bcm4334 = "brcmfmac-sdio.bin"
215ALTERNATIVE_TARGET_linux-firmware-bcm4334[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4334-sdio.bin" 286ALTERNATIVE_TARGET_linux-firmware-bcm4334[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4334-sdio.bin"
287ALTERNATIVE_linux-firmware-bcm4329 = "brcmfmac-sdio.bin"
288ALTERNATIVE_TARGET_linux-firmware-bcm4329[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4329-sdio.bin"
289ALTERNATIVE_linux-firmware-bcm4330 = "brcmfmac-sdio.bin"
290ALTERNATIVE_TARGET_linux-firmware-bcm4330[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4330-sdio.bin"
216 291
217RDEPENDS_${PN}-iwlwifi-135-6 = "${PN}-iwlwifi-license" 292RDEPENDS_${PN}-bcm4329 += "${PN}-broadcom-license"
218RDEPENDS_${PN}-iwlwifi-3160-7 = "${PN}-iwlwifi-license" 293RDEPENDS_${PN}-bcm4330 += "${PN}-broadcom-license"
219RDEPENDS_${PN}-iwlwifi-3160-8 = "${PN}-iwlwifi-license" 294RDEPENDS_${PN}-bcm4334 += "${PN}-broadcom-license"
220RDEPENDS_${PN}-iwlwifi-3160-9 = "${PN}-iwlwifi-license" 295
221RDEPENDS_${PN}-iwlwifi-6000-4 = "${PN}-iwlwifi-license" 296# For iwlwifi
222RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license" 297LICENSE_${PN}-iwlwifi-135-6 = "Firmware-iwlwifi_firmware"
223RDEPENDS_${PN}-iwlwifi-6000g2a-6 = "${PN}-iwlwifi-license" 298LICENSE_${PN}-iwlwifi-3160-7 = "Firmware-iwlwifi_firmware"
224RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license" 299LICENSE_${PN}-iwlwifi-3160-8 = "Firmware-iwlwifi_firmware"
225RDEPENDS_${PN}-iwlwifi-6000g2b-6 = "${PN}-iwlwifi-license" 300LICENSE_${PN}-iwlwifi-3160-9 = "Firmware-iwlwifi_firmware"
226RDEPENDS_${PN}-iwlwifi-6050-4 = "${PN}-iwlwifi-license" 301LICENSE_${PN}-iwlwifi-6000-4 = "Firmware-iwlwifi_firmware"
227RDEPENDS_${PN}-iwlwifi-6050-5 = "${PN}-iwlwifi-license" 302LICENSE_${PN}-iwlwifi-6000g2a-5 = "Firmware-iwlwifi_firmware"
228RDEPENDS_${PN}-iwlwifi-7260-7 = "${PN}-iwlwifi-license" 303LICENSE_${PN}-iwlwifi-6000g2a-6 = "Firmware-iwlwifi_firmware"
229RDEPENDS_${PN}-iwlwifi-7260-8 = "${PN}-iwlwifi-license" 304LICENSE_${PN}-iwlwifi-6000g2a-5 = "Firmware-iwlwifi_firmware"
230RDEPENDS_${PN}-iwlwifi-7260-9 = "${PN}-iwlwifi-license" 305LICENSE_${PN}-iwlwifi-6000g2b-6 = "Firmware-iwlwifi_firmware"
231RDEPENDS_${PN}-iwlwifi-7265-8 = "${PN}-iwlwifi-license" 306LICENSE_${PN}-iwlwifi-6050-4 = "Firmware-iwlwifi_firmware"
232RDEPENDS_${PN}-iwlwifi-7265-9 = "${PN}-iwlwifi-license" 307LICENSE_${PN}-iwlwifi-6050-5 = "Firmware-iwlwifi_firmware"
308LICENSE_${PN}-iwlwifi-7260-7 = "Firmware-iwlwifi_firmware"
309LICENSE_${PN}-iwlwifi-7260-8 = "Firmware-iwlwifi_firmware"
310LICENSE_${PN}-iwlwifi-7260-9 = "Firmware-iwlwifi_firmware"
311LICENSE_${PN}-iwlwifi-7265-8 = "Firmware-iwlwifi_firmware"
312LICENSE_${PN}-iwlwifi-7265-9 = "Firmware-iwlwifi_firmware"
233 313
234FILES_${PN}-iwlwifi-license = "/lib/firmware/LICENCE.iwlwifi_firmware" 314FILES_${PN}-iwlwifi-license = "/lib/firmware/LICENCE.iwlwifi_firmware"
235FILES_${PN}-iwlwifi-135-6 = "/lib/firmware/iwlwifi-135-6.ucode" 315FILES_${PN}-iwlwifi-135-6 = "/lib/firmware/iwlwifi-135-6.ucode"
@@ -249,7 +329,57 @@ FILES_${PN}-iwlwifi-7260-9 = "/lib/firmware/iwlwifi-7260-9.ucode"
249FILES_${PN}-iwlwifi-7265-8 = "/lib/firmware/iwlwifi-7265-8.ucode" 329FILES_${PN}-iwlwifi-7265-8 = "/lib/firmware/iwlwifi-7265-8.ucode"
250FILES_${PN}-iwlwifi-7265-9 = "/lib/firmware/iwlwifi-7265-9.ucode" 330FILES_${PN}-iwlwifi-7265-9 = "/lib/firmware/iwlwifi-7265-9.ucode"
251 331
332RDEPENDS_${PN}-iwlwifi-135-6 = "${PN}-iwlwifi-license"
333RDEPENDS_${PN}-iwlwifi-3160-7 = "${PN}-iwlwifi-license"
334RDEPENDS_${PN}-iwlwifi-3160-8 = "${PN}-iwlwifi-license"
335RDEPENDS_${PN}-iwlwifi-3160-9 = "${PN}-iwlwifi-license"
336RDEPENDS_${PN}-iwlwifi-6000-4 = "${PN}-iwlwifi-license"
337RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license"
338RDEPENDS_${PN}-iwlwifi-6000g2a-6 = "${PN}-iwlwifi-license"
339RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license"
340RDEPENDS_${PN}-iwlwifi-6000g2b-6 = "${PN}-iwlwifi-license"
341RDEPENDS_${PN}-iwlwifi-6050-4 = "${PN}-iwlwifi-license"
342RDEPENDS_${PN}-iwlwifi-6050-5 = "${PN}-iwlwifi-license"
343RDEPENDS_${PN}-iwlwifi-7260-7 = "${PN}-iwlwifi-license"
344RDEPENDS_${PN}-iwlwifi-7260-8 = "${PN}-iwlwifi-license"
345RDEPENDS_${PN}-iwlwifi-7260-9 = "${PN}-iwlwifi-license"
346RDEPENDS_${PN}-iwlwifi-7265-8 = "${PN}-iwlwifi-license"
347RDEPENDS_${PN}-iwlwifi-7265-9 = "${PN}-iwlwifi-license"
348
349# For other firmwares
350# Maybe split out to separate packages when needed.
351LICENSE_${PN} = "\
352 Firmware-Abilis \
353 & Firmware-agere \
354 & Firmware-amd-ucode \
355 & Firmware-ca0132 \
356 & Firmware-chelsio_firmware \
357 & Firmware-cw1200 \
358 & Firmware-dib0700 \
359 & Firmware-ene_firmware \
360 & Firmware-fw_sst_0f28 \
361 & Firmware-go7007 \
362 & Firmware-i2400m \
363 & Firmware-ibt_firmware \
364 & Firmware-it913x \
365 & Firmware-mwl8335 \
366 & Firmware-myri10ge_firmware \
367 & Firmware-OLPC \
368 & Firmware-phanfw \
369 & Firmware-qat_dh895xcc_firmware \
370 & Firmware-qla2xxx \
371 & Firmware-r8a779x_usb3 \
372 & Firmware-ralink_a_mediatek_company_firmware \
373 & Firmware-tda7706-firmware \
374 & Firmware-ueagle-atm4-firmware \
375 & Firmware-wl1251 \
376 & Firmware-xc4000 \
377 & Firmware-xc5000 \
378 & Firmware-xc5000c \
379"
380FILES_${PN}-license += "/lib/firmware/LICEN*"
252FILES_${PN} += "/lib/firmware/*" 381FILES_${PN} += "/lib/firmware/*"
382RDEPENDS_${PN} += "${PN}-license"
253 383
254# Make linux-firmware depend on all of the split-out packages. 384# Make linux-firmware depend on all of the split-out packages.
255python populate_packages_prepend () { 385python populate_packages_prepend () {