From ec984f16979ae9f34f47bc8f144430c90f637674 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 14 Apr 2014 10:03:37 +0200 Subject: [PATCH] grub git: workaround debugedit problems Debugedit errors out on bare metal binaries. The first version of this patch limited it to 64 bit targets, but the problem now shows up on 32 bit targets (minnowboard) as well. (From OE-Core rev: f95c7611007ddda3fe36db90168c7d5de096f9cd) (From OE-Core rev: 98491d69c573bc113995075331cabef7f9d1a675) Signed-off-by: Koen Kooi Signed-off-by: Richard Purdie --- meta/recipes-bsp/grub/grub_git.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-bsp/grub/grub_git.bb b/meta/recipes-bsp/grub/grub_git.bb index 9b5d9bbd7d..114cf77de9 100644 --- a/meta/recipes-bsp/grub/grub_git.bb +++ b/meta/recipes-bsp/grub/grub_git.bb @@ -53,8 +53,12 @@ do_configure_prepend() { do_install_append () { install -d ${D}${sysconfdir}/grub.d install -m 0755 ${WORKDIR}/40_custom ${D}${sysconfdir}/grub.d/40_custom + } +# debugedit chokes on bare metal binaries +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" + RDEPENDS_${PN} = "diffutils freetype" FILES_${PN}-dbg += "${libdir}/${BPN}/*/.debug"