generic-poky/meta
Serhii Popovych 4aa21211a3 automake: Adjust shebang lines to remove interpreter path hardcode
If build host perl (and other tools) is old and we use some kind
of toolchain to provide recent perl/python/etc to the OE build
we still locked to use build host perl due to hardcoded shebang
lines in automake scripts.

Behaviour was observed with Enterprise Linux 6 and devtoolset
toolchain from SCL (Software Collections) used to provide recent
version of perl (not provided with default buildtools-tarball).

Pass /usr/bin/env perl in ac_cv_path_PERL configuration variables
for class-native and class-nativesdk. Use patch to automake to replace
-w option in shebang line with modern way to enable warnings on perl
(i.e. "use warnings").

Also add nativesdk-autoconf to RDEPENDS to bring runtime dependencies
inline with other targets.

Note that ac_cv_path_PERL must be valid perl interpreter path
since configure will check perl version and Flock implementation.
It is not possible currently to use nativeperl from native
sysroot because automake does not DEPENDS on perl-native (and
doing so fails due to circular dependencies). Only possible
solution is to overwrite shebangs with nativeperl somewhere at
do_install() and update RDEPENDS for class-native. Or add perl
symlinks to nativeperl in sysroot.

For now it seems good to use perl found by /usr/bin/env from
automake-native.

Cc: XE-Linux <xe-linux-external@cisco.com>
(From OE-Core rev: 3b7111b30dbd9a4cdd141b594164da18c15ae970)

Signed-off-by: Serhii Popovych <spopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-01 23:28:20 +01:00
..
classes kernel.bbclass: introduce INITRAMFS_IMAGE_NAME 2017-04-01 08:14:58 +01:00
conf sanity.conf: Increase minimum version requirement to 1.33.3 2017-03-31 10:10:29 +01:00
files fs-perms.txt: Two cleanup tweaks for consistency. 2017-03-17 16:53:05 +00:00
lib selftest/pkgdata: replace the glibc recipe allowing execution on non-poky distros 2017-04-01 08:14:58 +01:00
recipes-bsp u-boot-fw-utils: reuse the same override HOSTCC patch as u-boot-mkimage 2017-03-17 16:53:06 +00:00
recipes-connectivity openssl: add a "openssl10" PROVIDES 2017-04-01 08:14:57 +01:00
recipes-core ncurses_6.0: Improve reproducibility 2017-04-01 23:28:19 +01:00
recipes-devtools automake: Adjust shebang lines to remove interpreter path hardcode 2017-04-01 23:28:20 +01:00
recipes-extended lsb: Create ${base_prefix}/lib64 correctly when needed 2017-04-01 08:14:58 +01:00
recipes-gnome nativesdk-packagegroup-sdk-host: replace smartpm with dnf 2017-03-14 14:42:17 +00:00
recipes-graphics mesa: Add Etnaviv and i.MX Gallium backend PACKAGECONFIG options 2017-03-27 20:22:50 +01:00
recipes-kernel linux-libc-headers: Remove reference to cross-linkage 2017-03-31 10:10:29 +01:00
recipes-lsb4 libpng12: Use rm instead of unlink 2017-03-10 14:50:11 +00:00
recipes-multimedia libvorbis: Contain gcc specific compiler flags using configure option 2017-03-24 23:43:32 +00:00
recipes-rt meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
recipes-sato webkitgtk: Fix build on aarch64 2017-03-17 16:53:05 +00:00
recipes-support boost: various cleanups 2017-03-27 08:15:06 +01:00
site siteinfo.bbclass: Add mipsisa{32, 64}r6{el, } support 2016-10-07 16:43:57 +01:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt qt4: remove recipes and classes 2016-01-07 13:40:14 +00:00