diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2015-04-13 10:17:21 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-15 14:19:45 +0100 |
commit | 51a16b4ec2dd24a1357f4834a7ed3b154d2c73d0 (patch) | |
tree | f0ae5b7d7df3ae8d65c5792b45e049dba9e3c8c5 /meta/recipes-kernel | |
parent | 7a1fb7a19d046ff6ebbc07ef83e5258a95fe74b1 (diff) | |
download | poky-51a16b4ec2dd24a1357f4834a7ed3b154d2c73d0.tar.gz |
linux-firmware: fix the mess of licenses
Each firmware has their own license, it was a kind of a mess to
leave the license as Proprietary and we got a lot warnings like:
WARNING: The license listed Firmware-atheros_firmware was not in the
licenses collected for linux-firmware
To fix this and make it more clear:
- Fix some incorrect license names.
- Add all license files into common-licenses in previous commit.
- Add all licenses and their md5 values in alphabetical order.
- Add pn-*-license to split up per firmware package and pn-license for others.
- Re-order the codes for each split-out firmware as:
LICENSE_*, FILES_*, RDEPENDS_*
[YOCTO #7539]
(From OE-Core rev: 1ee083da0730408fffdbbf5f29abc299c0e61be9)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 308 |
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 @@ | |||
1 | SUMMARY = "Firmware files for use with Linux kernel" | 1 | SUMMARY = "Firmware files for use with Linux kernel" |
2 | SECTION = "kernel" | 2 | SECTION = "kernel" |
3 | # Notes: | 3 | |
4 | # This is kind of a mess. Each bit of firmware has their own license. Some free | 4 | LICENSE = "\ |
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 \ | |
8 | LICENSE = "Proprietary" | 8 | & Firmware-atheros_firmware \ |
9 | 9 | & Firmware-broadcom_bcm43xx \ | |
10 | LIC_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 | |||
43 | LIC_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 | ||
27 | SRCREV = "0e5f63771d0df6d7859f7c4100a74d737c62ac88" | 82 | SRCREV = "0e5f63771d0df6d7859f7c4100a74d737c62ac88" |
28 | PE = "1" | 83 | PE = "1" |
@@ -62,174 +117,199 @@ do_install() { | |||
62 | } | 117 | } |
63 | 118 | ||
64 | 119 | ||
65 | PACKAGES =+ "${PN}-ralink \ | 120 | PACKAGES =+ "${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 | ||
80 | FILES_${PN}-atheros-license = "/lib/firmware/LICENCE.atheros_firmware" | 140 | # For atheros |
141 | LICENSE_${PN}-ar9170 = "Firmware-atheros_firmware" | ||
142 | LICENSE_${PN}-ar3k = "Firmware-atheros_firmware" | ||
143 | LICENSE_${PN}-ath6k = "Firmware-atheros_firmware" | ||
144 | LICENSE_${PN}-ath9k = "Firmware-atheros_firmware" | ||
81 | 145 | ||
82 | LICENSE_${PN}-9170 = "Firmware-atheros_firmware" | 146 | FILES_${PN}-atheros-license = "/lib/firmware/LICENCE.atheros_firmware" |
83 | FILES_${PN}-ar9170 = " \ | 147 | FILES_${PN}-ar9170 = " \ |
84 | /lib/firmware/ar9170*.fw \ | 148 | /lib/firmware/ar9170*.fw \ |
85 | " | 149 | " |
86 | RDEPENDS_${PN}-ar9170 += "${PN}-atheros-license" | ||
87 | |||
88 | LICENSE_${PN}-ar3k = "Firmware-atheros_firmware" | ||
89 | FILES_${PN}-ar3k = " \ | 150 | FILES_${PN}-ar3k = " \ |
90 | /lib/firmware/ar3k \ | 151 | /lib/firmware/ar3k \ |
91 | " | 152 | " |
92 | RDEPENDS_${PN}-ath6k += "${PN}-atheros-license" | ||
93 | |||
94 | LICENSE_${PN}-ath6k = "Firmware-atheros_firmware" | ||
95 | FILES_${PN}-ath6k = " \ | 153 | FILES_${PN}-ath6k = " \ |
96 | /lib/firmware/ath6k \ | 154 | /lib/firmware/ath6k \ |
97 | " | 155 | " |
98 | RDEPENDS_${PN}-ath6k += "${PN}-atheros-license" | ||
99 | |||
100 | LICENSE_${PN}-ath9k = "Firmware-atheros_firmware" | ||
101 | FILES_${PN}-ath9k = " \ | 156 | FILES_${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 | |||
163 | RDEPENDS_${PN}-ar9170 += "${PN}-atheros-license" | ||
164 | RDEPENDS_${PN}-ar3k += "${PN}-atheros-license" | ||
165 | RDEPENDS_${PN}-ath6k += "${PN}-atheros-license" | ||
107 | RDEPENDS_${PN}-ath9k += "${PN}-atheros-license" | 166 | RDEPENDS_${PN}-ath9k += "${PN}-atheros-license" |
108 | 167 | ||
109 | LICENSE_${PN}-ralink = "Firmware-ralink" | 168 | # For ralink |
169 | LICENSE_${PN}-ralink = "Firmware-ralink-firmware" | ||
170 | |||
171 | FILES_${PN}-ralink-license = "/lib/firmware/LICENCE.ralink-firmware.txt" | ||
110 | FILES_${PN}-ralink = " \ | 172 | FILES_${PN}-ralink = " \ |
111 | /lib/firmware/rt*.bin \ | 173 | /lib/firmware/rt*.bin \ |
112 | /lib/firmware/LICENCE.ralink-firmware.txt \ | ||
113 | " | 174 | " |
114 | 175 | ||
176 | RDEPENDS_${PN}-ralink += "${PN}-ralink-license" | ||
177 | |||
178 | # For radeon | ||
115 | LICENSE_${PN}-radeon = "Firmware-radeon" | 179 | LICENSE_${PN}-radeon = "Firmware-radeon" |
180 | |||
181 | FILES_${PN}-radeon-license = "/lib/firmware/LICENSE.radeon" | ||
116 | FILES_${PN}-radeon = " \ | 182 | FILES_${PN}-radeon = " \ |
117 | /lib/firmware/radeon \ | 183 | /lib/firmware/radeon \ |
118 | /lib/firmware/LICENCE.radeon \ | ||
119 | " | 184 | " |
120 | 185 | ||
121 | FILES_${PN}-marvell-license = "/lib/firmware/LICENCE.Marvell" | 186 | RDEPENDS_${PN}-radeon += "${PN}-radeon-license" |
122 | 187 | ||
188 | # For marvell | ||
123 | LICENSE_${PN}-sd8686 = "Firmware-Marvell" | 189 | LICENSE_${PN}-sd8686 = "Firmware-Marvell" |
190 | LICENSE_${PN}-sd8787 = "Firmware-Marvell" | ||
191 | LICENSE_${PN}-sd8797 = "Firmware-Marvell" | ||
192 | |||
193 | FILES_${PN}-marvell-license = "/lib/firmware/LICENCE.Marvell" | ||
124 | FILES_${PN}-sd8686 = " \ | 194 | FILES_${PN}-sd8686 = " \ |
125 | /lib/firmware/libertas/sd8686_v9* \ | 195 | /lib/firmware/libertas/sd8686_v9* \ |
126 | /lib/firmware/sd8686* \ | 196 | /lib/firmware/sd8686* \ |
127 | " | 197 | " |
128 | RDEPENDS_${PN}-sd8686 += "${PN}-marvell-license" | ||
129 | |||
130 | LICENSE_${PN}-sd8787 = "Firmware-Marvell" | ||
131 | FILES_${PN}-sd8787 = " \ | 198 | FILES_${PN}-sd8787 = " \ |
132 | /lib/firmware/mrvl/sd8787_uapsta.bin \ | 199 | /lib/firmware/mrvl/sd8787_uapsta.bin \ |
133 | " | 200 | " |
134 | RDEPENDS_${PN}-sd8787 += "${PN}-marvell-license" | ||
135 | |||
136 | LICENSE_${PN}-sd8797 = "Firmware-Marvell" | ||
137 | FILES_${PN}-sd8797 = " \ | 201 | FILES_${PN}-sd8797 = " \ |
138 | /lib/firmware/mrvl/sd8797_uapsta.bin \ | 202 | /lib/firmware/mrvl/sd8797_uapsta.bin \ |
139 | " | 203 | " |
204 | |||
205 | RDEPENDS_${PN}-sd8686 += "${PN}-marvell-license" | ||
206 | RDEPENDS_${PN}-sd8787 += "${PN}-marvell-license" | ||
140 | RDEPENDS_${PN}-sd8797 += "${PN}-marvell-license" | 207 | RDEPENDS_${PN}-sd8797 += "${PN}-marvell-license" |
141 | 208 | ||
209 | # For rtl | ||
210 | LICENSE_${PN}-rtl8192cu = "Firmware-rtlwifi_firmware" | ||
211 | LICENSE_${PN}-rtl8192ce = "Firmware-rtlwifi_firmware" | ||
212 | LICENSE_${PN}-rtl8192su = "Firmware-rtlwifi_firmware" | ||
213 | |||
142 | FILES_${PN}-rtl-license = " \ | 214 | FILES_${PN}-rtl-license = " \ |
143 | /lib/firmware/LICENCE.rtlwifi_firmware.txt \ | 215 | /lib/firmware/LICENCE.rtlwifi_firmware.txt \ |
144 | " | 216 | " |
145 | |||
146 | LICENSE_${PN}-rtl8192cu = "Firmware-rtlwifi" | ||
147 | FILES_${PN}-rtl8192cu = " \ | 217 | FILES_${PN}-rtl8192cu = " \ |
148 | /lib/firmware/rtlwifi/rtl8192cufw.bin \ | 218 | /lib/firmware/rtlwifi/rtl8192cufw.bin \ |
149 | " | 219 | " |
150 | RDEPENDS_${PN}-rtl8192cu += "${PN}-rtl-license" | ||
151 | |||
152 | LICENSE_${PN}-rtl8192ce = "Firmware-rtlwifi" | ||
153 | FILES_${PN}-rtl8192ce = " \ | 220 | FILES_${PN}-rtl8192ce = " \ |
154 | /lib/firmware/rtlwifi/rtl8192cfw.bin \ | 221 | /lib/firmware/rtlwifi/rtl8192cfw.bin \ |
155 | " | 222 | " |
156 | RDEPENDS_${PN}-rtl8192ce += "${PN}-rtl-license" | ||
157 | |||
158 | |||
159 | LICENSE_${PN}-rtl8192su = "Firmware-rtlwifi" | ||
160 | FILES_${PN}-rtl8192su = " \ | 223 | FILES_${PN}-rtl8192su = " \ |
161 | /lib/firmware/rtlwifi/rtl8712u.bin \ | 224 | /lib/firmware/rtlwifi/rtl8712u.bin \ |
162 | " | 225 | " |
163 | 226 | ||
227 | RDEPENDS_${PN}-rtl8192ce += "${PN}-rtl-license" | ||
228 | RDEPENDS_${PN}-rtl8192cu += "${PN}-rtl-license" | ||
229 | RDEPENDS_${PN}-rtl8192su = "${PN}-rtl-license" | ||
230 | |||
231 | # For ti-connectivity | ||
164 | LICENSE_${PN}-wl12xx = "Firmware-ti-connectivity" | 232 | LICENSE_${PN}-wl12xx = "Firmware-ti-connectivity" |
233 | LICENSE_${PN}-wl18xx = "Firmware-ti-connectivity" | ||
234 | |||
235 | FILES_${PN}-ti-connectivity-license = "/lib/firmware/LICENCE.ti-connectivity" | ||
165 | FILES_${PN}-wl12xx = " \ | 236 | FILES_${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 | |||
171 | LICENSE_${PN}-wl18xx = "Firmware-ti-connectivity" | ||
172 | FILES_${PN}-wl18xx = " \ | 241 | FILES_${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 | ||
247 | RDEPENDS_${PN}-wl12xx = "${PN}-ti-connectivity-license" | ||
248 | RDEPENDS_${PN}-wl18xx = "${PN}-ti-connectivity-license" | ||
249 | |||
250 | # For vt6656 | ||
178 | LICENSE_${PN}-vt6656 = "Firmware-via_vt6656" | 251 | LICENSE_${PN}-vt6656 = "Firmware-via_vt6656" |
252 | |||
253 | FILES_${PN}-vt6656-license = "/lib/firmware/LICENCE.via_vt6656" | ||
179 | FILES_${PN}-vt6656 = " \ | 254 | FILES_${PN}-vt6656 = " \ |
180 | /lib/firmware/vntwusb.fw \ | 255 | /lib/firmware/vntwusb.fw \ |
181 | " | 256 | " |
182 | 257 | ||
258 | RDEPENDS_${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 | ||
187 | ALTERNATIVE_LINK_NAME[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac-sdio.bin" | 266 | LICENSE_${PN}-bcm4329 = "Firmware-broadcom_bcm43xx" |
267 | LICENSE_${PN}-bcm4330 = "Firmware-broadcom_bcm43xx" | ||
268 | LICENSE_${PN}-bcm4334 = "Firmware-broadcom_bcm43xx" | ||
188 | 269 | ||
189 | FILES_${PN}-broadcom-license = " \ | 270 | FILES_${PN}-broadcom-license = " \ |
190 | /lib/firmware/LICENCE.broadcom_bcm43xx \ | 271 | /lib/firmware/LICENCE.broadcom_bcm43xx \ |
191 | " | 272 | " |
192 | |||
193 | LICENSE_${PN}-bcm4329 = "Firmware-bcm4329" | ||
194 | FILES_${PN}-bcm4329 = " \ | 273 | FILES_${PN}-bcm4329 = " \ |
195 | /lib/firmware/brcm/brcmfmac4329-sdio.bin \ | 274 | /lib/firmware/brcm/brcmfmac4329-sdio.bin \ |
196 | " | 275 | " |
197 | RDEPENDS_${PN}-bcm4329 += "${PN}-broadcom-license" | ||
198 | ALTERNATIVE_linux-firmware-bcm4329 = "brcmfmac-sdio.bin" | ||
199 | ALTERNATIVE_TARGET_linux-firmware-bcm4329[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4329-sdio.bin" | ||
200 | |||
201 | LICENSE_${PN}-bcm4330 = "Firmware-bcm4330" | ||
202 | FILES_${PN}-bcm4330 = " \ | 276 | FILES_${PN}-bcm4330 = " \ |
203 | /lib/firmware/brcm/brcmfmac4330-sdio.bin \ | 277 | /lib/firmware/brcm/brcmfmac4330-sdio.bin \ |
204 | " | 278 | " |
205 | RDEPENDS_${PN}-bcm4330 += "${PN}-broadcom-license" | ||
206 | ALTERNATIVE_linux-firmware-bcm4330 = "brcmfmac-sdio.bin" | ||
207 | ALTERNATIVE_TARGET_linux-firmware-bcm4330[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4330-sdio.bin" | ||
208 | |||
209 | LICENSE_${PN}-bcm4334 = "Firmware-bcm4334" | ||
210 | FILES_${PN}-bcm4334 = " \ | 279 | FILES_${PN}-bcm4334 = " \ |
211 | /lib/firmware/brcm/brcmfmac4334-sdio.bin \ | 280 | /lib/firmware/brcm/brcmfmac4334-sdio.bin \ |
212 | " | 281 | " |
213 | RDEPENDS_${PN}-bcm4334 += "${PN}-broadcom-license" | 282 | |
283 | ALTERNATIVE_LINK_NAME[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac-sdio.bin" | ||
284 | |||
214 | ALTERNATIVE_linux-firmware-bcm4334 = "brcmfmac-sdio.bin" | 285 | ALTERNATIVE_linux-firmware-bcm4334 = "brcmfmac-sdio.bin" |
215 | ALTERNATIVE_TARGET_linux-firmware-bcm4334[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4334-sdio.bin" | 286 | ALTERNATIVE_TARGET_linux-firmware-bcm4334[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4334-sdio.bin" |
287 | ALTERNATIVE_linux-firmware-bcm4329 = "brcmfmac-sdio.bin" | ||
288 | ALTERNATIVE_TARGET_linux-firmware-bcm4329[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4329-sdio.bin" | ||
289 | ALTERNATIVE_linux-firmware-bcm4330 = "brcmfmac-sdio.bin" | ||
290 | ALTERNATIVE_TARGET_linux-firmware-bcm4330[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4330-sdio.bin" | ||
216 | 291 | ||
217 | RDEPENDS_${PN}-iwlwifi-135-6 = "${PN}-iwlwifi-license" | 292 | RDEPENDS_${PN}-bcm4329 += "${PN}-broadcom-license" |
218 | RDEPENDS_${PN}-iwlwifi-3160-7 = "${PN}-iwlwifi-license" | 293 | RDEPENDS_${PN}-bcm4330 += "${PN}-broadcom-license" |
219 | RDEPENDS_${PN}-iwlwifi-3160-8 = "${PN}-iwlwifi-license" | 294 | RDEPENDS_${PN}-bcm4334 += "${PN}-broadcom-license" |
220 | RDEPENDS_${PN}-iwlwifi-3160-9 = "${PN}-iwlwifi-license" | 295 | |
221 | RDEPENDS_${PN}-iwlwifi-6000-4 = "${PN}-iwlwifi-license" | 296 | # For iwlwifi |
222 | RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license" | 297 | LICENSE_${PN}-iwlwifi-135-6 = "Firmware-iwlwifi_firmware" |
223 | RDEPENDS_${PN}-iwlwifi-6000g2a-6 = "${PN}-iwlwifi-license" | 298 | LICENSE_${PN}-iwlwifi-3160-7 = "Firmware-iwlwifi_firmware" |
224 | RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license" | 299 | LICENSE_${PN}-iwlwifi-3160-8 = "Firmware-iwlwifi_firmware" |
225 | RDEPENDS_${PN}-iwlwifi-6000g2b-6 = "${PN}-iwlwifi-license" | 300 | LICENSE_${PN}-iwlwifi-3160-9 = "Firmware-iwlwifi_firmware" |
226 | RDEPENDS_${PN}-iwlwifi-6050-4 = "${PN}-iwlwifi-license" | 301 | LICENSE_${PN}-iwlwifi-6000-4 = "Firmware-iwlwifi_firmware" |
227 | RDEPENDS_${PN}-iwlwifi-6050-5 = "${PN}-iwlwifi-license" | 302 | LICENSE_${PN}-iwlwifi-6000g2a-5 = "Firmware-iwlwifi_firmware" |
228 | RDEPENDS_${PN}-iwlwifi-7260-7 = "${PN}-iwlwifi-license" | 303 | LICENSE_${PN}-iwlwifi-6000g2a-6 = "Firmware-iwlwifi_firmware" |
229 | RDEPENDS_${PN}-iwlwifi-7260-8 = "${PN}-iwlwifi-license" | 304 | LICENSE_${PN}-iwlwifi-6000g2a-5 = "Firmware-iwlwifi_firmware" |
230 | RDEPENDS_${PN}-iwlwifi-7260-9 = "${PN}-iwlwifi-license" | 305 | LICENSE_${PN}-iwlwifi-6000g2b-6 = "Firmware-iwlwifi_firmware" |
231 | RDEPENDS_${PN}-iwlwifi-7265-8 = "${PN}-iwlwifi-license" | 306 | LICENSE_${PN}-iwlwifi-6050-4 = "Firmware-iwlwifi_firmware" |
232 | RDEPENDS_${PN}-iwlwifi-7265-9 = "${PN}-iwlwifi-license" | 307 | LICENSE_${PN}-iwlwifi-6050-5 = "Firmware-iwlwifi_firmware" |
308 | LICENSE_${PN}-iwlwifi-7260-7 = "Firmware-iwlwifi_firmware" | ||
309 | LICENSE_${PN}-iwlwifi-7260-8 = "Firmware-iwlwifi_firmware" | ||
310 | LICENSE_${PN}-iwlwifi-7260-9 = "Firmware-iwlwifi_firmware" | ||
311 | LICENSE_${PN}-iwlwifi-7265-8 = "Firmware-iwlwifi_firmware" | ||
312 | LICENSE_${PN}-iwlwifi-7265-9 = "Firmware-iwlwifi_firmware" | ||
233 | 313 | ||
234 | FILES_${PN}-iwlwifi-license = "/lib/firmware/LICENCE.iwlwifi_firmware" | 314 | FILES_${PN}-iwlwifi-license = "/lib/firmware/LICENCE.iwlwifi_firmware" |
235 | FILES_${PN}-iwlwifi-135-6 = "/lib/firmware/iwlwifi-135-6.ucode" | 315 | FILES_${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" | |||
249 | FILES_${PN}-iwlwifi-7265-8 = "/lib/firmware/iwlwifi-7265-8.ucode" | 329 | FILES_${PN}-iwlwifi-7265-8 = "/lib/firmware/iwlwifi-7265-8.ucode" |
250 | FILES_${PN}-iwlwifi-7265-9 = "/lib/firmware/iwlwifi-7265-9.ucode" | 330 | FILES_${PN}-iwlwifi-7265-9 = "/lib/firmware/iwlwifi-7265-9.ucode" |
251 | 331 | ||
332 | RDEPENDS_${PN}-iwlwifi-135-6 = "${PN}-iwlwifi-license" | ||
333 | RDEPENDS_${PN}-iwlwifi-3160-7 = "${PN}-iwlwifi-license" | ||
334 | RDEPENDS_${PN}-iwlwifi-3160-8 = "${PN}-iwlwifi-license" | ||
335 | RDEPENDS_${PN}-iwlwifi-3160-9 = "${PN}-iwlwifi-license" | ||
336 | RDEPENDS_${PN}-iwlwifi-6000-4 = "${PN}-iwlwifi-license" | ||
337 | RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license" | ||
338 | RDEPENDS_${PN}-iwlwifi-6000g2a-6 = "${PN}-iwlwifi-license" | ||
339 | RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-license" | ||
340 | RDEPENDS_${PN}-iwlwifi-6000g2b-6 = "${PN}-iwlwifi-license" | ||
341 | RDEPENDS_${PN}-iwlwifi-6050-4 = "${PN}-iwlwifi-license" | ||
342 | RDEPENDS_${PN}-iwlwifi-6050-5 = "${PN}-iwlwifi-license" | ||
343 | RDEPENDS_${PN}-iwlwifi-7260-7 = "${PN}-iwlwifi-license" | ||
344 | RDEPENDS_${PN}-iwlwifi-7260-8 = "${PN}-iwlwifi-license" | ||
345 | RDEPENDS_${PN}-iwlwifi-7260-9 = "${PN}-iwlwifi-license" | ||
346 | RDEPENDS_${PN}-iwlwifi-7265-8 = "${PN}-iwlwifi-license" | ||
347 | RDEPENDS_${PN}-iwlwifi-7265-9 = "${PN}-iwlwifi-license" | ||
348 | |||
349 | # For other firmwares | ||
350 | # Maybe split out to separate packages when needed. | ||
351 | LICENSE_${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 | " | ||
380 | FILES_${PN}-license += "/lib/firmware/LICEN*" | ||
252 | FILES_${PN} += "/lib/firmware/*" | 381 | FILES_${PN} += "/lib/firmware/*" |
382 | RDEPENDS_${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. |
255 | python populate_packages_prepend () { | 385 | python populate_packages_prepend () { |