mirror of
https://git.yoctoproject.org/poky
synced 2026-02-12 19:53:03 +01:00
When changing SDKMACHINE, we may encounter an error forcing us to wipe the TMP folder. Since only SDK_ARCH is captured in the PN of the crosssdk recipes, changes to SDK_OS result in conflicts. Eventually we hit the error: ERROR: ...: The recipe <...> is trying to install files into a shared area when those files already exist. The build has stopped as continuing in this scenario WILL break things This patchset addresses the problem by SDK_SYS as the recipe name suffix instead of SDK_ARCH. [YOCTO #9281] (From OE-Core rev: d2eccccb70e809d482c493922f23aef4409cfd82) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
480 B
PHP
20 lines
480 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"
|
|
|
|
LIBGCCBUILDTREENAME = "gcc-build-internal-initial-"
|
|
|
|
do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_TCBOOTSTRAP}/"
|
|
|
|
inherit nopackages
|