[oe-commits] Koen Kooi : grub git: workaround debugedit problems

git at git.openembedded.org git at git.openembedded.org
Sat Apr 19 15:29:36 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: e67f373227ea35c906a9c8cb3bb33c8672d512d7
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e67f373227ea35c906a9c8cb3bb33c8672d512d7

Author: Koen Kooi <koen.kooi at linaro.org>
Date:   Mon Apr 14 10:03:37 2014 +0200

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.

Signed-off-by: Koen Kooi <koen.kooi at linaro.org>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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 9b5d9bb..114cf77 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"
 



More information about the Openembedded-commits mailing list