1
0
Fork 0
forked from len0rd/rockbox

configure: avoid double escaping of $ (single quote + backslash)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30289 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2011-08-13 20:29:15 +00:00
parent e1d33c07c6
commit f56bb4e505

21
tools/configure vendored
View file

@ -1235,9 +1235,8 @@ if [ -z "$rootdir" ]; then
fi fi
apps="apps" apps="apps"
appsdir='\$(ROOTDIR)/apps' appsdir='$(ROOTDIR)/apps'
firmdir='\$(ROOTDIR)/firmware' toolsdir='$(ROOTDIR)/tools'
toolsdir='\$(ROOTDIR)/tools'
################################################################## ##################################################################
@ -3225,14 +3224,14 @@ fi
case $btype in case $btype in
[Ii]) [Ii])
appsdir='\$(ROOTDIR)/bootloader' appsdir='$(ROOTDIR)/bootloader'
apps="bootloader" apps="bootloader"
extradefines="$extradefines -DBOOTLOADER -DE200R_INSTALLER -ffunction-sections -fdata-sections" extradefines="$extradefines -DBOOTLOADER -DE200R_INSTALLER -ffunction-sections -fdata-sections"
bootloader="1" bootloader="1"
echo "e200R-installer build selected" echo "e200R-installer build selected"
;; ;;
[Ee]) [Ee])
appsdir='\$(ROOTDIR)/bootloader' appsdir='$(ROOTDIR)/bootloader'
apps="bootloader" apps="bootloader"
echo "C2(4)0 or C2(5)0" echo "C2(4)0 or C2(5)0"
variant=`input` variant=`input`
@ -3253,10 +3252,10 @@ fi
if test $t_manufacturer = "archos"; then if test $t_manufacturer = "archos"; then
# Archos SH-based players do this somewhat differently for # Archos SH-based players do this somewhat differently for
# some reason # some reason
appsdir='\$(ROOTDIR)/flash/bootbox' appsdir='$(ROOTDIR)/flash/bootbox'
apps="bootbox" apps="bootbox"
else else
appsdir='\$(ROOTDIR)/bootloader' appsdir='$(ROOTDIR)/bootloader'
apps="bootloader" apps="bootloader"
flash="" flash=""
if test -n "$boottool"; then if test -n "$boottool"; then
@ -3288,7 +3287,7 @@ fi
;; ;;
[Gg]) [Gg])
extradefines="$extradefines -DSTUB" # for target makefile symbol EXTRA_DEFINES extradefines="$extradefines -DSTUB" # for target makefile symbol EXTRA_DEFINES
appsdir='\$(ROOTDIR)/gdb' appsdir='$(ROOTDIR)/gdb'
apps="stub" apps="stub"
case $modelname in case $modelname in
iriverifp7xx) iriverifp7xx)
@ -3306,7 +3305,7 @@ fi
t_cpu=''; t_cpu='';
GCCOPTS=''; GCCOPTS='';
extradefines="$extradefines -DDEBUG" extradefines="$extradefines -DDEBUG"
appsdir='\$(ROOTDIR)/tools/checkwps'; appsdir='$(ROOTDIR)/tools/checkwps';
output='checkwps.'${modelname}; output='checkwps.'${modelname};
archosrom=''; archosrom='';
echo "CheckWPS build selected" echo "CheckWPS build selected"
@ -3317,7 +3316,7 @@ fi
toolset=''; toolset='';
t_cpu=''; t_cpu='';
GCCOPTS=''; GCCOPTS='';
appsdir='\$(ROOTDIR)/tools/database'; appsdir='$(ROOTDIR)/tools/database';
archosrom=''; archosrom='';
case $uname in case $uname in
@ -3639,7 +3638,7 @@ cat > Makefile <<EOF
## Automatically generated. http://www.rockbox.org/ ## Automatically generated. http://www.rockbox.org/
export ROOTDIR=${rootdir} export ROOTDIR=${rootdir}
export FIRMDIR=${firmdir} export FIRMDIR=\$(ROOTDIR)/firmware
export APPSDIR=${appsdir} export APPSDIR=${appsdir}
export TOOLSDIR=${toolsdir} export TOOLSDIR=${toolsdir}
export DOCSDIR=${rootdir}/docs export DOCSDIR=${rootdir}/docs