Skip to contentSkip to conversation

Split out ralink firmware

PATCH New Anders Darander 1 participant 2 messages Dec 13, 2012

lore
Share & tools
lore
#0 lore raw

cover Split out ralink firmware

This splits out the ralink drivers in a linux-firmware-ralink package.

It's done in the same style as the other splits previously done.

The following changes since commit b8b1b39961332c99d62ee466f7859bd62a0f806f:

bitbake.conf/utils: Drop some OVERRIDES from FILESPATH (2012-12-11 15:58:27 +0000)

are available in the git repository at:

git://github.com/darander/oe-core linux-firmware
https://github.com/darander/oe-core/tree/linux-firmware

Anders Darander (1):
linux-firmware: split out ralink drivers

 meta/recipes-kernel/linux-firmware/linux-firmware_git.bb |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 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.

---
 meta/recipes-kernel/linux-firmware/linux-firmware_git.bb |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
meta/recipes-kernel/linux-firmware/linux-firmware_git.bb +8 -2
index f4eb4cf..98a2d07 100644
@@ -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 = " \
Signature · 1 line
1.7.10.4