Patchwork [1/1] linux-firmware: split out ralink drivers

login
register
mail settings
Submitter Anders Darander
Date Dec. 13, 2012, 9:35 a.m.
Message ID <51e7cbbca760b9fc61a57857fd5c370fad1a46ff.1355391318.git.anders@chargestorm.se>
Download mbox | patch
Permalink /patch/40887/
State Accepted
Commit 732d7ba613835c1e2bd5e03f3f8dd0179cd47648
Headers show

Comments

Anders Darander - Dec. 13, 2012, 9:35 a.m.
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>
---
 meta/recipes-kernel/linux-firmware/linux-firmware_git.bb |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
index f4eb4cf..98a2d07 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 = " \