summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2017-12-06 19:51:57 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-18 18:03:57 +0000
commit9b27bb00d5ec0e25dfdfe581190a8ae5d9ed512f (patch)
tree3a2cccc5cd70c8e9c42a7ec866bbc5b521ad638e /meta/recipes-devtools
parentb0beb3c912a643f90719ce1fe2b020fc5eadb75f (diff)
downloadpoky-9b27bb00d5ec0e25dfdfe581190a8ae5d9ed512f.tar.gz
autoconf: Override config.guess/.sub in source tree
autoconf has not been released in a number of years. However many changes have been made to the gnu-config config.guess/.sub since 2.69, including new architectures, OS variants, etc. In order to enable these targets without creating patches for the source itself populate the gnu-config files from the sysroot as is done with autotools recipes. Whilst it is not possible for the autoconf recipe to bootstrap its configure task (using the autotools_do_configure), the files can be manually copied into the target location. (From OE-Core rev: 302bab86d65831d7b03325e7002a992eb266318e) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/autoconf/autoconf.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/autoconf/autoconf.inc b/meta/recipes-devtools/autoconf/autoconf.inc
index ea62df8fb6..df81bc6107 100644
--- a/meta/recipes-devtools/autoconf/autoconf.inc
+++ b/meta/recipes-devtools/autoconf/autoconf.inc
@@ -41,6 +41,10 @@ PERL_class-nativesdk = "/usr/bin/env perl"
41CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'" 41CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'"
42 42
43do_configure() { 43do_configure() {
44 # manually install a newer config.guess/.sub
45 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/build-aux
46 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/build-aux
47
44 oe_runconf 48 oe_runconf
45} 49}
46 50