summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/meta/testexport-tarball.bb
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-03-02 20:52:28 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-06 06:13:58 -0800
commitbb10cec25e3683de4fda11e66f827c882488cb1a (patch)
tree455b993d2a2365c1a70a1d0aa214325efede5b2a /meta/recipes-core/meta/testexport-tarball.bb
parent6f6a2b5ff7ec23bd3782f0c3521f3576101cbc9d (diff)
downloadopenembedded-core-contrib-bb10cec25e3683de4fda11e66f827c882488cb1a.tar.gz
openembedded-core-contrib-bb10cec25e3683de4fda11e66f827c882488cb1a.tar.bz2
openembedded-core-contrib-bb10cec25e3683de4fda11e66f827c882488cb1a.zip
testexport-tarball: sync with buildtools-tarball
This is basically a copy/paste of buildtools-tarball so copy some of the recent changes to buildtools across. Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core/meta/testexport-tarball.bb')
-rw-r--r--meta/recipes-core/meta/testexport-tarball.bb18
1 files changed, 16 insertions, 2 deletions
diff --git a/meta/recipes-core/meta/testexport-tarball.bb b/meta/recipes-core/meta/testexport-tarball.bb
index 72f5531c5c..c38ac902a0 100644
--- a/meta/recipes-core/meta/testexport-tarball.bb
+++ b/meta/recipes-core/meta/testexport-tarball.bb
@@ -10,7 +10,13 @@ TOOLCHAIN_TARGET_TASK ?= ""
TOOLCHAIN_HOST_TASK ?= "${TEST_EXPORT_SDK_PACKAGES}"
-SDK_PACKAGE_ARCHS += "tesexport-tools-${SDKPKGSUFFIX}"
+MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}"
+PACKAGE_ARCH = "${SDK_ARCH}_${SDK_OS}"
+PACKAGE_ARCHS = ""
+TARGET_ARCH = "none"
+TARGET_OS = "none"
+
+SDK_PACKAGE_ARCHS += "testexport-tools-${SDKPKGSUFFIX}"
TOOLCHAIN_OUTPUTNAME ?= "${TEST_EXPORT_SDK_NAME}"
@@ -22,7 +28,15 @@ EXCLUDE_FROM_WORLD = "1"
inherit meta
inherit populate_sdk
-inherit toolchain-scripts
+inherit toolchain-scripts-base
+inherit nopackages
+
+deltask install
+deltask populate_sysroot
+
+do_populate_sdk[stamp-extra-info] = "${PACKAGE_ARCH}"
+
+REAL_MULTIMACH_TARGET_SYS = "none"
create_sdk_files_append () {
rm -f ${SDK_OUTPUT}/${SDKPATH}/site-config-*