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>
This commit is contained in:
Richard Purdie 2013-03-18 00:03:03 +00:00
parent abaa1786e6
commit dbd413864c
1 changed files with 3 additions and 2 deletions

View File

@ -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"