]> code.ossystems Code Review - openembedded-core.git/commit
SDK: Allow changing SDKMACHINE without wiping TMP folder
authorJuro Bystricky <juro.bystricky@intel.com>
Mon, 26 Sep 2016 16:30:52 +0000 (09:30 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Sep 2016 09:15:54 +0000 (10:15 +0100)
commitd2eccccb70e809d482c493922f23aef4409cfd82
tree624b5a6eb76d872d1de2a3cdfb3ec46c896a715a
parent66e2b56aa5166440f565f9722886bab680d5c4d1
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>
meta/classes/base.bbclass
meta/conf/distro/include/tcmode-default.inc
meta/recipes-core/glibc/glibc-initial.inc
meta/recipes-core/glibc/glibc.inc
meta/recipes-core/musl/musl.inc
meta/recipes-devtools/binutils/binutils-crosssdk_2.27.bb
meta/recipes-devtools/gcc/gcc-cross-initial.inc
meta/recipes-devtools/gcc/gcc-cross.inc
meta/recipes-devtools/gcc/gcc-crosssdk-initial.inc
meta/recipes-devtools/gcc/gcc-crosssdk.inc
meta/recipes-devtools/gcc/libgcc-initial.inc