From 391286cfae94f979bc60ecca2e73501781abdd37 Mon Sep 17 00:00:00 2001 From: Daniel Lazzari Date: Fri, 5 Aug 2011 12:56:17 -0700 Subject: 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 Signed-off-by: Daniel Lazzari Jr Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/conf/distro/defaultsetup.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta') 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 # 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))]}" -- cgit v1.2.3