mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +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>
13 lines
476 B
PHP
13 lines
476 B
PHP
inherit crosssdk
|
|
|
|
PN = "gcc-crosssdk-${SDK_SYS}"
|
|
|
|
SYSTEMHEADERS = "${SDKPATHNATIVE}${prefix_nativesdk}/include"
|
|
SYSTEMLIBS = "${SDKPATHNATIVE}${base_libdir_nativesdk}/"
|
|
SYSTEMLIBS1 = "${SDKPATHNATIVE}${libdir_nativesdk}/"
|
|
|
|
GCCMULTILIB = "--disable-multilib"
|
|
|
|
DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk virtual/nativesdk-${TARGET_PREFIX}libc-for-gcc gettext-native ${NATIVEDEPS}"
|
|
PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk"
|