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>
This commit is contained in:
parent
e154e51011
commit
7898960c43
|
@ -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))]}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue