summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-24 15:27:03 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-25 17:44:58 +0100
commit23a86b2735f49ca619f0864e8d385e2a738ec29a (patch)
treeba6ce47453bdab505ebf390380a0d8dfdd287d78
parentb0892c933204a2ea9e89447f5ebf0ac37a8747dc (diff)
downloadast2050-yocto-poky-23a86b2735f49ca619f0864e8d385e2a738ec29a.zip
ast2050-yocto-poky-23a86b2735f49ca619f0864e8d385e2a738ec29a.tar.gz
linux-firmware: Package some iwlwifi firmware separately
Taken from meta-intel, might as well merge this into the core recipe. (From OE-Core rev: bb3201b9c21b29604eb06b03e935d53210a7b762) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_git.bb11
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
index 780cca8..f586321 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
@@ -53,10 +53,12 @@ do_install() {
( cd ${D}/lib/firmware ; ln -sf ti-connectivity/* . )
}
+
PACKAGES =+ "${PN}-ralink ${PN}-sd8686 ${PN}-wl12xx ${PN}-vt6656 \
${PN}-rtl-license ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su \
${PN}-broadcom-license ${PN}-bcm4329 ${PN}-bcm4330 ${PN}-bcm4334 \
- ${PN}-atheros-license ${PN}-ar9170 ${PN}-ar3k ${PN}-ath6k ${PN}-ath9k"
+ ${PN}-atheros-license ${PN}-ar9170 ${PN}-ar3k ${PN}-ath6k ${PN}-ath9k \
+ ${PN}-iwlwifi-licence ${PN}-iwlwifi-6000g2a-5 ${PN}-iwlwifi-6000g2b-6"
FILES_${PN}-atheros-license = "/lib/firmware/LICENCE.atheros_firmware"
@@ -168,6 +170,13 @@ RDEPENDS_${PN}-bcm4334 += "${PN}-broadcom-license"
ALTERNATIVE_linux-firmware-bcm4334 = "brcmfmac-sdio.bin"
ALTERNATIVE_TARGET_linux-firmware-bcm4334[brcmfmac-sdio.bin] = "/lib/firmware/brcm/brcmfmac4334.bin"
+RDEPENDS_${PN}-iwlwifi-6000g2a-5 = "${PN}-iwlwifi-licence"
+RDEPENDS_${PN}-iwlwifi-6000g2b-6 = "${PN}-iwlwifi-licence"
+
+FILES_${PN}-iwlwifi-licence = "/lib/firmware/LICENCE.iwlwifi_firmware"
+FILES_${PN}-iwlwifi-6000g2a-5 = "/lib/firmware/iwlwifi-6000g2a-5.ucode"
+FILES_${PN}-iwlwifi-6000g2b-6 = "/lib/firmware/iwlwifi-6000g2b-6.ucode"
+
FILES_${PN} += "/lib/firmware/*"
# Make linux-firmware depend on all of the split-out packages.
OpenPOWER on IntegriCloud