From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 21 May 2013 17:05:14 +0200 Subject: [U-Boot] [PATCH 2/2] common: Use separate dirs for each board for ccache In-Reply-To: <20130521124534.06CA0384809@gemini.denx.de> References: <1369070715-9585-1-git-send-email-marex@denx.de> <1369070715-9585-3-git-send-email-marex@denx.de> <20130521124534.06CA0384809@gemini.denx.de> Message-ID: <201305211705.14916.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wolfgang Denk, > Dear Marek Vasut, > > In message <1369070715-9585-3-git-send-email-marex@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