* [PATCH V2] defaultsetup: Use .= to add TCLIBCAPPEND to TMPDIR
@ 2011-08-05 19:56 Khem Raj
2011-08-10 12:34 ` Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2011-08-05 19:56 UTC (permalink / raw)
To: openembedded-core; +Cc: Daniel Lazzari
From: Daniel Lazzari <dlazzari@leapfrog.com>
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>
---
meta/conf/distro/defaultsetup.conf | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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))]}"
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH V2] defaultsetup: Use .= to add TCLIBCAPPEND to TMPDIR
2011-08-05 19:56 [PATCH V2] defaultsetup: Use .= to add TCLIBCAPPEND to TMPDIR Khem Raj
@ 2011-08-10 12:34 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2011-08-10 12:34 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Daniel Lazzari
On Fri, 2011-08-05 at 12:56 -0700, Khem Raj wrote:
> From: Daniel Lazzari <dlazzari@leapfrog.com>
>
> 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>
> ---
> meta/conf/distro/defaultsetup.conf | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Merged to master, thanks.
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-10 12:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-05 19:56 [PATCH V2] defaultsetup: Use .= to add TCLIBCAPPEND to TMPDIR Khem Raj
2011-08-10 12:34 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox