summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux-firmware
diff options
context:
space:
mode:
authorAndré Draszik <andre.draszik@jci.com>2018-12-03 15:30:51 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-05 12:37:02 +0000
commit491d4833f5e227ebcda6503cd97683710c3a71a8 (patch)
tree5d8e80a841787450210e0a4863b03667d4356805 /meta/recipes-kernel/linux-firmware
parent7117dda864a234ebbb789a18a9245738e18c3c36 (diff)
downloadpoky-491d4833f5e227ebcda6503cd97683710c3a71a8.tar.gz
linux-firmware: better packaging for TI wl12xx & wl18xx firmwares
Currently, the linux-firmware-wl12xx contains all wl12xx and wl18xx firmwares, except for the wl18xx compatibility symlinks for old kernels and the linux-firmware-wl18xx contains just those compatibility symlinks and nothing else. This doesn't make sense... Be more specific about what to package into each package, in particular because the existing wl12xx package is specific about symlinks already. At the same time, we split the common bits into a -wlcommon package, so that the wl18xx package doesn't need to depend on all the wl12xx firmwares, saving several MiB in the file system. (From OE-Core rev: e4423eef71c463efe7a1cdf1a426cc9619c78b8a) Signed-off-by: André Draszik <andre.draszik@jci.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.bb17
1 files changed, 10 insertions, 7 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
index 2f2e780bd1..ef8bae9f0c 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
@@ -237,7 +237,7 @@ PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \
237 ${PN}-marvell-license ${PN}-pcie8897 ${PN}-pcie8997 \ 237 ${PN}-marvell-license ${PN}-pcie8897 ${PN}-pcie8997 \
238 ${PN}-sd8686 ${PN}-sd8688 ${PN}-sd8787 ${PN}-sd8797 ${PN}-sd8801 ${PN}-sd8887 ${PN}-sd8897 \ 238 ${PN}-sd8686 ${PN}-sd8688 ${PN}-sd8787 ${PN}-sd8797 ${PN}-sd8801 ${PN}-sd8887 ${PN}-sd8897 \
239 ${PN}-usb8997 \ 239 ${PN}-usb8997 \
240 ${PN}-ti-connectivity-license ${PN}-wl12xx ${PN}-wl18xx \ 240 ${PN}-ti-connectivity-license ${PN}-wlcommon ${PN}-wl12xx ${PN}-wl18xx \
241 ${PN}-vt6656-license ${PN}-vt6656 \ 241 ${PN}-vt6656-license ${PN}-vt6656 \
242 ${PN}-rtl-license ${PN}-rtl8188 ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su ${PN}-rtl8723 ${PN}-rtl8821 \ 242 ${PN}-rtl-license ${PN}-rtl8188 ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su ${PN}-rtl8723 ${PN}-rtl8821 \
243 ${PN}-rtl8168 \ 243 ${PN}-rtl8168 \
@@ -521,24 +521,27 @@ RDEPENDS_${PN}-rtl8821 += "${PN}-rtl-license"
521RDEPENDS_${PN}-rtl8168 += "${PN}-whence-license" 521RDEPENDS_${PN}-rtl8168 += "${PN}-whence-license"
522 522
523# For ti-connectivity 523# For ti-connectivity
524LICENSE_${PN}-wlcommon = "Firmware-ti-connectivity"
524LICENSE_${PN}-wl12xx = "Firmware-ti-connectivity" 525LICENSE_${PN}-wl12xx = "Firmware-ti-connectivity"
525LICENSE_${PN}-wl18xx = "Firmware-ti-connectivity" 526LICENSE_${PN}-wl18xx = "Firmware-ti-connectivity"
526LICENSE_${PN}-ti-connectivity-license = "Firmware-ti-connectivity" 527LICENSE_${PN}-ti-connectivity-license = "Firmware-ti-connectivity"
527 528
528FILES_${PN}-ti-connectivity-license = "${nonarch_base_libdir}/firmware/LICENCE.ti-connectivity" 529FILES_${PN}-ti-connectivity-license = "${nonarch_base_libdir}/firmware/LICENCE.ti-connectivity"
530FILES_${PN}-wlcommon = " \
531 ${nonarch_base_libdir}/firmware/TI* \
532 ${nonarch_base_libdir}/firmware/ti-connectivity/TI* \
533"
529FILES_${PN}-wl12xx = " \ 534FILES_${PN}-wl12xx = " \
530 ${nonarch_base_libdir}/firmware/wl12* \ 535 ${nonarch_base_libdir}/firmware/wl12* \
531 ${nonarch_base_libdir}/firmware/TI* \ 536 ${nonarch_base_libdir}/firmware/ti-connectivity/wl12* \
532 ${nonarch_base_libdir}/firmware/ti-connectivity \
533" 537"
534FILES_${PN}-wl18xx = " \ 538FILES_${PN}-wl18xx = " \
535 ${nonarch_base_libdir}/firmware/wl18* \ 539 ${nonarch_base_libdir}/firmware/wl18* \
536 ${nonarch_base_libdir}/firmware/TI* \ 540 ${nonarch_base_libdir}/firmware/ti-connectivity/wl18* \
537 ${nonarch_base_libdir}/firmware/ti-connectivity \
538" 541"
539 542
540RDEPENDS_${PN}-wl12xx = "${PN}-ti-connectivity-license" 543RDEPENDS_${PN}-wl12xx = "${PN}-ti-connectivity-license ${PN}-wlcommon"
541RDEPENDS_${PN}-wl18xx = "${PN}-ti-connectivity-license" 544RDEPENDS_${PN}-wl18xx = "${PN}-ti-connectivity-license ${PN}-wlcommon"
542 545
543# For vt6656 546# For vt6656
544LICENSE_${PN}-vt6656 = "Firmware-via_vt6656" 547LICENSE_${PN}-vt6656 = "Firmware-via_vt6656"