summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Lippautz <michael.lippautz@gmail.com>2011-06-30 18:09:11 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-30 22:47:22 (GMT)
commita875886c3c5d4cdc37f3072128dc5f28cfd701b4 (patch)
treeb90757a553184819fe3f91987f4af9ef4cb284ce
parentc66a1d17f9a7a1170e95e7cff5856ee6c6f695c2 (diff)
downloadpoky-a875886c3c5d4cdc37f3072128dc5f28cfd701b4.tar.gz
linux-firmware: Add Realtex rt8192* firmwares
This patch adds the firmware files for: * rt8192cu * rt8192ce * rt8192su [RP: Changed file modes to 0644] (From OE-Core rev: 0da0c424bcbc1a0aab5e978c1e74b9542e74add5) Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_git.bb39
1 files changed, 37 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 29f1e78..660877e 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
@@ -2,6 +2,9 @@ DESCRIPTION = "Firmware files for use with Linux kernel"
2SECTION = "kernel" 2SECTION = "kernel"
3LICENSE = "Proprietary" 3LICENSE = "Proprietary"
4LICENSE_${PN}-sd8686 = "Firmware:LICENSE.libertas" 4LICENSE_${PN}-sd8686 = "Firmware:LICENSE.libertas"
5LICENSE_${PN}-rtl8192cu = "Firmware:LICENCE.rtlwifi_firmware"
6LICENSE_${PN}-rtl8192ce = "Firmware:LICENCE.rtlwifi_firmware"
7LICENSE_${PN}-rtl8192su = "Firmware:LICENCE.rtlwifi_firmware"
5 8
6LIC_FILES_CHKSUM = "file://LICENSE.radeon_rlc;md5=4c243f7854d2884b483abda991adef43 \ 9LIC_FILES_CHKSUM = "file://LICENSE.radeon_rlc;md5=4c243f7854d2884b483abda991adef43 \
7 file://LICENSE.dib0700;md5=f7411825c8a555a1a3e5eab9ca773431 \ 10 file://LICENSE.dib0700;md5=f7411825c8a555a1a3e5eab9ca773431 \
@@ -14,12 +17,14 @@ LIC_FILES_CHKSUM = "file://LICENSE.radeon_rlc;md5=4c243f7854d2884b483abda991adef
14 file://LICENCE.i2400m;md5=14b901969e23c41881327c0d9e4b7d36 \ 17 file://LICENCE.i2400m;md5=14b901969e23c41881327c0d9e4b7d36 \
15 file://LICENCE.atheros_firmware;md5=62748c8fecfa12010fd76409db4b5459 \ 18 file://LICENCE.atheros_firmware;md5=62748c8fecfa12010fd76409db4b5459 \
16 file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \ 19 file://LICENCE.agere;md5=af0133de6b4a9b2522defd5f188afd31 \
20 file://LICENCE.rtlwifi_firmware.txt;md5=00d06cfd3eddd5a2698948ead2ad54a5 \
17 " 21 "
18 22
19PROVIDES += "linux-firmware-sd8686" 23PROVIDES += "linux-firmware-sd8686 linux-firmware-rtl8192cu linux-firmware-rtl8192ce linux-firmware-rtl8192su"
20 24
21SRCREV = "40c0f950be7040614dc45df54e25e54d00e3b73b" 25SRCREV = "40c0f950be7040614dc45df54e25e54d00e3b73b"
22PV = "0.0+git${SRCPV}" 26PV = "0.0+git${SRCPV}"
27PR = "r1"
23 28
24SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git;protocol=git" 29SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git;protocol=git"
25 30
@@ -35,12 +40,42 @@ do_install() {
35 install -m 0644 libertas/sd8686_v9.bin ${D}/lib/firmware/sd8686.bin 40 install -m 0644 libertas/sd8686_v9.bin ${D}/lib/firmware/sd8686.bin
36 install -m 0644 libertas/sd8686_v9_helper.bin ${D}/lib/firmware/sd8686_helper.bin 41 install -m 0644 libertas/sd8686_v9_helper.bin ${D}/lib/firmware/sd8686_helper.bin
37 install -m 0644 LICENCE.libertas ${D}/lib/firmware/ 42 install -m 0644 LICENCE.libertas ${D}/lib/firmware/
43 # Realtek rtl8192*
44 install -d ${D}/lib/firmware/rtlwifi/
45 install -m 0644 rtlwifi/rtl8192cufw.bin ${D}/lib/firmware/rtlwifi/rtl8192cufw.bin
46 install -m 0644 rtlwifi/rtl8192cfw.bin ${D}/lib/firmware/rtlwifi/rtl8192cfw.bin
47 install -m 0644 rtlwifi/rtl8712u.bin ${D}/lib/firmware/rtlwifi/rtl8712u.bin
48 install -m 0644 LICENCE.rtlwifi_firmware.txt ${D}/lib/firmware/rtlwifi/LICENCE.rtlwifi_firmware.txt
38} 49}
39 50
40PACKAGES = "${PN}-sd8686" 51PACKAGES = "${PN}-sd8686 ${PN}-rtl8192cu linux-firmware-rtl8192ce linux-firmware-rtl8192su"
41 52
42FILES_${PN}-sd8686 = "/lib/firmware/sd8686* /lib/firmware/LICENCE.libertas" 53FILES_${PN}-sd8686 = "/lib/firmware/sd8686* /lib/firmware/LICENCE.libertas"
43 54
44RPROVIDES_${PN}-sd8686 = "${PN}-sd8686" 55RPROVIDES_${PN}-sd8686 = "${PN}-sd8686"
45 56
57FILES_${PN}-rtl8192cu = " \
58 /lib/firmware/rtlwifi/rtl8192cufw.bin \
59 /lib/firmware/rtlwifi/LICENCE.rtlwifi_firmware.txt \
60"
61RPROVIDES_${PN}-rtl8192cu = "${PN}-rtl8192cu"
62
63FILES_${PN}-rtl8192cu = " \
64 /lib/firmware/rtlwifi/rtl8192cufw.bin \
65 /lib/firmware/rtlwifi/LICENCE.rtlwifi_firmware.txt \
66"
67RPROVIDES_${PN}-rtl8192cu = "${PN}-rtl8192cu"
68
69FILES_${PN}-rtl8192ce = " \
70 /lib/firmware/rtlwifi/rtl8192cfw.bin \
71 /lib/firmware/rtlwifi/LICENCE.rtlwifi_firmware.txt \
72"
73RPROVIDES_${PN}-rtl8192ce = "${PN}-rtl8192ce"
74
75FILES_${PN}-rtl8192su = " \
76 /lib/firmware/rtlwifi/rtl8712u.bin \
77 /lib/firmware/rtlwifi/LICENCE.rtlwifi_firmware.txt \
78"
79RPROVIDES_${PN}-rtl8192su = "${PN}-rtl8192su"
80
46PACKAGE_ARCH = "all" 81PACKAGE_ARCH = "all"