diff options
author | Yuanjie Huang <yuanjie.huang@windriver.com> | 2015-11-27 17:31:20 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-12 23:42:52 +0000 |
commit | e0162c1f8c7dee3d9ebaba39a6a555a638dfc787 (patch) | |
tree | ace1c8005c9275e385b2c7df7fced6f27eb59a3e /meta/recipes-devtools/gcc/gcc-cross-initial.inc | |
parent | fccb12818a8bacdb59101ce5142af4caa4b2640a (diff) | |
download | poky-e0162c1f8c7dee3d9ebaba39a6a555a638dfc787.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross-initial.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-initial.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial.inc b/meta/recipes-devtools/gcc/gcc-cross-initial.inc index c0fa139a85..ae92f220a5 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-initial.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-initial.inc | |||
@@ -5,6 +5,9 @@ PACKAGES = "" | |||
5 | INHIBIT_AUTOTOOLS_DEPS = "1" | 5 | INHIBIT_AUTOTOOLS_DEPS = "1" |
6 | INHIBIT_DEFAULT_DEPS = "1" | 6 | INHIBIT_DEFAULT_DEPS = "1" |
7 | 7 | ||
8 | # We still need gnu-config-native | ||
9 | DEPENDS_prepend = "gnu-config-native autoconf-native " | ||
10 | |||
8 | PN = "gcc-cross-initial-${TARGET_ARCH}" | 11 | PN = "gcc-cross-initial-${TARGET_ARCH}" |
9 | 12 | ||
10 | CROSS_TARGET_SYS_DIR_append = ".${PN}" | 13 | CROSS_TARGET_SYS_DIR_append = ".${PN}" |