summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/configure20
1 files changed, 9 insertions, 11 deletions
diff --git a/tools/configure b/tools/configure
index 78a90b7d18..420f9c0c4a 100755
--- a/tools/configure
+++ b/tools/configure
@@ -29,6 +29,7 @@ thread_support="ASSEMBLER_THREADS"
29app_lcd_width= 29app_lcd_width=
30app_lcd_height= 30app_lcd_height=
31app_lcd_orientation= 31app_lcd_orientation=
32cmdline="$@"
32# 33#
33# Begin Function Definitions 34# Begin Function Definitions
34# 35#
@@ -3630,22 +3631,19 @@ if test "$apps" = "apps"; then
3630fi 3631fi
3631 3632
3632#### Fix the cmdline ### 3633#### Fix the cmdline ###
3633if [ "$ARG_CCACHE" = "1" ]; then
3634 cmdline="--ccache "
3635elif [ "$ARG_CCACHE" = "0" ]; then
3636 cmdline="--no-ccache "
3637fi
3638if [ "$ARG_ARM_EABI" = "1" ]; then
3639 cmdline="$cmdline--eabi "
3640fi
3641if [ -n "$ARG_PREFIX" ]; then 3634if [ -n "$ARG_PREFIX" ]; then
3642 cmdline="$cmdline--prefix=\$(PREFIX) " 3635 cmdline="$cmdline --prefix=\$(PREFIX)"
3643fi 3636fi
3644if [ -n "$ARG_LCDWIDTH" ]; then 3637if [ -n "$ARG_LCDWIDTH" ]; then
3645 cmdline="$cmdline--lcdwidth=$ARG_LCDWIDTH --lcdheight=$ARG_LCDHEIGHT " 3638 cmdline="$cmdline --lcdwidth=$ARG_LCDWIDTH --lcdheight=$ARG_LCDHEIGHT "
3646fi 3639fi
3647 3640
3648cmdline="$cmdline--target=\$(MODELNAME) --ram=\$(MEMORYSIZE) --rbdir=\$(RBDIR) --type=$btype$advopts" 3641# remove parts from the cmdline we're going to set unconditionally
3642cmdline=`echo $cmdline | sed -e s,--target=[a-zA-Z0-9]\*,,g \
3643 -e s,--ram=[0-9]\*,,g \
3644 -e s,--rbdir=[./a-zA-Z0-9]\*,,g \
3645 -e s,--type=[a-zA-Z]\*,,g`
3646cmdline="$cmdline --target=\$(MODELNAME) --ram=\$(MEMORYSIZE) --rbdir=\$(RBDIR) --type=$btype$advopts"
3649 3647
3650### end of cmdline 3648### end of cmdline
3651 3649