summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Darander <anders@chargestorm.se>2012-12-13 10:35:59 +0100
committerSaul Wold <sgw@linux.intel.com>2012-12-14 15:17:21 -0800
commit732d7ba613835c1e2bd5e03f3f8dd0179cd47648 (patch)
tree28128d6d34eb2d6037857bdb869a176a43c679e9
parent882bf3bc5f038d5e072df1bf3ecddd66e025e673 (diff)
downloadopenembedded-core-732d7ba613835c1e2bd5e03f3f8dd0179cd47648.tar.gz
openembedded-core-732d7ba613835c1e2bd5e03f3f8dd0179cd47648.tar.bz2
openembedded-core-732d7ba613835c1e2bd5e03f3f8dd0179cd47648.zip
linux-firmware: split out ralink drivers
To reduce disk usage on systems using the ralink driver, split out the ralink firmware to a separate package. Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_git.bb10
1 files changed, 8 insertions, 2 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
index f4eb4cf5a4..98a2d07d85 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
@@ -22,7 +22,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.radeon;md5=e56b405656593a0c97e478513051ea0e \
SRCREV = "0d6729f2b0bc6254d3628eb831bc80a36b5a17db"
PE = "1"
PV = "0.0+git${SRCPV}"
-PR = "r5"
+PR = "r6"
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git;protocol=git"
@@ -49,7 +49,13 @@ do_install() {
( cd ${D}/lib/firmware ; ln -sf ti-connectivity/* . )
}
-PACKAGES =+ "${PN}-sd8686 ${PN}-rtl8192cu linux-firmware-rtl8192ce linux-firmware-rtl8192su ${PN}-wl12xx"
+PACKAGES =+ "${PN}-ralink ${PN}-sd8686 ${PN}-rtl8192cu linux-firmware-rtl8192ce linux-firmware-rtl8192su ${PN}-wl12xx"
+
+LICENSE_${PN}-ralink = "Firmware:LICENCE.ralink_firmware.txt"
+FILES_${PN}-ralink = " \
+ /lib/firmware/rt*.bin \
+ /lib/firmware/LICENSE.ralink_firmware.txt \
+"
LICENSE_${PN}-sd8686 = "Firmware:LICENSE.libertas"
FILES_${PN}-sd8686 = " \