summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2013-01-29 13:31:26 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-01 15:54:03 +0000
commit0516e9a31a39fe3ffaf73540f95f48ab92eaf3f1 (patch)
treeec377208b5cde7882715428abc0a12887c1ce41f /meta/recipes-devtools
parent385854d1b95161c7be952ce31e74d499a5079dfc (diff)
downloadpoky-0516e9a31a39fe3ffaf73540f95f48ab92eaf3f1.tar.gz
Flex: use proper m4 binary on target
flex tries to execute: /data/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/m4 As workaround you can: mkdir -p /data/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/ ln -s /usr/bin/m4 /data/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/ So this is a bug how OE builds flex. flex tries to execute: /data/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/m4 As workaround you can: mkdir -p /data/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/ ln -s /usr/bin/m4 /data/oe/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/ So this is a bug how OE builds flex. https://bugs.launchpad.net/linaro-aarch64/+bug/1106865 (From OE-Core rev: 215bcc780d9bc4a7d96d1c706db80abe4ef659dd) (From OE-Core rev: 7bdb617f2f0e246feb4dc32931fdb87258fd1207) Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/flex/flex.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-devtools/flex/flex.inc b/meta/recipes-devtools/flex/flex.inc
index 472813be90..517db1626a 100644
--- a/meta/recipes-devtools/flex/flex.inc
+++ b/meta/recipes-devtools/flex/flex.inc
@@ -10,6 +10,9 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/flex/flex-${PV}.tar.bz2 "
10 10
11inherit autotools gettext 11inherit autotools gettext
12 12
13do_install_append_class-native() { 13M4 = "${bindir}/m4"
14 create_wrapper ${D}/${bindir}/flex M4=${STAGING_BINDIR_NATIVE}/m4 14M4_class-native = "${STAGING_BINDIR_NATIVE}/m4"
15
16do_install_append() {
17 create_wrapper ${D}/${bindir}/flex M4=${M4}
15} 18}