summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2010-05-24 16:05:49 +0000
committerMagnus Holmgren <magnushol@gmail.com>2010-05-24 16:05:49 +0000
commit6688988ec42aa2254c8e370ec1932033a258b6fa (patch)
tree6cb7cf17104164a6c0ebcbc741085087a5967e39 /tools
parent13f159df57386b076b39ea331bc07583404be68a (diff)
downloadrockbox-6688988ec42aa2254c8e370ec1932033a258b6fa.tar.gz
rockbox-6688988ec42aa2254c8e370ec1932033a258b6fa.tar.bz2
rockbox-6688988ec42aa2254c8e370ec1932033a258b6fa.zip
Make 'make reconf' remember the use of --ccache and --no-ccache. Only works after the next configure run.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26252 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index ef4d73ad29..d091e3258d 100755
--- a/tools/configure
+++ b/tools/configure
@@ -3004,8 +3004,10 @@ if test "$apps" = "apps"; then
fi
#### Fix the cmdline ###
-if test -n "$ccache"; then
+if [ "$ARG_CCACHE" = "1" ]; then
cmdline="--ccache "
+elif [ "$ARG_CCACHE" = "0" ]; then
+ cmdline="--no-ccache "
fi
if [ "$ARG_ARM_EABI" = "1" ]; then
cmdline="$cmdline--eabi "