* Re: [oe-commits] Richard Purdie : Revert "linux-firware: use ${base_libdir} instead of / lib for packaging"
[not found] <20120807102142.00BD510217@opal>
@ 2012-08-07 10:50 ` Martin Jansa
2012-08-07 11:53 ` Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Martin Jansa @ 2012-08-07 10:50 UTC (permalink / raw)
To: openembedded-core; +Cc: openembedded-commits
[-- Attachment #1: Type: text/plain, Size: 4323 bytes --]
On Tue, Aug 07, 2012 at 10:21:41AM +0000, git@git.openembedded.org wrote:
> Module: openembedded-core.git
> Branch: master
> Commit: 1da5966290954f4148cb39a0628b10f8f902ba18
> URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1da5966290954f4148cb39a0628b10f8f902ba18
>
> Author: Richard Purdie <richard.purdie@linuxfoundation.org>
> Date: Tue Aug 7 11:16:54 2012 +0100
>
> 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.
>
> ---
>
> .../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 5b93975..a7e4ed6 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 = "e98750f0d68d0037ce5a186f7f863a9c13bf773a"
> PE = "1"
> PV = "0.0+git${SRCPV}"
> -PR = "r3"
> +PR = "r2"
^ breaks binary feeds
>
> SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git;protocol=git"
>
> @@ -35,50 +35,50 @@ do_compile() {
> }
>
> do_install() {
> - install -d ${D}${base_libdir}/firmware/
> - cp -r * ${D}${base_libdir}/firmware/
> + install -d ${D}/lib/firmware/
> + cp -r * ${D}/lib/firmware/
>
> # Libertas sd8686
> - ln -sf libertas/sd8686_v9.bin ${D}${base_libdir}/firmware/sd8686.bin
> - ln -sf libertas/sd8686_v9_helper.bin ${D}${base_libdir}/firmware/sd8686_helper.bin
> + ln -sf libertas/sd8686_v9.bin ${D}/lib/firmware/sd8686.bin
> + ln -sf libertas/sd8686_v9_helper.bin ${D}/lib/firmware/sd8686_helper.bin
>
> # Realtek rtl8192*
> - install -m 0644 LICENCE.rtlwifi_firmware.txt ${D}${base_libdir}/firmware/rtlwifi/LICENCE.rtlwifi_firmware.txt
> + install -m 0644 LICENCE.rtlwifi_firmware.txt ${D}/lib/firmware/rtlwifi/LICENCE.rtlwifi_firmware.txt
>
> # fixup wl12xx location, after 2.6.37 the kernel searches a different location for it
> - ( cd ${D}${base_libdir}/firmware ; ln -sf ti-connectivity/* . )
> + ( cd ${D}/lib/firmware ; ln -sf ti-connectivity/* . )
> }
>
> PACKAGES =+ "${PN}-sd8686 ${PN}-rtl8192cu linux-firmware-rtl8192ce linux-firmware-rtl8192su ${PN}-wl12xx"
>
> LICENSE_${PN}-sd8686 = "Firmware:LICENSE.libertas"
> FILES_${PN}-sd8686 = " \
> - ${base_libdir}/firmware/libertas/sd8686_v9* \
> - ${base_libdir}/firmware/sd8686* \
> - ${base_libdir}/firmware/LICENCE.libertas \
> + /lib/firmware/libertas/sd8686_v9* \
> + /lib/firmware/sd8686* \
> + /lib/firmware/LICENCE.libertas \
> "
>
> LICENSE_${PN}-rtl8192cu = "Firmware:LICENCE.rtlwifi_firmware"
> FILES_${PN}-rtl8192cu = " \
> - ${base_libdir}/firmware/rtlwifi/rtl8192cufw.bin \
> - ${base_libdir}/firmware/rtlwifi/LICENCE.rtlwifi_firmware.txt \
> + /lib/firmware/rtlwifi/rtl8192cufw.bin \
> + /lib/firmware/rtlwifi/LICENCE.rtlwifi_firmware.txt \
> "
>
> LICENSE_${PN}-rtl8192ce = "Firmware:LICENCE.rtlwifi_firmware"
> FILES_${PN}-rtl8192ce = " \
> - ${base_libdir}/firmware/rtlwifi/rtl8192cfw.bin \
> + /lib/firmware/rtlwifi/rtl8192cfw.bin \
> "
>
> LICENSE_${PN}-rtl8192su = "Firmware:LICENCE.rtlwifi_firmware"
> FILES_${PN}-rtl8192su = " \
> - ${base_libdir}/firmware/rtlwifi/rtl8712u.bin \
> + /lib/firmware/rtlwifi/rtl8712u.bin \
> "
>
> FILES_${PN}-wl12xx = " \
> - ${base_libdir}/firmware/wl12* \
> - ${base_libdir}/firmware/TI* \
> - ${base_libdir}/firmware/ti-connectivity \
> + /lib/firmware/wl12* \
> + /lib/firmware/TI* \
> + /lib/firmware/ti-connectivity \
> "
>
> -FILES_${PN} += "${base_libdir}/firmware/*"
> +FILES_${PN} += "/lib/firmware/*"
>
>
>
> _______________________________________________
> Openembedded-commits mailing list
> Openembedded-commits@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [oe-commits] Richard Purdie : Revert "linux-firware: use ${base_libdir} instead of / lib for packaging"
2012-08-07 10:50 ` [oe-commits] Richard Purdie : Revert "linux-firware: use ${base_libdir} instead of / lib for packaging" Martin Jansa
@ 2012-08-07 11:53 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2012-08-07 11:53 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: openembedded-commits
On Tue, 2012-08-07 at 12:50 +0200, Martin Jansa wrote:
> On Tue, Aug 07, 2012 at 10:21:41AM +0000, git@git.openembedded.org wrote:
> > Module: openembedded-core.git
> > Branch: master
> > Commit: 1da5966290954f4148cb39a0628b10f8f902ba18
> > URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1da5966290954f4148cb39a0628b10f8f902ba18
> >
> > Author: Richard Purdie <richard.purdie@linuxfoundation.org>
> > Date: Tue Aug 7 11:16:54 2012 +0100
> >
> > 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.
> >
> > ---
> >
> > .../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 5b93975..a7e4ed6 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 = "e98750f0d68d0037ce5a186f7f863a9c13bf773a"
> > PE = "1"
> > PV = "0.0+git${SRCPV}"
> > -PR = "r3"
> > +PR = "r2"
>
> ^ breaks binary feeds
Sorry, fix pushed.
Cheers,
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-07 12:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20120807102142.00BD510217@opal>
2012-08-07 10:50 ` [oe-commits] Richard Purdie : Revert "linux-firware: use ${base_libdir} instead of / lib for packaging" Martin Jansa
2012-08-07 11:53 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox