summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/bison
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-18 00:03:03 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-18 13:18:21 +0000
commitdbd413864c31a0267d6db26b59d510b237ed92b2 (patch)
tree14d59d0e04cf5a936376e5275d3474be4d20518c /meta/recipes-devtools/bison
parentabaa1786e63f0b861d06895974d41d4d23faff1a (diff)
downloadpoky-dbd413864c31a0267d6db26b59d510b237ed92b2.tar.gz
bison: Use PATH to locate m4
We can specify no path to m4 at configure time and thus avoiding having a wrapper for that particular problem. (From OE-Core rev: 4e8b9f2521d6581db8d63e742000a8c742729f25) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/bison')
-rw-r--r--meta/recipes-devtools/bison/bison_2.7.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/bison/bison_2.7.bb b/meta/recipes-devtools/bison/bison_2.7.bb
index ee2effb158..373651e4de 100644
--- a/meta/recipes-devtools/bison/bison_2.7.bb
+++ b/meta/recipes-devtools/bison/bison_2.7.bb
@@ -16,6 +16,9 @@ BASE_SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.gz \
16 file://dont-depend-on-help2man.patch \ 16 file://dont-depend-on-help2man.patch \
17 " 17 "
18 18
19# No point in hardcoding path to m4, just use PATH
20EXTRA_OECONF += "M4=m4"
21
19SRC_URI = "${BASE_SRC_URI} \ 22SRC_URI = "${BASE_SRC_URI} \
20 file://fix_cross_manpage_building.patch \ 23 file://fix_cross_manpage_building.patch \
21 " 24 "
@@ -32,8 +35,6 @@ acpaths = "-I ${S}/m4"
32 35
33do_install_append_class-native() { 36do_install_append_class-native() {
34 create_wrapper ${D}/${bindir}/bison \ 37 create_wrapper ${D}/${bindir}/bison \
35 M4=${STAGING_BINDIR_NATIVE}/m4 \
36 BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison 38 BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison
37} 39}
38#bison-native encodes the staging M4 path
39BBCLASSEXTEND = "native nativesdk" 40BBCLASSEXTEND = "native nativesdk"