mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
autoconf-2.13-native: fix interpreter on shebang line for autoscan
Pass CACHED_CONFIGUREVARS to configure to fix the following error: ERROR: autoconf-2.13-native-2.13-r0 do_populate_sysroot: QA Issue: : /work/x86_64-linux/autoconf-2.13-native/2.13/sysroot-destdir/work/x86_64-linux/autoconf-2.13-native/2.13/recipe-sysroot-native/usr/bin/autoscan213 maximum shebang size exceeded, the maximum size is 128. [shebang-size] Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -24,8 +24,11 @@ DEPENDS += "m4-native gnu-config-native"
|
||||
RDEPENDS:${PN} = "m4-native gnu-config-native"
|
||||
|
||||
PERL = "${USRBINPATH}/perl"
|
||||
PERL:class-native = "/usr/bin/env perl"
|
||||
|
||||
CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'"
|
||||
CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}' \
|
||||
ac_cv_path_M4=m4 \
|
||||
"
|
||||
|
||||
CONFIGUREOPTS = " \
|
||||
--build=${BUILD_SYS} \
|
||||
@@ -48,10 +51,8 @@ CONFIGUREOPTS = " \
|
||||
--disable-silent-rules \
|
||||
"
|
||||
|
||||
EXTRA_OECONF += "ac_cv_path_M4=m4 ac_cv_prog_TEST_EMACS=no"
|
||||
|
||||
do_configure() {
|
||||
./configure ${CONFIGUREOPTS}
|
||||
${CACHED_CONFIGUREVARS} ./configure ${CONFIGUREOPTS}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
||||
Reference in New Issue
Block a user