mirror of
git://git.yoctoproject.org/poky
synced 2026-04-02 02:49:11 +00:00
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>
This commit is contained in:
parent
b0beb3c912
commit
9b27bb00d5
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user