]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
gcc-cross-initial: make dependency on gnu-config-native and autoconf-native explicit
authorYuanjie Huang <yuanjie.huang@windriver.com>
Fri, 27 Nov 2015 09:31:20 +0000 (17:31 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Dec 2015 23:42:52 +0000 (23:42 +0000)
commite0162c1f8c7dee3d9ebaba39a6a555a638dfc787
treeace1c8005c9275e385b2c7df7fced6f27eb59a3e
parentfccb12818a8bacdb59101ce5142af4caa4b2640a
gcc-cross-initial: make dependency on gnu-config-native and autoconf-native explicit

When a project is configure to use sstate cache and has the host tool sysroot
cleaned, gcc-cross-initial may fail to be configured due to lack of
gnu-configize tool.

gcc-cross-initial recipe has autotools dependency inhibited, and the same flag
variable also excludes the gnu-config-native.  Though there is an indirect
dependency through libmpc-native, it's not safe with sstate cache being used.

Moreover, gnu-config-native requires a perl package from autoconf-native to
run, otherwise it will fail with "Can't locate Autom4te/ChannelDefs.pm in @INC"
message.

This patch makes both dependencies explicit for gcc-cross-initial's
configuration.

(From OE-Core rev: 18a913e54b40a1654d0967290088be5e7fcdd6f6)

Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-cross-initial.inc