Skip to contentSkip to conversation

defaultsetup: Use .= to add TCLIBCAPPEND to TMPDIR

PATCH Applied Khem Raj 2 participants 2 messages Aug 5, 2011 – Aug 10, 2011

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/1 defaultsetup: Use .= to add TCLIBCAPPEND to TMPDIR

From: Daniel Lazzari <[email protected]>

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

---
 meta/conf/distro/defaultsetup.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/conf/distro/defaultsetup.conf +1 -1
index 919ed00..1a29778 100644
@@ -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))]}"
 
Signature · 1 line
1.7.4.1
#1 lore raw
Quoted 5 lines · Khem Raj

From: Daniel Lazzari <[email protected]>

Lazily appending causes a bug where wrong cache is cleared when BB_SRCREV_POLICY = "clear".

Quoted 7 lines

Tested with qemuarm on uclibc/eglibc in same build dir

---
 meta/conf/distro/defaultsetup.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Merged to master, thanks.

Richard