diff options
author | Daniel Lazzari <dlazzari@leapfrog.com> | 2011-08-05 12:56:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-10 13:33:05 +0100 |
commit | 7898960c43004b1b5935fa1872c9fcee1982fc4c (patch) | |
tree | 5628127a9545ba6efb76b3ce007f8d925d9a0644 /meta/conf | |
parent | e154e51011f54e2328fe55fb7e66a537757e2f68 (diff) | |
download | poky-7898960c43004b1b5935fa1872c9fcee1982fc4c.tar.gz |
defaultsetup: Use .= to add TCLIBCAPPEND to TMPDIR
Lazily appending causes a bug where wrong cache is
cleared when BB_SRCREV_POLICY = "clear".
Tested with qemuarm on uclibc/eglibc in same build dir
(From OE-Core rev: 391286cfae94f979bc60ecca2e73501781abdd37)
Signed-off-by: Daniel Lazzari Jr <dlazzari@leapfrog.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/distro/defaultsetup.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/distro/defaultsetup.conf b/meta/conf/distro/defaultsetup.conf index 919ed00d16..1a297785fd 100644 --- a/meta/conf/distro/defaultsetup.conf +++ b/meta/conf/distro/defaultsetup.conf | |||
@@ -11,7 +11,7 @@ require conf/distro/include/tclibc-${TCLIBC}.inc | |||
11 | 11 | ||
12 | # Allow single libc distros to disable this code | 12 | # Allow single libc distros to disable this code |
13 | TCLIBCAPPEND ?= "-${TCLIBC}" | 13 | TCLIBCAPPEND ?= "-${TCLIBC}" |
14 | TMPDIR_append = "${TCLIBCAPPEND}" | 14 | TMPDIR .= "${TCLIBCAPPEND}" |
15 | 15 | ||
16 | CACHE = "${TMPDIR}/cache/${TCMODE}-${TCLIBC}${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}${@['', '/' + str(bb.data.getVar('SDKMACHINE', d, 1))][bool(bb.data.getVar('SDKMACHINE', d, 1))]}" | 16 | CACHE = "${TMPDIR}/cache/${TCMODE}-${TCLIBC}${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}${@['', '/' + str(bb.data.getVar('SDKMACHINE', d, 1))][bool(bb.data.getVar('SDKMACHINE', d, 1))]}" |
17 | 17 | ||