summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/meta/buildtools-tarball.bb (renamed from meta/recipes-core/meta/external-python-tarball.bb)16
1 files changed, 12 insertions, 4 deletions
diff --git a/meta/recipes-core/meta/external-python-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb
index 5f8cc964c1..076fe36d11 100644
--- a/meta/recipes-core/meta/external-python-tarball.bb
+++ b/meta/recipes-core/meta/buildtools-tarball.bb
@@ -1,10 +1,8 @@
1DESCRIPTION = "Meta package for building a standalone python tarball" 1DESCRIPTION = "Meta package for building a standalone python tarball and other key build tools"
2LICENSE = "MIT" 2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ 3LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
4 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 4 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
5 5
6PR = "r2"
7
8TOOLCHAIN_TARGET_TASK ?= "" 6TOOLCHAIN_TARGET_TASK ?= ""
9 7
10TOOLCHAIN_HOST_TASK ?= "\ 8TOOLCHAIN_HOST_TASK ?= "\
@@ -26,10 +24,13 @@ TOOLCHAIN_HOST_TASK ?= "\
26 nativesdk-python-netclient \ 24 nativesdk-python-netclient \
27 nativesdk-python-netserver \ 25 nativesdk-python-netserver \
28 nativesdk-python-distutils \ 26 nativesdk-python-distutils \
27 nativesdk-python-unixadmin \
29 nativesdk-chrpath \ 28 nativesdk-chrpath \
29 nativesdk-tar \
30 nativesdk-git \
30 " 31 "
31 32
32TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-python-nativesdk-standalone-${DISTRO_VERSION}" 33TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-buildtools-nativesdk-standalone-${DISTRO_VERSION}"
33 34
34RDEPENDS = "${TOOLCHAIN_HOST_TASK}" 35RDEPENDS = "${TOOLCHAIN_HOST_TASK}"
35 36
@@ -37,3 +38,10 @@ EXCLUDE_FROM_WORLD = "1"
37 38
38inherit meta 39inherit meta
39inherit populate_sdk 40inherit populate_sdk
41
42create_sdk_files_append () {
43 rm -f ${SDK_OUTPUT}/${SDKPATH}/site-config*
44
45 cat ${SDK_OUTPUT}/${SDKPATH}/environment-setup* | grep " PATH=\|OECORE_NATIVE_SYSROOT" > ${WORKDIR}/envtmp
46 mv ${WORKDIR}/envtmp ${SDK_OUTPUT}/${SDKPATH}/environment-setup*
47}