summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen.kooi@linaro.org>2014-04-14 10:03:37 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-23 11:43:09 +0100
commitf95c7611007ddda3fe36db90168c7d5de096f9cd (patch)
treeda0fcc9f580e7dfde10c8bd0d4f9f0e5d1ff8908
parentd07f3812ec371da6f18fa1dd920cdde470bd89ad (diff)
downloadopenembedded-core-f95c7611007ddda3fe36db90168c7d5de096f9cd.tar.gz
openembedded-core-f95c7611007ddda3fe36db90168c7d5de096f9cd.tar.bz2
openembedded-core-f95c7611007ddda3fe36db90168c7d5de096f9cd.zip
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@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-bsp/grub/grub_git.bb4
1 files changed, 4 insertions, 0 deletions
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"