Patchwork [v2] Immediately append TCLIBCAPPEND to TMPDIR in defaultsetup.conf

login
register
mail settings
Submitter dlazzari
Date Aug. 5, 2011, 6:34 p.m.
Message ID <359B10B9B28B294BAA6405D9320312E0111E934072@naemmail08.na.leapfrog.com>
Download mbox | patch
Permalink /patch/9401/
State New, archived
Headers show

Comments

dlazzari - Aug. 5, 2011, 6:34 p.m.
Immediately append TCLIBCAPPEND to TMPDIR in defaultsetup.conf
    instead of lazily appending it with _append. This fixes a bug where
    the wrong cache was cleared when BB_SRCREV_POLICY = "clear".


Signed-off-by: Daniel Lazzari Jr <dlazzari@leapfrog.com>
---
 meta/conf/distro/defaultsetup.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/conf/distro/defaultsetup.conf b/meta/conf/distro/defaultsetup.conf
index 919ed00..1a29778 100644
--- a/meta/conf/distro/defaultsetup.conf
+++ b/meta/conf/distro/defaultsetup.conf
@@ -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))]}"