forked from len0rd/rockbox
Removed the prompting for demos and games. They're plugins now anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4070 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cc9a8e12a1
commit
7eda324c3b
1 changed files with 3 additions and 36 deletions
39
tools/configure
vendored
39
tools/configure
vendored
|
|
@ -76,7 +76,6 @@ sed > Makefile \
|
||||||
-e "s,@PWD@,${pwd},g" \
|
-e "s,@PWD@,${pwd},g" \
|
||||||
-e "s,@LANGUAGE@,${language},g" \
|
-e "s,@LANGUAGE@,${language},g" \
|
||||||
-e "s,@SIMVER@,${simver},g" \
|
-e "s,@SIMVER@,${simver},g" \
|
||||||
-e "s,@EXTRA_DEFINES@,${extra_defines},g" \
|
|
||||||
<<EOF
|
<<EOF
|
||||||
## Automaticly generated. http://rockbox.haxx.se
|
## Automaticly generated. http://rockbox.haxx.se
|
||||||
|
|
||||||
|
|
@ -91,14 +90,13 @@ THISDIR="@PWD@"
|
||||||
SIMVER=@SIMVER@
|
SIMVER=@SIMVER@
|
||||||
LANGUAGE=@LANGUAGE@
|
LANGUAGE=@LANGUAGE@
|
||||||
VERSION=\$(shell date +%y%m%d-%H%M)
|
VERSION=\$(shell date +%y%m%d-%H%M)
|
||||||
EXTRA_DEFINES=@EXTRA_DEFINES@
|
|
||||||
|
|
||||||
.PHONY:
|
.PHONY:
|
||||||
|
|
||||||
all: sim
|
all: sim
|
||||||
|
|
||||||
sim:
|
sim:
|
||||||
\$(MAKE) -C \$(SIMDIR) DISPLAY=\$(DISPLAY) KEYPAD=\$(KEYPAD) OBJDIR=\$(THISDIR) VERSION=\$(VERSION) LANGUAGE=\$(LANGUAGE) EXTRA_DEFINES="\$(EXTRA_DEFINES)"
|
\$(MAKE) -C \$(SIMDIR) DISPLAY=\$(DISPLAY) KEYPAD=\$(KEYPAD) OBJDIR=\$(THISDIR) VERSION=\$(VERSION) LANGUAGE=\$(LANGUAGE)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
\$(MAKE) -C \$(SIMDIR) DISPLAY=\$(DISPLAY) KEYPAD=\$(KEYPAD) OBJDIR=\$(THISDIR) clean
|
\$(MAKE) -C \$(SIMDIR) DISPLAY=\$(DISPLAY) KEYPAD=\$(KEYPAD) OBJDIR=\$(THISDIR) clean
|
||||||
|
|
@ -202,7 +200,6 @@ if [ "$target" = "update" ]; then
|
||||||
debug=`grep "^DEBUG=" Makefile | cut -d= -f2-`
|
debug=`grep "^DEBUG=" Makefile | cut -d= -f2-`
|
||||||
language=`grep "^LANGUAGE=" Makefile | cut -d= -f2-`
|
language=`grep "^LANGUAGE=" Makefile | cut -d= -f2-`
|
||||||
memory=`grep "^MEMORYSIZE=" Makefile | cut -d= -f2-`
|
memory=`grep "^MEMORYSIZE=" Makefile | cut -d= -f2-`
|
||||||
extra_defines=`grep "^EXTRA_DEFINES=" Makefile | cut -d= -f2-`
|
|
||||||
|
|
||||||
if [ "$debug" = "SIMULATOR=1" ]; then
|
if [ "$debug" = "SIMULATOR=1" ]; then
|
||||||
simulator="yes"
|
simulator="yes"
|
||||||
|
|
@ -290,34 +287,6 @@ if [ -z "$memory" ]; then
|
||||||
echo "Memory size selected: $memory MB"
|
echo "Memory size selected: $memory MB"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$extra_defines" ]; then
|
|
||||||
if [ "player" != "$archos" ] ; then
|
|
||||||
disable_demos="-DDISABLE_NOTHING"
|
|
||||||
disable_games=""
|
|
||||||
|
|
||||||
echo "Do you want to use Demos? (Y)"
|
|
||||||
getit=`input`;
|
|
||||||
if [ "n" = "$getit" -o "N" = "$getit" ] ; then
|
|
||||||
disable_demos="-DDISABLE_DEMOS"
|
|
||||||
echo "Demos disabled"
|
|
||||||
else
|
|
||||||
echo "Demos enabled"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Do you want to play Games? (Y)"
|
|
||||||
getit=`input`;
|
|
||||||
if [ "n" = "$getit" -o "N" = "$getit" ] ; then
|
|
||||||
disable_games=" -DDISABLE_GAMES"
|
|
||||||
echo "Games disabled"
|
|
||||||
else
|
|
||||||
echo "Games enabled"
|
|
||||||
fi
|
|
||||||
|
|
||||||
extra_defines="$disable_demos$disable_games"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
if [ -z "$debug" ]; then
|
if [ -z "$debug" ]; then
|
||||||
##################################################################
|
##################################################################
|
||||||
# Figure out debug on/off
|
# Figure out debug on/off
|
||||||
|
|
@ -450,7 +419,6 @@ sed > Makefile \
|
||||||
-e "s,@TARGET@,${target},g" \
|
-e "s,@TARGET@,${target},g" \
|
||||||
-e "s,@ARCHOS@,${archos},g" \
|
-e "s,@ARCHOS@,${archos},g" \
|
||||||
-e "s,@LANGUAGE@,${language},g" \
|
-e "s,@LANGUAGE@,${language},g" \
|
||||||
-e "s,@EXTRA_DEFINES@,${extra_defines},g" \
|
|
||||||
-e "s,@PWD@,${pwd},g" \
|
-e "s,@PWD@,${pwd},g" \
|
||||||
<<EOF
|
<<EOF
|
||||||
## Automaticly generated. http://rockbox.haxx.se
|
## Automaticly generated. http://rockbox.haxx.se
|
||||||
|
|
@ -466,16 +434,15 @@ LANGUAGE=@LANGUAGE@
|
||||||
MEMORYSIZE=@MEMORY@
|
MEMORYSIZE=@MEMORY@
|
||||||
VERSION=\$(shell date +%y%m%d-%H%M)
|
VERSION=\$(shell date +%y%m%d-%H%M)
|
||||||
|
|
||||||
EXTRA_DEFINES=@EXTRA_DEFINES@
|
|
||||||
.PHONY: firmware apps
|
.PHONY: firmware apps
|
||||||
|
|
||||||
all: firmware apps
|
all: firmware apps
|
||||||
|
|
||||||
firmware:
|
firmware:
|
||||||
\$(MAKE) -C \$(FIRMDIR) TARGET=\$(TARGET) \$(DEBUG) OBJDIR=\$(THISDIR) EXTRA_DEFINES="\$(EXTRA_DEFINES)" MEM=\$(MEMORYSIZE) TOOLSDIR=\$(TOOLSDIR)
|
\$(MAKE) -C \$(FIRMDIR) TARGET=\$(TARGET) \$(DEBUG) OBJDIR=\$(THISDIR) MEM=\$(MEMORYSIZE) TOOLSDIR=\$(TOOLSDIR)
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
\$(MAKE) -C \$(APPSDIR) TARGET=\$(TARGET) \$(DEBUG) OBJDIR=\$(THISDIR) VERSION=\$(VERSION) LANGUAGE=\$(LANGUAGE) EXTRA_DEFINES="\$(EXTRA_DEFINES)" MEM=\$(MEMORYSIZE) TOOLSDIR=\$(TOOLSDIR)
|
\$(MAKE) -C \$(APPSDIR) TARGET=\$(TARGET) \$(DEBUG) OBJDIR=\$(THISDIR) VERSION=\$(VERSION) LANGUAGE=\$(LANGUAGE) MEM=\$(MEMORYSIZE) TOOLSDIR=\$(TOOLSDIR)
|
||||||
|
|
||||||
clean-firmware:
|
clean-firmware:
|
||||||
\$(MAKE) -C \$(FIRMDIR) TARGET=\$(TARGET) OBJDIR=\$(THISDIR) clean
|
\$(MAKE) -C \$(FIRMDIR) TARGET=\$(TARGET) OBJDIR=\$(THISDIR) clean
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue