diff options
Diffstat (limited to 'meta/recipes-core/meta/meta-environment.bb')
-rw-r--r-- | meta/recipes-core/meta/meta-environment.bb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/meta/recipes-core/meta/meta-environment.bb b/meta/recipes-core/meta/meta-environment.bb index da1230bead..65436bc3e6 100644 --- a/meta/recipes-core/meta/meta-environment.bb +++ b/meta/recipes-core/meta/meta-environment.bb | |||
@@ -1,6 +1,5 @@ | |||
1 | SUMMARY = "Package of environment files for SDK" | 1 | SUMMARY = "Package of environment files for SDK" |
2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
3 | PR = "r8" | ||
4 | 3 | ||
5 | EXCLUDE_FROM_WORLD = "1" | 4 | EXCLUDE_FROM_WORLD = "1" |
6 | 5 | ||
@@ -9,7 +8,7 @@ MODIFYTOS = "0" | |||
9 | REAL_MULTIMACH_TARGET_SYS = "${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" | 8 | REAL_MULTIMACH_TARGET_SYS = "${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" |
10 | 9 | ||
11 | inherit toolchain-scripts | 10 | inherit toolchain-scripts |
12 | TOOLCHAIN_NEED_CONFIGSITE_CACHE_append = " zlib" | 11 | TOOLCHAIN_NEED_CONFIGSITE_CACHE:append = " zlib" |
13 | # Need to expand here before cross-candian changes HOST_ARCH -> SDK_ARCH | 12 | # Need to expand here before cross-candian changes HOST_ARCH -> SDK_ARCH |
14 | TOOLCHAIN_CONFIGSITE_NOCACHE := "${TOOLCHAIN_CONFIGSITE_NOCACHE}" | 13 | TOOLCHAIN_CONFIGSITE_NOCACHE := "${TOOLCHAIN_CONFIGSITE_NOCACHE}" |
15 | 14 | ||
@@ -47,6 +46,11 @@ python do_generate_content() { | |||
47 | } | 46 | } |
48 | addtask generate_content before do_install after do_compile | 47 | addtask generate_content before do_install after do_compile |
49 | 48 | ||
49 | python () { | ||
50 | sitefiles, searched = siteinfo_get_files(d, sysrootcache=False) | ||
51 | d.appendVarFlag("do_generate_content", "file-checksums", " " + " ".join(searched)) | ||
52 | } | ||
53 | |||
50 | create_sdk_files() { | 54 | create_sdk_files() { |
51 | # Setup site file for external use | 55 | # Setup site file for external use |
52 | toolchain_create_sdk_siteconfig ${SDK_OUTPUT}/${SDKPATH}/site-config-${REAL_MULTIMACH_TARGET_SYS} | 56 | toolchain_create_sdk_siteconfig ${SDK_OUTPUT}/${SDKPATH}/site-config-${REAL_MULTIMACH_TARGET_SYS} |
@@ -66,7 +70,7 @@ do_install() { | |||
66 | 70 | ||
67 | PN = "meta-environment-${MACHINE}" | 71 | PN = "meta-environment-${MACHINE}" |
68 | PACKAGES = "${PN}" | 72 | PACKAGES = "${PN}" |
69 | FILES_${PN}= " \ | 73 | FILES:${PN}= " \ |
70 | ${SDKPATH}/* \ | 74 | ${SDKPATH}/* \ |
71 | " | 75 | " |
72 | 76 | ||