[oe-commits] Richard Purdie : bison: Use PATH to locate m4
git at git.openembedded.org
git at git.openembedded.org
Mon Mar 18 00:07:06 UTC 2013
Module: openembedded-core.git
Branch: master-next
Commit: e6af94fc8b54fec23aabdb21f11b5bd50fb3b2e6
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e6af94fc8b54fec23aabdb21f11b5bd50fb3b2e6
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Mon Mar 18 00:03:03 2013 +0000
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.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/bison/bison_2.7.bb | 5 +++--
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 ee2effb..373651e 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 \
file://dont-depend-on-help2man.patch \
"
+# No point in hardcoding path to m4, just use PATH
+EXTRA_OECONF += "M4=m4"
+
SRC_URI = "${BASE_SRC_URI} \
file://fix_cross_manpage_building.patch \
"
@@ -32,8 +35,6 @@ acpaths = "-I ${S}/m4"
do_install_append_class-native() {
create_wrapper ${D}/${bindir}/bison \
- M4=${STAGING_BINDIR_NATIVE}/m4 \
BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison
}
-#bison-native encodes the staging M4 path
BBCLASSEXTEND = "native nativesdk"
More information about the Openembedded-commits
mailing list