[U-Boot] [PATCH 2/2] common: Use separate dirs for each board for ccache
Wolfgang Denk
wd at denx.de
Tue May 21 14:45:34 CEST 2013
Dear Marek Vasut,
In message <1369070715-9585-3-git-send-email-marex at 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 directory" | \
> + tr -s " " | cut -d " " -f 3`/u-boot/${target}" ;
> + mkdir -p "${CCACHE_DIR}"
> + fi
How can I cleanup all the mess of created files and directories after
a build?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Do not simplify the design of a program if a way can be found to make
it complex and wonderful.
More information about the U-Boot
mailing list