From 6688988ec42aa2254c8e370ec1932033a258b6fa Mon Sep 17 00:00:00 2001 From: Magnus Holmgren Date: Mon, 24 May 2010 16:05:49 +0000 Subject: 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 --- tools/configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools') 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 " -- cgit v1.2.3