diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2016-09-26 09:30:52 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-28 10:15:54 +0100 |
commit | d2eccccb70e809d482c493922f23aef4409cfd82 (patch) | |
tree | 624b5a6eb76d872d1de2a3cdfb3ec46c896a715a /meta/recipes-core/musl | |
parent | 66e2b56aa5166440f565f9722886bab680d5c4d1 (diff) | |
download | openembedded-core-d2eccccb70e809d482c493922f23aef4409cfd82.tar.gz openembedded-core-d2eccccb70e809d482c493922f23aef4409cfd82.tar.bz2 openembedded-core-d2eccccb70e809d482c493922f23aef4409cfd82.zip |
SDK: Allow changing SDKMACHINE without wiping TMP folder
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]
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/musl')
-rw-r--r-- | meta/recipes-core/musl/musl.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/musl/musl.inc b/meta/recipes-core/musl/musl.inc index 276b00fdc4..7ed931c6da 100644 --- a/meta/recipes-core/musl/musl.inc +++ b/meta/recipes-core/musl/musl.inc @@ -17,7 +17,7 @@ TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TCBOOTSTRAP}" INHIBIT_DEFAULT_DEPS = "1" STAGINGCC = "gcc-cross-initial-${TARGET_ARCH}" -STAGINGCC_class-nativesdk = "gcc-crosssdk-initial-${TARGET_ARCH}" +STAGINGCC_class-nativesdk = "gcc-crosssdk-initial-${SDK_SYS}" FILES_SOLIBSDEV = "" |