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

Marek Vasut marex at denx.de
Tue May 21 17:05:14 CEST 2013


Dear Wolfgang Denk,

> 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?

Ignoring this patch, it's FUBAR, sorry.

Best regards,
Marek Vasut


More information about the U-Boot mailing list