Browse Source

ccache: changed to use build/.ccache* instead of build/ccache so build/* gives only builds

cross
Alejandro Mery 16 years ago
parent
commit
e9b29c11fd
  1. 13
      develop/ccache/parse-config

13
develop/ccache/parse-config vendored

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../ccache/parse-config
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2006 - 2009 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -24,8 +24,17 @@ elif [ "$SDECFG_DEBUG" == 1 ]; then
else
unset ${!CCACHE_*}
# migration, build/ccache-* -> build/.ccache-*
#
for x in $(cd "$base/build" 2> /dev/null && ls -1d ccache-* 2> /dev/null); do
if [ ! -d "$base/build/.$x" ]; then
echo_warning "ccache: moving $x to build/.$x"
mv "$base/build/$x" "$base/build/.$x"
fi
done
# wrap the sytem compiler
ccache_dir=ccache
ccache_dir=".ccache"
if atstage toolchain; then
x=`/bin/uname -m | uname2arch`
var_append ccache_dir - $x

Loading…
Cancel
Save