]> code.ossystems Code Review - openembedded-core.git/commitdiff
defaultsetup: Use .= to add TCLIBCAPPEND to TMPDIR
authorDaniel Lazzari <dlazzari@leapfrog.com>
Fri, 5 Aug 2011 19:56:17 +0000 (12:56 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 9 Aug 2011 14:58:51 +0000 (15:58 +0100)
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

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>
meta/conf/distro/defaultsetup.conf

index 919ed00d167b4a11cf56f4b06072d4c6bd053723..1a297785fd7138c44ddbf15da96e9b40c4e5eb29 100644 (file)
@@ -11,7 +11,7 @@ require conf/distro/include/tclibc-${TCLIBC}.inc
 
 # Allow single libc distros to disable this code
 TCLIBCAPPEND ?= "-${TCLIBC}"
-TMPDIR_append = "${TCLIBCAPPEND}"
+TMPDIR .= "${TCLIBCAPPEND}"
 
 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))]}"