diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2017-12-06 19:51:57 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-18 18:00:23 +0000 |
commit | 302bab86d65831d7b03325e7002a992eb266318e (patch) | |
tree | 030762425130dd31696c8764c1687d3ba8014b25 | |
parent | cf7f4705e65a877cb4b3ac8872369c1b2e81a7be (diff) | |
download | openembedded-core-302bab86d65831d7b03325e7002a992eb266318e.tar.gz openembedded-core-302bab86d65831d7b03325e7002a992eb266318e.tar.bz2 openembedded-core-302bab86d65831d7b03325e7002a992eb266318e.zip |
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.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | meta/recipes-devtools/autoconf/autoconf.inc | 4 |
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" CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'" do_configure() { + # manually install a newer config.guess/.sub + install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/build-aux + install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/build-aux + oe_runconf } |