diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-09-22 14:05:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-23 14:56:39 +0100 |
commit | e08640b409d7e9a10c9e7e37cc712145e7050dd9 (patch) | |
tree | 2bca94f4f29f6b1f05f3bcd1d977be6d08a65979 /meta | |
parent | cb1ffb835f9ee3a10314016d7356d843a22736dd (diff) | |
download | poky-e08640b409d7e9a10c9e7e37cc712145e7050dd9.tar.gz |
buildtools-tarball: improve stamp independence
buildtools-tarball shouldn't be regenerated when MACHINE changes,
nor should variants for other SDKMACHINE be removed from the deploy
directory when SDKMACHINE changes.
Remove target architecture dependencies so that deploy artefacts
can overlap.
(From OE-Core rev: b7d1a310f6b880e92b124a78af3c948abaab4236)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/meta/buildtools-tarball.bb | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb index 2e738e6118..da18c09fce 100644 --- a/meta/recipes-core/meta/buildtools-tarball.bb +++ b/meta/recipes-core/meta/buildtools-tarball.bb | |||
@@ -28,10 +28,13 @@ TOOLCHAIN_HOST_TASK ?= "\ | |||
28 | 28 | ||
29 | MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" | 29 | MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" |
30 | PACKAGE_ARCH = "${SDK_ARCH}" | 30 | PACKAGE_ARCH = "${SDK_ARCH}" |
31 | PACKAGE_ARCHS = "" | ||
32 | TARGET_ARCH = "none" | ||
33 | TARGET_OS = "none" | ||
31 | 34 | ||
32 | SDK_PACKAGE_ARCHS += "buildtools-dummy-${SDKPKGSUFFIX}" | 35 | SDK_PACKAGE_ARCHS += "buildtools-dummy-${SDKPKGSUFFIX}" |
33 | 36 | ||
34 | TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-buildtools-nativesdk-standalone-${DISTRO_VERSION}" | 37 | TOOLCHAIN_OUTPUTNAME ?= "${SDK_ARCH}-buildtools-nativesdk-standalone-${DISTRO_VERSION}" |
35 | 38 | ||
36 | SDK_TITLE = "Build tools" | 39 | SDK_TITLE = "Build tools" |
37 | 40 | ||
@@ -41,10 +44,18 @@ EXCLUDE_FROM_WORLD = "1" | |||
41 | 44 | ||
42 | inherit meta | 45 | inherit meta |
43 | inherit populate_sdk | 46 | inherit populate_sdk |
44 | inherit toolchain-scripts | 47 | inherit toolchain-scripts-base |
48 | inherit nopackages | ||
49 | |||
50 | deltask install | ||
51 | deltask package | ||
52 | deltask packagedata | ||
53 | deltask populate_sysroot | ||
45 | 54 | ||
46 | do_populate_sdk[stamp-extra-info] = "${SDKMACHINE}" | 55 | do_populate_sdk[stamp-extra-info] = "${SDKMACHINE}" |
47 | 56 | ||
57 | REAL_MULTIMACH_TARGET_SYS = "none" | ||
58 | |||
48 | create_sdk_files_append () { | 59 | create_sdk_files_append () { |
49 | rm -f ${SDK_OUTPUT}/${SDKPATH}/site-config-* | 60 | rm -f ${SDK_OUTPUT}/${SDKPATH}/site-config-* |
50 | rm -f ${SDK_OUTPUT}/${SDKPATH}/environment-setup-* | 61 | rm -f ${SDK_OUTPUT}/${SDKPATH}/environment-setup-* |