diff options
| author | Ross Burton <ross.burton@intel.com> | 2017-11-30 13:15:24 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-10 22:45:19 +0000 |
| commit | 741394e472bc8af8901c97574400d2a39644ab3a (patch) | |
| tree | 72b14ff7a5357026b90ef17cda85163262daef78 | |
| parent | 567ec7aa6b6a89d3e5a01cc621b0cd9903cc4668 (diff) | |
| download | poky-741394e472bc8af8901c97574400d2a39644ab3a.tar.gz | |
gperf: don't use aclocal.m4/acinclude.m4 dance
gperf doesn't use aclocal so don't call aclocal.
(From OE-Core rev: e080880a82df7f9402a76f20b74e0f43b87f5b71)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-extended/gperf/gperf_3.1.bb | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/meta/recipes-extended/gperf/gperf_3.1.bb b/meta/recipes-extended/gperf/gperf_3.1.bb index c680ee183c..f61b2a329a 100644 --- a/meta/recipes-extended/gperf/gperf_3.1.bb +++ b/meta/recipes-extended/gperf/gperf_3.1.bb | |||
| @@ -11,14 +11,8 @@ SRC_URI[sha256sum] = "588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cd | |||
| 11 | 11 | ||
| 12 | inherit autotools | 12 | inherit autotools |
| 13 | 13 | ||
| 14 | # autoreconf couldn't find acinclude.m4 when stepping into subdirectory. Instead of | 14 | # The nested configures don't find the parent aclocal.m4 out of the box, so tell |
| 15 | # duplicating acinclude.m4 in every subdirectory, use absolute include path to aclocal | 15 | # it where to look explicitly (mirroring the behaviour of upstream's Makefile.devel). |
| 16 | EXTRA_AUTORECONF += " -I ${S}" | 16 | EXTRA_AUTORECONF += " -I ${S} --exclude=aclocal" |
| 17 | |||
| 18 | do_configure_prepend() { | ||
| 19 | if [ ! -e ${S}/acinclude.m4 ]; then | ||
| 20 | cat ${S}/aclocal.m4 > ${S}/acinclude.m4 | ||
| 21 | fi | ||
| 22 | } | ||
| 23 | 17 | ||
| 24 | BBCLASSEXTEND = "native" | 18 | BBCLASSEXTEND = "native" |
