]> code.ossystems Code Review - openembedded-core.git/commitdiff
grub git: workaround debugedit problems
authorKoen Kooi <koen.kooi@linaro.org>
Mon, 14 Apr 2014 08:03:37 +0000 (10:03 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Apr 2014 10:43:09 +0000 (11:43 +0100)
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@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/grub/grub_git.bb

index 9b5d9bbd7d1bb42c6641978ec5b1235008ba84ca..114cf77de945b2b1d049532e950aaee93674b4f3 100644 (file)
@@ -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"