mirror of
https://git.yoctoproject.org/poky
synced 2026-02-10 02:33:02 +01:00
When we stashed the gcc build directory for use in generating the various runtimes
we were being lazy and just used the staging directory. With recipe specific
sysroots this means we're copying a large chunk of data around with the cross
compiler which we don't really need in most cases.
Separate out the data into its own task and inject this into the configure
step. We have to do that here since autotools will wipe out ${B} if it thinks
we're rebuilding and we therefore have to time its recreation after that.
This also takes the opportunity to remove some pointless (as far as I can tell)
conditionals from the do_install code.
(From OE-Core rev: dcf15ccf3cc9d55e77228ba8d526f967fc9791b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 lines
385 B
PHP
18 lines
385 B
PHP
require libgcc-common.inc
|
|
|
|
DEPENDS = "virtual/${TARGET_PREFIX}gcc-initial"
|
|
|
|
LICENSE = "GPL-3.0-with-GCC-exception"
|
|
|
|
STAGINGCC = "gcc-cross-initial-${TARGET_ARCH}"
|
|
STAGINGCC_class-nativesdk = "gcc-crosssdk-initial-${SDK_SYS}"
|
|
PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:"
|
|
|
|
PACKAGES = ""
|
|
|
|
EXTRA_OECONF += "--disable-shared"
|
|
|
|
COMPILERINITIAL = "-initial"
|
|
|
|
inherit nopackages
|