diff options
author | Lianhao Lu <lianhao.lu@intel.com> | 2011-08-16 11:21:54 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-24 19:26:08 -0700 |
commit | 64c1f93828402ffb5c0fada527724598bc300973 (patch) | |
tree | 26903c0bddd7eea27e816d21ca7d2cf6377a29f2 /meta/recipes-core | |
parent | c6b808413d5ff1dbfdc4d615917345503029a282 (diff) | |
download | poky-64c1f93828402ffb5c0fada527724598bc300973.tar.gz |
meta-toolchain/environment: Collected site config files in runtime.
[YOCTO #892]
Use the new cached site config files generation mechanism in
toolchain-script.bbclass.
(From OE-Core rev: 445d6426197579a9c0317498cc6919bb63e7f726)
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/meta/meta-environment.bb | 7 | ||||
-rw-r--r-- | meta/recipes-core/meta/meta-toolchain-gmae.bb | 2 | ||||
-rw-r--r-- | meta/recipes-core/meta/meta-toolchain.bb | 4 |
3 files changed, 6 insertions, 7 deletions
diff --git a/meta/recipes-core/meta/meta-environment.bb b/meta/recipes-core/meta/meta-environment.bb index 114727cf3c..39ba96c9fb 100644 --- a/meta/recipes-core/meta/meta-environment.bb +++ b/meta/recipes-core/meta/meta-environment.bb | |||
@@ -2,13 +2,12 @@ DESCRIPTION = "Package of environment files for SDK" | |||
2 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | 2 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ |
3 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 3 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | PR = "r6" | 5 | PR = "r7" |
6 | 6 | ||
7 | EXCLUDE_FROM_WORLD = "1" | 7 | EXCLUDE_FROM_WORLD = "1" |
8 | 8 | ||
9 | inherit toolchain-scripts | 9 | inherit toolchain-scripts |
10 | # get target config site before inheritting cross-canadian | 10 | TOOLCHAIN_NEED_CONFIGSITE_CACHE += "zlib" |
11 | TARGET_CONFIG_SITE := "${@siteinfo_get_files(d)}" | ||
12 | REAL_MULTIMACH_TARGET_SYS = "${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" | 11 | REAL_MULTIMACH_TARGET_SYS = "${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" |
13 | 12 | ||
14 | SDK_DIR = "${WORKDIR}/sdk" | 13 | SDK_DIR = "${WORKDIR}/sdk" |
@@ -23,7 +22,7 @@ do_generate_content() { | |||
23 | rm -rf ${SDK_OUTPUT} | 22 | rm -rf ${SDK_OUTPUT} |
24 | mkdir -p ${SDK_OUTPUT}/${SDKPATH} | 23 | mkdir -p ${SDK_OUTPUT}/${SDKPATH} |
25 | 24 | ||
26 | toolchain_create_sdk_siteconfig ${SDK_OUTPUT}/${SDKPATH}/site-config-${REAL_MULTIMACH_TARGET_SYS} ${TARGET_CONFIG_SITE} | 25 | toolchain_create_sdk_siteconfig ${SDK_OUTPUT}/${SDKPATH}/site-config-${REAL_MULTIMACH_TARGET_SYS} |
27 | 26 | ||
28 | toolchain_create_sdk_env_script_for_installer ${REAL_MULTIMACH_TARGET_SYS} | 27 | toolchain_create_sdk_env_script_for_installer ${REAL_MULTIMACH_TARGET_SYS} |
29 | 28 | ||
diff --git a/meta/recipes-core/meta/meta-toolchain-gmae.bb b/meta/recipes-core/meta/meta-toolchain-gmae.bb index 4f5501e0a5..512810b365 100644 --- a/meta/recipes-core/meta/meta-toolchain-gmae.bb +++ b/meta/recipes-core/meta/meta-toolchain-gmae.bb | |||
@@ -3,3 +3,5 @@ TOOLCHAIN_TARGET_TASK = "${TOOLCHAIN_TARGET_GMAETASK}" | |||
3 | TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-toolchain-gmae-${DISTRO_VERSION}" | 3 | TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-toolchain-gmae-${DISTRO_VERSION}" |
4 | PROVIDES = "meta-toolchain-sdk" | 4 | PROVIDES = "meta-toolchain-sdk" |
5 | require meta-toolchain.bb | 5 | require meta-toolchain.bb |
6 | |||
7 | TOOLCHAIN_NEED_CONFIGSITE_CACHE += "zlib" | ||
diff --git a/meta/recipes-core/meta/meta-toolchain.bb b/meta/recipes-core/meta/meta-toolchain.bb index 164d7177f5..1058c68efe 100644 --- a/meta/recipes-core/meta/meta-toolchain.bb +++ b/meta/recipes-core/meta/meta-toolchain.bb | |||
@@ -1,12 +1,10 @@ | |||
1 | DESCRIPTION = "Meta package for building a installable toolchain" | 1 | DESCRIPTION = "Meta package for building a installable toolchain" |
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | 3 | ||
4 | PR = "r5" | 4 | PR = "r6" |
5 | 5 | ||
6 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | 6 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ |
7 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 7 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
8 | 8 | ||
9 | IMAGETEST ?= "dummy" | 9 | IMAGETEST ?= "dummy" |
10 | inherit populate_sdk imagetest-${IMAGETEST} | 10 | inherit populate_sdk imagetest-${IMAGETEST} |
11 | |||
12 | CONFIG_SITE := "${@siteinfo_get_files(d)}" | ||