mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 00:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
fccb12818a
commit
e0162c1f8c
@@ -5,6 +5,9 @@ PACKAGES = ""
|
||||
INHIBIT_AUTOTOOLS_DEPS = "1"
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
|
||||
# We still need gnu-config-native
|
||||
DEPENDS_prepend = "gnu-config-native autoconf-native "
|
||||
|
||||
PN = "gcc-cross-initial-${TARGET_ARCH}"
|
||||
|
||||
CROSS_TARGET_SYS_DIR_append = ".${PN}"
|
||||
|
||||
Reference in New Issue
Block a user