diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-07 11:16:54 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-07 11:17:36 +0100 |
commit | 8c8312c0725597157d5801f317a1742b86b93d0b (patch) | |
tree | 9b8d58ac36db1d9f8ced8f5eaa84e75f95150c23 /meta/recipes-kernel/linux-firmware | |
parent | ef9841286547806d1a732cc53b2ba6ca7df097b6 (diff) | |
download | poky-8c8312c0725597157d5801f317a1742b86b93d0b.tar.gz |
Revert "linux-firware: use ${base_libdir} instead of /lib for packaging"
This change breaks firmware loading on 64 bit platforms. This therefore
reverts commit ce2665b6ae77770d69ffbc4d45c96ce829d16738.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux-firmware')
-rw-r--r-- | meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb index 5b93975d36..a7e4ed6ce5 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 \ | |||
22 | SRCREV = "e98750f0d68d0037ce5a186f7f863a9c13bf773a" | 22 | SRCREV = "e98750f0d68d0037ce5a186f7f863a9c13bf773a" |
23 | PE = "1" | 23 | PE = "1" |
24 | PV = "0.0+git${SRCPV}" | 24 | PV = "0.0+git${SRCPV}" |
25 | PR = "r3" | 25 | PR = "r2" |
26 | 26 | ||
27 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git;protocol=git" | 27 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git;protocol=git" |
28 | 28 | ||
@@ -35,50 +35,50 @@ do_compile() { | |||
35 | } | 35 | } |
36 | 36 | ||
37 | do_install() { | 37 | do_install() { |
38 | install -d ${D}${base_libdir}/firmware/ | 38 | install -d ${D}/lib/firmware/ |
39 | cp -r * ${D}${base_libdir}/firmware/ | 39 | cp -r * ${D}/lib/firmware/ |
40 | 40 | ||
41 | # Libertas sd8686 | 41 | # Libertas sd8686 |
42 | ln -sf libertas/sd8686_v9.bin ${D}${base_libdir}/firmware/sd8686.bin | 42 | ln -sf libertas/sd8686_v9.bin ${D}/lib/firmware/sd8686.bin |
43 | ln -sf libertas/sd8686_v9_helper.bin ${D}${base_libdir}/firmware/sd8686_helper.bin | 43 | ln -sf libertas/sd8686_v9_helper.bin ${D}/lib/firmware/sd8686_helper.bin |
44 | 44 | ||
45 | # Realtek rtl8192* | 45 | # Realtek rtl8192* |
46 | install -m 0644 LICENCE.rtlwifi_firmware.txt ${D}${base_libdir}/firmware/rtlwifi/LICENCE.rtlwifi_firmware.txt | 46 | install -m 0644 LICENCE.rtlwifi_firmware.txt ${D}/lib/firmware/rtlwifi/LICENCE.rtlwifi_firmware.txt |
47 | 47 | ||
48 | # fixup wl12xx location, after 2.6.37 the kernel searches a different location for it | 48 | # fixup wl12xx location, after 2.6.37 the kernel searches a different location for it |
49 | ( cd ${D}${base_libdir}/firmware ; ln -sf ti-connectivity/* . ) | 49 | ( cd ${D}/lib/firmware ; ln -sf ti-connectivity/* . ) |
50 | } | 50 | } |
51 | 51 | ||
52 | PACKAGES =+ "${PN}-sd8686 ${PN}-rtl8192cu linux-firmware-rtl8192ce linux-firmware-rtl8192su ${PN}-wl12xx" | 52 | PACKAGES =+ "${PN}-sd8686 ${PN}-rtl8192cu linux-firmware-rtl8192ce linux-firmware-rtl8192su ${PN}-wl12xx" |
53 | 53 | ||
54 | LICENSE_${PN}-sd8686 = "Firmware:LICENSE.libertas" | 54 | LICENSE_${PN}-sd8686 = "Firmware:LICENSE.libertas" |
55 | FILES_${PN}-sd8686 = " \ | 55 | FILES_${PN}-sd8686 = " \ |
56 | ${base_libdir}/firmware/libertas/sd8686_v9* \ | 56 | /lib/firmware/libertas/sd8686_v9* \ |
57 | ${base_libdir}/firmware/sd8686* \ | 57 | /lib/firmware/sd8686* \ |
58 | ${base_libdir}/firmware/LICENCE.libertas \ | 58 | /lib/firmware/LICENCE.libertas \ |
59 | " | 59 | " |
60 | 60 | ||
61 | LICENSE_${PN}-rtl8192cu = "Firmware:LICENCE.rtlwifi_firmware" | 61 | LICENSE_${PN}-rtl8192cu = "Firmware:LICENCE.rtlwifi_firmware" |
62 | FILES_${PN}-rtl8192cu = " \ | 62 | FILES_${PN}-rtl8192cu = " \ |
63 | ${base_libdir}/firmware/rtlwifi/rtl8192cufw.bin \ | 63 | /lib/firmware/rtlwifi/rtl8192cufw.bin \ |
64 | ${base_libdir}/firmware/rtlwifi/LICENCE.rtlwifi_firmware.txt \ | 64 | /lib/firmware/rtlwifi/LICENCE.rtlwifi_firmware.txt \ |
65 | " | 65 | " |
66 | 66 | ||
67 | LICENSE_${PN}-rtl8192ce = "Firmware:LICENCE.rtlwifi_firmware" | 67 | LICENSE_${PN}-rtl8192ce = "Firmware:LICENCE.rtlwifi_firmware" |
68 | FILES_${PN}-rtl8192ce = " \ | 68 | FILES_${PN}-rtl8192ce = " \ |
69 | ${base_libdir}/firmware/rtlwifi/rtl8192cfw.bin \ | 69 | /lib/firmware/rtlwifi/rtl8192cfw.bin \ |
70 | " | 70 | " |
71 | 71 | ||
72 | LICENSE_${PN}-rtl8192su = "Firmware:LICENCE.rtlwifi_firmware" | 72 | LICENSE_${PN}-rtl8192su = "Firmware:LICENCE.rtlwifi_firmware" |
73 | FILES_${PN}-rtl8192su = " \ | 73 | FILES_${PN}-rtl8192su = " \ |
74 | ${base_libdir}/firmware/rtlwifi/rtl8712u.bin \ | 74 | /lib/firmware/rtlwifi/rtl8712u.bin \ |
75 | " | 75 | " |
76 | 76 | ||
77 | FILES_${PN}-wl12xx = " \ | 77 | FILES_${PN}-wl12xx = " \ |
78 | ${base_libdir}/firmware/wl12* \ | 78 | /lib/firmware/wl12* \ |
79 | ${base_libdir}/firmware/TI* \ | 79 | /lib/firmware/TI* \ |
80 | ${base_libdir}/firmware/ti-connectivity \ | 80 | /lib/firmware/ti-connectivity \ |
81 | " | 81 | " |
82 | 82 | ||
83 | FILES_${PN} += "${base_libdir}/firmware/*" | 83 | FILES_${PN} += "/lib/firmware/*" |
84 | 84 | ||