[OE-core] [PATCH] grub git: workaround debugedit problems for 64 bit targets

Koen Kooi koen.kooi at linaro.org
Thu Jan 16 09:27:12 UTC 2014


On 01/15/2014 12:22 PM, Otavio Salvador wrote:
>
>
>
> On Wed, Jan 15, 2014 at 8:15 AM, Koen Kooi <koen.kooi at linaro.org
> <mailto:koen.kooi at linaro.org>> wrote:
>
>     I've limited it to 64bit targets, but to be honest debug splitting
>     doesn't make sense for grub since it won't run in your rootfs and
>     attaching gdb is pretty much impossible.
>
>     Signed-off-by: Koen Kooi <koen.kooi at linaro.org
>     <mailto:koen.kooi at linaro.org>>
>
>
> I'd prefer to remove the debug systems than skip the split. What others
> think?

I'm not sure what you mean by that, do you mean using 
INHIBIT_PACKAGE_STRIP or something else?

regards,

Koen

>
>     ---
>       meta/recipes-bsp/grub/grub_git.bb <http://grub_git.bb> | 5 +++++
>       1 file changed, 5 insertions(+)
>
>     diff --git a/meta/recipes-bsp/grub/grub_git.bb <http://grub_git.bb>
>     b/meta/recipes-bsp/grub/grub_git.bb <http://grub_git.bb>
>     index 1796e7f..bc79cfa 100644
>     --- a/meta/recipes-bsp/grub/grub_git.bb <http://grub_git.bb>
>     +++ b/meta/recipes-bsp/grub/grub_git.bb <http://grub_git.bb>
>     @@ -51,8 +51,13 @@ do_configure_prepend() {
>       do_install_append () {
>           install -d ${D}${sysconfdir}/grub.d
>           install -m 0755 ${WORKDIR}/40_custom
>     ${D}${sysconfdir}/grub.d/40_custom
>     +
>       }
>
>
> Please remove this.
>
>     +# debugedit chokes on 64 bit platforms
>     +INHIBIT_PACKAGE_DEBUG_SPLIT_aarch64 = "1"
>     +INHIBIT_PACKAGE_DEBUG_SPLIT_x86-64 = "1"
>     +
>       RDEPENDS_${PN} = "diffutils freetype"
>       FILES_${PN}-dbg += "${libdir}/${BPN}/*/.debug"
>
>     --
>     1.8.4.2
>
>     _______________________________________________
>     Openembedded-core mailing list
>     Openembedded-core at lists.openembedded.org
>     <mailto:Openembedded-core at lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
>
>
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



-- 
Koen Kooi
Builds and Baselines | Release Manager
Linaro.org | Open source software for ARM SoCs



More information about the Openembedded-core mailing list