Re: [U-Boot] [PATCH 2/2] common: Use separate dirs for each board for ccache

2013-05-21 Thread Marek Vasut
Dear Wolfgang Denk, > Dear Marek Vasut, > > In message <1369070715-9585-3-git-send-email-ma...@denx.de> you wrote: > > + # Use per-board CCACHE directory > > + if [ "x${CCACHE}" != "x" ] ; then > > Why not simply: > > if [ "${CCACHE}" ] ; then > > ? > > > + export CCACHE_D

Re: [U-Boot] [PATCH 2/2] common: Use separate dirs for each board for ccache

2013-05-21 Thread Wolfgang Denk
Dear Marek Vasut, In message <1369070715-9585-3-git-send-email-ma...@denx.de> you wrote: > + # Use per-board CCACHE directory > + if [ "x${CCACHE}" != "x" ] ; then Why not simply: if [ "${CCACHE}" ] ; then ? > + export CCACHE_DIR="`${CCACHE} -s | grep "^cache direc

Re: [U-Boot] [PATCH 2/2] common: Use separate dirs for each board for ccache

2013-05-20 Thread Marek Vasut
Dear Marek Vasut, > When using ccache in MAKEALL, use separate directory for the cache > for each board. This way we can avoid rewriting the same files by > building other boards. > > Signed-off-by: Marek Vasut > Cc: Tom Rini This one will need more work, sorry. Best regards, Marek Vasut

[U-Boot] [PATCH 2/2] common: Use separate dirs for each board for ccache

2013-05-20 Thread Marek Vasut
When using ccache in MAKEALL, use separate directory for the cache for each board. This way we can avoid rewriting the same files by building other boards. Signed-off-by: Marek Vasut Cc: Tom Rini --- MAKEALL |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAKEALL b/MAKEALL index 2