From e800bca6dca50fd3c6616cfcc3102d6cbdbec05d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 2 Sep 2002 12:33:18 +0000 Subject: make it bourne shell pure git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2129 a1c6a512-1295-4272-9138-f99709370657 --- tools/configure | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/configure b/tools/configure index f8dd633738..c5f4876703 100755 --- a/tools/configure +++ b/tools/configure @@ -24,7 +24,7 @@ if test -r "configure"; then # this is a check for a configure script in the current directory, it there # is one, try to figure out if it is this one! - if { grep "^# Jukebox" configure >/dev/null 2>&1 } ; then + if { grep "^# Jukebox" configure >/dev/null 2>&1 ; } then echo "WEEEEEEEEP. Don't run this configure script within the tools directory." echo "It will only cause you pain and grief. Instead do this:" echo "" @@ -206,6 +206,17 @@ if [ -z "$target" ]; then esac fi +<<<<<<< configure +if [ "-DARCHOS_RECORDER" = "$target" ] ; then + + echo "Loadable fonts support? (y|n) [n]" + getit=`input`; + if [ "y" = "$getit" ] ; then + loadable_fonts="-DLOADABLE_FONTS" + fi +fi + +======= if [ "-" = "$extra_defines" ]; then extra_defines="" @@ -244,7 +255,11 @@ if [ "-" = "$extra_defines" ]; then fi fi +<<<<<<< configure +>>>>>>> 1.25 +======= +>>>>>>> 1.35 if [ -z "$debug" ]; then ################################################################## # Figure out debug on/off @@ -320,7 +335,15 @@ sed > Makefile \ -e "s,@APPSDIR@,${appsdir},g" \ -e "s,@DEBUG@,${debug},g" \ -e "s,@TARGET@,${target},g" \ +<<<<<<< configure +<<<<<<< configure + -e "s,@LOADABLE_FONTS@,${loadable_fonts},g" \ +======= + -e "s,@EXTRA_DEFINES@,${extra_defines},g" \ +>>>>>>> 1.25 +======= -e "s,@EXTRA_DEFINES@,\"${extra_defines}\",g" \ +>>>>>>> 1.35 -e "s,@PWD@,${pwd},g" \ <>>>>>> 1.25 .PHONY: firmware apps all: firmware apps + for f in ../tools/*.ajf ; do cp \$\$f . ; done firmware: +<<<<<<< configure + make -C \$(FIRMDIR) TARGET=\$(TARGET) \$(DEBUG) OBJDIR=\$(THISDIR) EXTRA_CFLAGS=\$(EXTRA_CFLAGS) +======= \$(MAKE) -C \$(FIRMDIR) TARGET=\$(TARGET) \$(DEBUG) OBJDIR=\$(THISDIR) EXTRA_DEFINES=\$(EXTRA_DEFINES) +>>>>>>> 1.25 apps: +<<<<<<< configure + make -C \$(APPSDIR) TARGET=\$(TARGET) \$(DEBUG) OBJDIR=\$(THISDIR) VERSION=\$(VERSION) EXTRA_CFLAGS=\$(EXTRA_CFLAGS) +======= \$(MAKE) -C \$(APPSDIR) TARGET=\$(TARGET) \$(DEBUG) OBJDIR=\$(THISDIR) VERSION=\$(VERSION) EXTRA_DEFINES=\$(EXTRA_DEFINES) +>>>>>>> 1.25 clean-firmware: \$(MAKE) -C \$(FIRMDIR) TARGET=\$(TARGET) OBJDIR=\$(THISDIR) clean -- cgit v1.2.3