mirror of
https://git.yoctoproject.org/poky
synced 2026-04-22 15:32:14 +02:00
gcc-cross: Explicitly depend on linux-libc-headers
gcc-cross cannot build without linux-libc-headers but doesn't explicitly depend on it relying on the implied dependency through libc. With cases where pieces can be installed through sstate, we now need this explicit dependency to ensure builds with partial sstate work. (From OE-Core rev: 65e5670ef429bb6c348decb1804e425f1c4d7c61) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
inherit cross
|
||||
|
||||
DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc ${NATIVEDEPS}"
|
||||
DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc ${EXTRADEPENDS} ${NATIVEDEPS}"
|
||||
PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
|
||||
|
||||
require gcc-configure-cross.inc
|
||||
require gcc-package-cross.inc
|
||||
|
||||
EXTRADEPENDS = ""
|
||||
python () {
|
||||
if d.getVar("TARGET_OS", True).startswith("linux"):
|
||||
d.setVar("EXTRADEPENDS", "linux-libc-headers")
|
||||
}
|
||||
|
||||
do_compile () {
|
||||
oe_runmake all-host all-target-libgcc
|
||||
# now generate script to drive testing
|
||||
|
||||
Reference in New Issue
Block a user