diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2024-11-07 22:11:26 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-11-19 13:50:55 -0800 |
| commit | 9805695b99f82ec1c7c4e60188a70c4e3e30e5d3 (patch) | |
| tree | 28eb8b455c9ca34fc176cf4538abe8ab80ac90e8 | |
| parent | 45cd8411d1ccb9c9f37f1a5d270318e9a2fe2f4f (diff) | |
| download | meta-openembedded-9805695b99f82ec1c7c4e60188a70c4e3e30e5d3.tar.gz | |
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>
| -rw-r--r-- | meta-oe/recipes-devtools/autoconf-2.13/autoconf-2.13-native_2.13.bb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/meta-oe/recipes-devtools/autoconf-2.13/autoconf-2.13-native_2.13.bb b/meta-oe/recipes-devtools/autoconf-2.13/autoconf-2.13-native_2.13.bb index f928ed965c..6b4c55ed4a 100644 --- a/meta-oe/recipes-devtools/autoconf-2.13/autoconf-2.13-native_2.13.bb +++ b/meta-oe/recipes-devtools/autoconf-2.13/autoconf-2.13-native_2.13.bb | |||
| @@ -24,8 +24,11 @@ DEPENDS += "m4-native gnu-config-native" | |||
| 24 | RDEPENDS:${PN} = "m4-native gnu-config-native" | 24 | RDEPENDS:${PN} = "m4-native gnu-config-native" |
| 25 | 25 | ||
| 26 | PERL = "${USRBINPATH}/perl" | 26 | PERL = "${USRBINPATH}/perl" |
| 27 | PERL:class-native = "/usr/bin/env perl" | ||
| 27 | 28 | ||
| 28 | CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'" | 29 | CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}' \ |
| 30 | ac_cv_path_M4=m4 \ | ||
| 31 | " | ||
| 29 | 32 | ||
| 30 | CONFIGUREOPTS = " \ | 33 | CONFIGUREOPTS = " \ |
| 31 | --build=${BUILD_SYS} \ | 34 | --build=${BUILD_SYS} \ |
| @@ -48,10 +51,8 @@ CONFIGUREOPTS = " \ | |||
| 48 | --disable-silent-rules \ | 51 | --disable-silent-rules \ |
| 49 | " | 52 | " |
| 50 | 53 | ||
| 51 | EXTRA_OECONF += "ac_cv_path_M4=m4 ac_cv_prog_TEST_EMACS=no" | ||
| 52 | |||
| 53 | do_configure() { | 54 | do_configure() { |
| 54 | ./configure ${CONFIGUREOPTS} | 55 | ${CACHED_CONFIGUREVARS} ./configure ${CONFIGUREOPTS} |
| 55 | } | 56 | } |
| 56 | 57 | ||
| 57 | do_install() { | 58 | do_install() { |
