diff options
author | Amarnath Valluri <amarnath.valluri@intel.com> | 2017-01-04 13:58:24 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-16 18:05:12 +0000 |
commit | c04a5673b6de5a324e9b827b36da20ce099f91f5 (patch) | |
tree | 2b695d8b2b30ac14c61aa1974359a5d05142c835 /meta/recipes-kernel/linux-firmware | |
parent | 9c2158c0733cd4e6e44faa526d41cd07f6a00c25 (diff) | |
download | poky-c04a5673b6de5a324e9b827b36da20ce099f91f5.tar.gz |
linux-firmware: Modify firmware installation path
Install firmware files under ${base_libdir}/firmware instead of hardcoded
/lib/firmare.
(From OE-Core rev: a46a23fed9acd097ecc8ab3985d18688abe7b065)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux-firmware')
-rw-r--r-- | meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 168 |
1 files changed, 86 insertions, 82 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb index 4fedcfbc67..5942997fda 100644 --- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | |||
@@ -195,27 +195,27 @@ do_compile() { | |||
195 | } | 195 | } |
196 | 196 | ||
197 | do_install() { | 197 | do_install() { |
198 | install -d ${D}/lib/firmware/ | 198 | install -d ${D}${base_libdir}/firmware/ |
199 | cp -r * ${D}/lib/firmware/ | 199 | cp -r * ${D}${base_libdir}/firmware/ |
200 | 200 | ||
201 | # Avoid Makefile to be deployed | 201 | # Avoid Makefile to be deployed |
202 | rm ${D}/lib/firmware/Makefile | 202 | rm ${D}${base_libdir}/firmware/Makefile |
203 | 203 | ||
204 | # Remove unbuild firmware which needs cmake and bash | 204 | # Remove unbuild firmware which needs cmake and bash |
205 | rm ${D}/lib/firmware/carl9170fw -rf | 205 | rm ${D}${base_libdir}/firmware/carl9170fw -rf |
206 | 206 | ||
207 | # Remove pointless bash script | 207 | # Remove pointless bash script |
208 | rm ${D}/lib/firmware/configure | 208 | rm ${D}${base_libdir}/firmware/configure |
209 | 209 | ||
210 | # Libertas sd8686 | 210 | # Libertas sd8686 |
211 | ln -sf libertas/sd8686_v9.bin ${D}/lib/firmware/sd8686.bin | 211 | ln -sf libertas/sd8686_v9.bin ${D}${base_libdir}/firmware/sd8686.bin |
212 | ln -sf libertas/sd8686_v9_helper.bin ${D}/lib/firmware/sd8686_helper.bin | 212 | ln -sf libertas/sd8686_v9_helper.bin ${D}${base_libdir}/firmware/sd8686_helper.bin |
213 | 213 | ||
214 | # fixup wl12xx location, after 2.6.37 the kernel searches a different location for it | 214 | # fixup wl12xx location, after 2.6.37 the kernel searches a different location for it |
215 | ( cd ${D}/lib/firmware ; ln -sf ti-connectivity/* . ) | 215 | ( cd ${D}${base_libdir}/firmware ; ln -sf ti-connectivity/* . ) |
216 | 216 | ||
217 | # Copy the iwlwifi ucode | 217 | # Copy the iwlwifi ucode |
218 | cp ${WORKDIR}/iwlwifi-8000C-19.ucode ${D}/lib/firmware/ | 218 | cp ${WORKDIR}/iwlwifi-8000C-19.ucode ${D}${base_libdir}/firmware/ |
219 | } | 219 | } |
220 | 220 | ||
221 | 221 | ||
@@ -252,21 +252,21 @@ LICENSE_${PN}-ath6k = "Firmware-atheros_firmware" | |||
252 | LICENSE_${PN}-ath9k = "Firmware-atheros_firmware" | 252 | LICENSE_${PN}-ath9k = "Firmware-atheros_firmware" |
253 | LICENSE_${PN}-atheros-license = "Firmware-atheros_firmware" | 253 | LICENSE_${PN}-atheros-license = "Firmware-atheros_firmware" |
254 | 254 | ||
255 | FILES_${PN}-atheros-license = "/lib/firmware/LICENCE.atheros_firmware" | 255 | FILES_${PN}-atheros-license = "${base_libdir}/firmware/LICENCE.atheros_firmware" |
256 | FILES_${PN}-ar9170 = " \ | 256 | FILES_${PN}-ar9170 = " \ |
257 | /lib/firmware/ar9170*.fw \ | 257 | ${base_libdir}/firmware/ar9170*.fw \ |
258 | " | 258 | " |
259 | FILES_${PN}-carl9170 = " \ | 259 | FILES_${PN}-carl9170 = " \ |
260 | /lib/firmware/carl9170*.fw \ | 260 | ${base_libdir}/firmware/carl9170*.fw \ |
261 | " | 261 | " |
262 | FILES_${PN}-ath6k = " \ | 262 | FILES_${PN}-ath6k = " \ |
263 | /lib/firmware/ath6k \ | 263 | ${base_libdir}/firmware/ath6k \ |
264 | " | 264 | " |
265 | FILES_${PN}-ath9k = " \ | 265 | FILES_${PN}-ath9k = " \ |
266 | /lib/firmware/ar9271.fw \ | 266 | ${base_libdir}/firmware/ar9271.fw \ |
267 | /lib/firmware/ar7010*.fw \ | 267 | ${base_libdir}/firmware/ar7010*.fw \ |
268 | /lib/firmware/htc_9271.fw \ | 268 | ${base_libdir}/firmware/htc_9271.fw \ |
269 | /lib/firmware/htc_7010.fw \ | 269 | ${base_libdir}/firmware/htc_7010.fw \ |
270 | " | 270 | " |
271 | 271 | ||
272 | RDEPENDS_${PN}-ar9170 += "${PN}-atheros-license" | 272 | RDEPENDS_${PN}-ar9170 += "${PN}-atheros-license" |
@@ -280,14 +280,14 @@ LICENSE_${PN}-ar3k-license = "Firmware-qualcommAthos_ar3k" | |||
280 | LICENSE_${PN}-ath10k = "Firmware-qualcommAthos_ath10k" | 280 | LICENSE_${PN}-ath10k = "Firmware-qualcommAthos_ath10k" |
281 | LICENSE_${PN}-ath10k-license = "Firmware-qualcommAthos_ath10k" | 281 | LICENSE_${PN}-ath10k-license = "Firmware-qualcommAthos_ath10k" |
282 | 282 | ||
283 | FILES_${PN}-ar3k-license = "/lib/firmware/LICENSE.QualcommAtheros_ar3k" | 283 | FILES_${PN}-ar3k-license = "${base_libdir}/firmware/LICENSE.QualcommAtheros_ar3k" |
284 | FILES_${PN}-ar3k = " \ | 284 | FILES_${PN}-ar3k = " \ |
285 | /lib/firmware/ar3k \ | 285 | ${base_libdir}/firmware/ar3k \ |
286 | " | 286 | " |
287 | 287 | ||
288 | FILES_${PN}-ath10k-license = "/lib/firmware/LICENSE.QualcommAtheros_ath10k" | 288 | FILES_${PN}-ath10k-license = "${base_libdir}/firmware/LICENSE.QualcommAtheros_ath10k" |
289 | FILES_${PN}-ath10k = " \ | 289 | FILES_${PN}-ath10k = " \ |
290 | /lib/firmware/ath10k \ | 290 | ${base_libdir}/firmware/ath10k \ |
291 | " | 291 | " |
292 | 292 | ||
293 | RDEPENDS_${PN}-ar3k += "${PN}-ar3k-license" | 293 | RDEPENDS_${PN}-ar3k += "${PN}-ar3k-license" |
@@ -297,9 +297,9 @@ RDEPENDS_${PN}-ath10k += "${PN}-ath10k-license" | |||
297 | LICENSE_${PN}-ralink = "Firmware-ralink-firmware" | 297 | LICENSE_${PN}-ralink = "Firmware-ralink-firmware" |
298 | LICENSE_${PN}-ralink-license = "Firmware-ralink-firmware" | 298 | LICENSE_${PN}-ralink-license = "Firmware-ralink-firmware" |
299 | 299 | ||
300 | FILES_${PN}-ralink-license = "/lib/firmware/LICENCE.ralink-firmware.txt" | 300 | FILES_${PN}-ralink-license = "${base_libdir}/firmware/LICENCE.ralink-firmware.txt" |
301 | FILES_${PN}-ralink = " \ | 301 | FILES_${PN}-ralink = " \ |
302 | /lib/firmware/rt*.bin \ | 302 | ${base_libdir}/firmware/rt*.bin \ |
303 | " | 303 | " |
304 | 304 | ||
305 | RDEPENDS_${PN}-ralink += "${PN}-ralink-license" | 305 | RDEPENDS_${PN}-ralink += "${PN}-ralink-license" |
@@ -308,9 +308,9 @@ RDEPENDS_${PN}-ralink += "${PN}-ralink-license" | |||
308 | LICENSE_${PN}-radeon = "Firmware-radeon" | 308 | LICENSE_${PN}-radeon = "Firmware-radeon" |
309 | LICENSE_${PN}-radeon-license = "Firmware-radeon" | 309 | LICENSE_${PN}-radeon-license = "Firmware-radeon" |
310 | 310 | ||
311 | FILES_${PN}-radeon-license = "/lib/firmware/LICENSE.radeon" | 311 | FILES_${PN}-radeon-license = "${base_libdir}/firmware/LICENSE.radeon" |
312 | FILES_${PN}-radeon = " \ | 312 | FILES_${PN}-radeon = " \ |
313 | /lib/firmware/radeon \ | 313 | ${base_libdir}/firmware/radeon \ |
314 | " | 314 | " |
315 | 315 | ||
316 | RDEPENDS_${PN}-radeon += "${PN}-radeon-license" | 316 | RDEPENDS_${PN}-radeon += "${PN}-radeon-license" |
@@ -322,20 +322,20 @@ LICENSE_${PN}-sd8787 = "Firmware-Marvell" | |||
322 | LICENSE_${PN}-sd8797 = "Firmware-Marvell" | 322 | LICENSE_${PN}-sd8797 = "Firmware-Marvell" |
323 | LICENSE_${PN}-marvell-license = "Firmware-Marvell" | 323 | LICENSE_${PN}-marvell-license = "Firmware-Marvell" |
324 | 324 | ||
325 | FILES_${PN}-marvell-license = "/lib/firmware/LICENCE.Marvell" | 325 | FILES_${PN}-marvell-license = "${base_libdir}/firmware/LICENCE.Marvell" |
326 | FILES_${PN}-sd8686 = " \ | 326 | FILES_${PN}-sd8686 = " \ |
327 | /lib/firmware/libertas/sd8686_v9* \ | 327 | ${base_libdir}/firmware/libertas/sd8686_v9* \ |
328 | /lib/firmware/sd8686* \ | 328 | ${base_libdir}/firmware/sd8686* \ |
329 | " | 329 | " |
330 | FILES_${PN}-sd8688 = " \ | 330 | FILES_${PN}-sd8688 = " \ |
331 | /lib/firmware/libertas/sd8688* \ | 331 | ${base_libdir}/firmware/libertas/sd8688* \ |
332 | /lib/firmware/mrvl/sd8688* \ | 332 | ${base_libdir}/firmware/mrvl/sd8688* \ |
333 | " | 333 | " |
334 | FILES_${PN}-sd8787 = " \ | 334 | FILES_${PN}-sd8787 = " \ |
335 | /lib/firmware/mrvl/sd8787_uapsta.bin \ | 335 | ${base_libdir}/firmware/mrvl/sd8787_uapsta.bin \ |
336 | " | 336 | " |
337 | FILES_${PN}-sd8797 = " \ | 337 | FILES_${PN}-sd8797 = " \ |
338 | /lib/firmware/mrvl/sd8797_uapsta.bin \ | 338 | ${base_libdir}/firmware/mrvl/sd8797_uapsta.bin \ |
339 | " | 339 | " |
340 | 340 | ||
341 | RDEPENDS_${PN}-sd8686 += "${PN}-marvell-license" | 341 | RDEPENDS_${PN}-sd8686 += "${PN}-marvell-license" |
@@ -353,25 +353,25 @@ LICENSE_${PN}-rtl8821 = "Firmware-rtlwifi_firmware" | |||
353 | LICENSE_${PN}-rtl-license = "Firmware-rtlwifi_firmware" | 353 | LICENSE_${PN}-rtl-license = "Firmware-rtlwifi_firmware" |
354 | 354 | ||
355 | FILES_${PN}-rtl-license = " \ | 355 | FILES_${PN}-rtl-license = " \ |
356 | /lib/firmware/LICENCE.rtlwifi_firmware.txt \ | 356 | ${base_libdir}/firmware/LICENCE.rtlwifi_firmware.txt \ |
357 | " | 357 | " |
358 | FILES_${PN}-rtl8188 = " \ | 358 | FILES_${PN}-rtl8188 = " \ |
359 | /lib/firmware/rtlwifi/rtl8188*.bin \ | 359 | ${base_libdir}/firmware/rtlwifi/rtl8188*.bin \ |
360 | " | 360 | " |
361 | FILES_${PN}-rtl8192cu = " \ | 361 | FILES_${PN}-rtl8192cu = " \ |
362 | /lib/firmware/rtlwifi/rtl8192cufw*.bin \ | 362 | ${base_libdir}/firmware/rtlwifi/rtl8192cufw*.bin \ |
363 | " | 363 | " |
364 | FILES_${PN}-rtl8192ce = " \ | 364 | FILES_${PN}-rtl8192ce = " \ |
365 | /lib/firmware/rtlwifi/rtl8192cfw*.bin \ | 365 | ${base_libdir}/firmware/rtlwifi/rtl8192cfw*.bin \ |
366 | " | 366 | " |
367 | FILES_${PN}-rtl8192su = " \ | 367 | FILES_${PN}-rtl8192su = " \ |
368 | /lib/firmware/rtlwifi/rtl8712u.bin \ | 368 | ${base_libdir}/firmware/rtlwifi/rtl8712u.bin \ |
369 | " | 369 | " |
370 | FILES_${PN}-rtl8723 = " \ | 370 | FILES_${PN}-rtl8723 = " \ |
371 | /lib/firmware/rtlwifi/rtl8723*.bin \ | 371 | ${base_libdir}/firmware/rtlwifi/rtl8723*.bin \ |
372 | " | 372 | " |
373 | FILES_${PN}-rtl8821 = " \ | 373 | FILES_${PN}-rtl8821 = " \ |
374 | /lib/firmware/rtlwifi/rtl8821*.bin \ | 374 | ${base_libdir}/firmware/rtlwifi/rtl8821*.bin \ |
375 | " | 375 | " |
376 | 376 | ||
377 | RDEPENDS_${PN}-rtl8188 += "${PN}-rtl-license" | 377 | RDEPENDS_${PN}-rtl8188 += "${PN}-rtl-license" |
@@ -386,16 +386,16 @@ LICENSE_${PN}-wl12xx = "Firmware-ti-connectivity" | |||
386 | LICENSE_${PN}-wl18xx = "Firmware-ti-connectivity" | 386 | LICENSE_${PN}-wl18xx = "Firmware-ti-connectivity" |
387 | LICENSE_${PN}-ti-connectivity-license = "Firmware-ti-connectivity" | 387 | LICENSE_${PN}-ti-connectivity-license = "Firmware-ti-connectivity" |
388 | 388 | ||
389 | FILES_${PN}-ti-connectivity-license = "/lib/firmware/LICENCE.ti-connectivity" | 389 | FILES_${PN}-ti-connectivity-license = "${base_libdir}/firmware/LICENCE.ti-connectivity" |
390 | FILES_${PN}-wl12xx = " \ | 390 | FILES_${PN}-wl12xx = " \ |
391 | /lib/firmware/wl12* \ | 391 | ${base_libdir}/firmware/wl12* \ |
392 | /lib/firmware/TI* \ | 392 | ${base_libdir}/firmware/TI* \ |
393 | /lib/firmware/ti-connectivity \ | 393 | ${base_libdir}/firmware/ti-connectivity \ |
394 | " | 394 | " |
395 | FILES_${PN}-wl18xx = " \ | 395 | FILES_${PN}-wl18xx = " \ |
396 | /lib/firmware/wl18* \ | 396 | ${base_libdir}/firmware/wl18* \ |
397 | /lib/firmware/TI* \ | 397 | ${base_libdir}/firmware/TI* \ |
398 | /lib/firmware/ti-connectivity \ | 398 | ${base_libdir}/firmware/ti-connectivity \ |
399 | " | 399 | " |
400 | 400 | ||
401 | RDEPENDS_${PN}-wl12xx = "${PN}-ti-connectivity-license" | 401 | RDEPENDS_${PN}-wl12xx = "${PN}-ti-connectivity-license" |
@@ -405,14 +405,18 @@ RDEPENDS_${PN}-wl18xx = "${PN}-ti-connectivity-license" | |||
405 | LICENSE_${PN}-vt6656 = "Firmware-via_vt6656" | 405 | LICENSE_${PN}-vt6656 = "Firmware-via_vt6656" |
406 | LICENSE_${PN}-vt6656-license = "Firmware-via_vt6656" | 406 | LICENSE_${PN}-vt6656-license = "Firmware-via_vt6656" |
407 | 407 | ||
408 | FILES_${PN}-vt6656-license = "/lib/firmware/LICENCE.via_vt6656" | 408 | FILES_${PN}-vt6656-license = "${base_libdir}/firmware/LICENCE.via_vt6656" |
409 | FILES_${PN}-vt6656 = " \ | 409 | FILES_${PN}-vt6656 = " \ |
410 | /lib/firmware/vntwusb.fw \ | 410 | ${base_libdir}/firmware/vntwusb.fw \ |
411 | " | 411 | " |
412 | 412 | ||
413 | RDEPENDS_${PN}-vt6656 = "${PN}-vt6656-license" | 413 | RDEPENDS_${PN}-vt6656 = "${PN}-vt6656-license" |
414 | 414 | ||
415 | # For broadcom | 415 | # For broadcom |
416 | # | ||
417 | # WARNING: The ALTERNATIVE_* variables are not using ${PN} because of | ||
418 | # a bug in bitbake; when this is fixed and bitbake learns how to proper | ||
419 | # pass variable flags with expansion we can rework this patch. | ||
416 | 420 | ||
417 | LICENSE_${PN}-bcm4329 = "Firmware-broadcom_bcm43xx" | 421 | LICENSE_${PN}-bcm4329 = "Firmware-broadcom_bcm43xx" |
418 | LICENSE_${PN}-bcm4330 = "Firmware-broadcom_bcm43xx" | 422 | LICENSE_${PN}-bcm4330 = "Firmware-broadcom_bcm43xx" |
@@ -424,28 +428,28 @@ LICENSE_${PN}-bcm4354 = "Firmware-broadcom_bcm43xx" | |||
424 | LICENSE_${PN}-broadcom-license = "Firmware-broadcom_bcm43xx" | 428 | LICENSE_${PN}-broadcom-license = "Firmware-broadcom_bcm43xx" |
425 | 429 | ||
426 | FILES_${PN}-broadcom-license = " \ | 430 | FILES_${PN}-broadcom-license = " \ |
427 | /lib/firmware/LICENCE.broadcom_bcm43xx \ | 431 | ${base_libdir}/firmware/LICENCE.broadcom_bcm43xx \ |
428 | " | 432 | " |
429 | FILES_${PN}-bcm4329 = " \ | 433 | FILES_${PN}-bcm4329 = " \ |
430 | /lib/firmware/brcm/brcmfmac4329-sdio.bin \ | 434 | ${base_libdir}/firmware/brcm/brcmfmac4329-sdio.bin \ |
431 | " | 435 | " |
432 | FILES_${PN}-bcm4330 = " \ | 436 | FILES_${PN}-bcm4330 = " \ |
433 | /lib/firmware/brcm/brcmfmac4330-sdio.bin \ | 437 | ${base_libdir}/firmware/brcm/brcmfmac4330-sdio.bin \ |
434 | " | 438 | " |
435 | FILES_${PN}-bcm4334 = " \ | 439 | FILES_${PN}-bcm4334 = " \ |
436 | /lib/firmware/brcm/brcmfmac4334-sdio.bin \ | 440 | ${base_libdir}/firmware/brcm/brcmfmac4334-sdio.bin \ |
437 | " | 441 | " |
438 | FILES_${PN}-bcm43340 = " \ | 442 | FILES_${PN}-bcm43340 = " \ |
439 | /lib/firmware/brcm/brcmfmac43340-sdio.bin \ | 443 | ${base_libdir}/firmware/brcm/brcmfmac43340-sdio.bin \ |
440 | " | 444 | " |
441 | FILES_${PN}-bcm4339 = " \ | 445 | FILES_${PN}-bcm4339 = " \ |
442 | /lib/firmware/brcm/brcmfmac4339-sdio.bin \ | 446 | ${base_libdir}/firmware/brcm/brcmfmac4339-sdio.bin \ |
443 | " | 447 | " |
444 | FILES_${PN}-bcm43430 = " \ | 448 | FILES_${PN}-bcm43430 = " \ |
445 | /lib/firmware/brcm/brcmfmac43430-sdio.bin \ | 449 | ${base_libdir}/firmware/brcm/brcmfmac43430-sdio.bin \ |
446 | " | 450 | " |
447 | FILES_${PN}-bcm4354 = " \ | 451 | FILES_${PN}-bcm4354 = " \ |
448 | /lib/firmware/brcm/brcmfmac4354-sdio.bin \ | 452 | ${base_libdir}/firmware/brcm/brcmfmac4354-sdio.bin \ |
449 | " | 453 | " |
450 | 454 | ||
451 | RDEPENDS_${PN}-bcm4329 += "${PN}-broadcom-license" | 455 | RDEPENDS_${PN}-bcm4329 += "${PN}-broadcom-license" |
@@ -464,8 +468,8 @@ RDEPENDS_${PN}-bcm4354 += "${PN}-broadcom-license" | |||
464 | LICENSE_${PN}-bnx2-mips = "WHENCE" | 468 | LICENSE_${PN}-bnx2-mips = "WHENCE" |
465 | LICENSE_${PN}-whence-license = "WHENCE" | 469 | LICENSE_${PN}-whence-license = "WHENCE" |
466 | 470 | ||
467 | FILES_${PN}-bnx2-mips = "/lib/firmware/bnx2/bnx2-mips-09-6.2.1b.fw" | 471 | FILES_${PN}-bnx2-mips = "${base_libdir}/firmware/bnx2/bnx2-mips-09-6.2.1b.fw" |
468 | FILES_${PN}-whence-license = "/lib/firmware/WHENCE" | 472 | FILES_${PN}-whence-license = "${base_libdir}/firmware/WHENCE" |
469 | 473 | ||
470 | RDEPENDS_${PN}-bnx2-mips += "${PN}-whence-license" | 474 | RDEPENDS_${PN}-bnx2-mips += "${PN}-whence-license" |
471 | 475 | ||
@@ -491,24 +495,24 @@ LICENSE_${PN}-iwlwifi-misc = "Firmware-iwlwifi_firmware" | |||
491 | LICENSE_${PN}-iwlwifi-license = "Firmware-iwlwifi_firmware" | 495 | LICENSE_${PN}-iwlwifi-license = "Firmware-iwlwifi_firmware" |
492 | 496 | ||
493 | 497 | ||
494 | FILES_${PN}-iwlwifi-license = "/lib/firmware/LICENCE.iwlwifi_firmware" | 498 | FILES_${PN}-iwlwifi-license = "${base_libdir}/firmware/LICENCE.iwlwifi_firmware" |
495 | FILES_${PN}-iwlwifi-135-6 = "/lib/firmware/iwlwifi-135-6.ucode" | 499 | FILES_${PN}-iwlwifi-135-6 = "${base_libdir}/firmware/iwlwifi-135-6.ucode" |
496 | FILES_${PN}-iwlwifi-3160-7 = "/lib/firmware/iwlwifi-3160-7.ucode" | 500 | FILES_${PN}-iwlwifi-3160-7 = "${base_libdir}/firmware/iwlwifi-3160-7.ucode" |
497 | FILES_${PN}-iwlwifi-3160-8 = "/lib/firmware/iwlwifi-3160-8.ucode" | 501 | FILES_${PN}-iwlwifi-3160-8 = "${base_libdir}/firmware/iwlwifi-3160-8.ucode" |
498 | FILES_${PN}-iwlwifi-3160-9 = "/lib/firmware/iwlwifi-3160-9.ucode" | 502 | FILES_${PN}-iwlwifi-3160-9 = "${base_libdir}/firmware/iwlwifi-3160-9.ucode" |
499 | FILES_${PN}-iwlwifi-6000-4 = "/lib/firmware/iwlwifi-6000-4.ucode" | 503 | FILES_${PN}-iwlwifi-6000-4 = "${base_libdir}/firmware/iwlwifi-6000-4.ucode" |
500 | FILES_${PN}-iwlwifi-6000g2a-5 = "/lib/firmware/iwlwifi-6000g2a-5.ucode" | 504 | FILES_${PN}-iwlwifi-6000g2a-5 = "${base_libdir}/firmware/iwlwifi-6000g2a-5.ucode" |
501 | FILES_${PN}-iwlwifi-6000g2a-6 = "/lib/firmware/iwlwifi-6000g2a-6.ucode" | 505 | FILES_${PN}-iwlwifi-6000g2a-6 = "${base_libdir}/firmware/iwlwifi-6000g2a-6.ucode" |
502 | FILES_${PN}-iwlwifi-6000g2b-5 = "/lib/firmware/iwlwifi-6000g2b-5.ucode" | 506 | FILES_${PN}-iwlwifi-6000g2b-5 = "${base_libdir}/firmware/iwlwifi-6000g2b-5.ucode" |
503 | FILES_${PN}-iwlwifi-6000g2b-6 = "/lib/firmware/iwlwifi-6000g2b-6.ucode" | 507 | FILES_${PN}-iwlwifi-6000g2b-6 = "${base_libdir}/firmware/iwlwifi-6000g2b-6.ucode" |
504 | FILES_${PN}-iwlwifi-6050-4 = "/lib/firmware/iwlwifi-6050-4.ucode" | 508 | FILES_${PN}-iwlwifi-6050-4 = "${base_libdir}/firmware/iwlwifi-6050-4.ucode" |
505 | FILES_${PN}-iwlwifi-6050-5 = "/lib/firmware/iwlwifi-6050-5.ucode" | 509 | FILES_${PN}-iwlwifi-6050-5 = "${base_libdir}/firmware/iwlwifi-6050-5.ucode" |
506 | FILES_${PN}-iwlwifi-7260 = "/lib/firmware/iwlwifi-7260-*.ucode" | 510 | FILES_${PN}-iwlwifi-7260 = "${base_libdir}/firmware/iwlwifi-7260-*.ucode" |
507 | FILES_${PN}-iwlwifi-7265 = "/lib/firmware/iwlwifi-7265-*.ucode" | 511 | FILES_${PN}-iwlwifi-7265 = "${base_libdir}/firmware/iwlwifi-7265-*.ucode" |
508 | FILES_${PN}-iwlwifi-7265d = "/lib/firmware/iwlwifi-7265D-*.ucode" | 512 | FILES_${PN}-iwlwifi-7265d = "${base_libdir}/firmware/iwlwifi-7265D-*.ucode" |
509 | FILES_${PN}-iwlwifi-8000c = "/lib/firmware/iwlwifi-8000C-*.ucode" | 513 | FILES_${PN}-iwlwifi-8000c = "${base_libdir}/firmware/iwlwifi-8000C-*.ucode" |
510 | FILES_${PN}-iwlwifi-8265 = "/lib/firmware/iwlwifi-8265-*.ucode" | 514 | FILES_${PN}-iwlwifi-8265 = "${base_libdir}/firmware/iwlwifi-8265-*.ucode" |
511 | FILES_${PN}-iwlwifi-misc = "/lib/firmware/iwlwifi-*.ucode" | 515 | FILES_${PN}-iwlwifi-misc = "${base_libdir}/firmware/iwlwifi-*.ucode" |
512 | 516 | ||
513 | RDEPENDS_${PN}-iwlwifi-135-6 = "${PN}-iwlwifi-license" | 517 | RDEPENDS_${PN}-iwlwifi-135-6 = "${PN}-iwlwifi-license" |
514 | RDEPENDS_${PN}-iwlwifi-3160-7 = "${PN}-iwlwifi-license" | 518 | RDEPENDS_${PN}-iwlwifi-3160-7 = "${PN}-iwlwifi-license" |
@@ -547,14 +551,14 @@ RCONFLICTS_${PN}-iwlwifi-7260 = "${PN}-iwlwifi-7260-7 ${PN}-iwlwifi-7260-8 ${PN} | |||
547 | 551 | ||
548 | LICENSE_${PN}-i915 = "Firmware-i915" | 552 | LICENSE_${PN}-i915 = "Firmware-i915" |
549 | LICENSE_${PN}-i915-license = "Firmware-i915" | 553 | LICENSE_${PN}-i915-license = "Firmware-i915" |
550 | FILES_${PN}-i915-license = "/lib/firmware/LICENSE.i915" | 554 | FILES_${PN}-i915-license = "${base_libdir}/firmware/LICENSE.i915" |
551 | FILES_${PN}-i915 = "/lib/firmware/i915" | 555 | FILES_${PN}-i915 = "${base_libdir}/firmware/i915" |
552 | RDEPENDS_${PN}-i915 = "${PN}-i915-license" | 556 | RDEPENDS_${PN}-i915 = "${PN}-i915-license" |
553 | 557 | ||
554 | FILES_${PN}-adsp-sst-license = "/lib/firmware/LICENCE.adsp_sst" | 558 | FILES_${PN}-adsp-sst-license = "${base_libdir}/firmware/LICENCE.adsp_sst" |
555 | LICENSE_${PN}-adsp-sst = "Firmware-adsp_sst" | 559 | LICENSE_${PN}-adsp-sst = "Firmware-adsp_sst" |
556 | LICENSE_${PN}-adsp-sst-license = "Firmware-adsp_sst" | 560 | LICENSE_${PN}-adsp-sst-license = "Firmware-adsp_sst" |
557 | FILES_${PN}-adsp-sst = "/lib/firmware/intel/dsp_fw*" | 561 | FILES_${PN}-adsp-sst = "${base_libdir}/firmware/intel/dsp_fw*" |
558 | RDEPENDS_${PN}-adsp-sst = "${PN}-adsp-sst-license" | 562 | RDEPENDS_${PN}-adsp-sst = "${PN}-adsp-sst-license" |
559 | 563 | ||
560 | # For other firmwares | 564 | # For other firmwares |
@@ -606,8 +610,8 @@ LICENSE_${PN} = "\ | |||
606 | & WHENCE \ | 610 | & WHENCE \ |
607 | " | 611 | " |
608 | 612 | ||
609 | FILES_${PN}-license += "/lib/firmware/LICEN*" | 613 | FILES_${PN}-license += "${base_libdir}/firmware/LICEN*" |
610 | FILES_${PN} += "/lib/firmware/*" | 614 | FILES_${PN} += "${base_libdir}/firmware/*" |
611 | RDEPENDS_${PN} += "${PN}-license" | 615 | RDEPENDS_${PN} += "${PN}-license" |
612 | RDEPENDS_${PN} += "${PN}-whence-license" | 616 | RDEPENDS_${PN} += "${PN}-whence-license" |
613 | 617 | ||