summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-02-16 00:38:31 +0000
committerDave Chapman <dave@dchapman.com>2005-02-16 00:38:31 +0000
commit5b2d874a361663dd17413b8bcf2439fc0f8716d8 (patch)
tree87769b164567d9b93e4e95d7649e9e7eb83f9981 /tools
parentd97bd1e66113d6e180b5fb41e0c7194e64295c12 (diff)
downloadrockbox-5b2d874a361663dd17413b8bcf2439fc0f8716d8.zip
rockbox-5b2d874a361663dd17413b8bcf2439fc0f8716d8.tar.gz
rockbox-5b2d874a361663dd17413b8bcf2439fc0f8716d8.tar.bz2
rockbox-5b2d874a361663dd17413b8bcf2439fc0f8716d8.tar.xz
Incorporate apps/codecs into the build system based on SOFTWARECODECS configuration variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5964 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure
index 48d54f0..ac00771 100755
--- a/tools/configure
+++ b/tools/configure
@@ -107,6 +107,7 @@ sed > Makefile \
-e "s,@LANGUAGE@,${language},g" \
-e "s,@TARGET@,${target},g" \
-e "s,@PLUGINS@,${plugins},g" \
+ -e "s,@CODECS@,${codecs},g" \
-e "s,@SIMVER@,${simver},g" \
-e "s,@MEMORY@,${memory},g" \
<<EOF
@@ -128,6 +129,7 @@ export TARGET=@TARGET@
export LANGUAGE=@LANGUAGE@
export VERSION=\$(shell date +%y%m%d-%H%M)
export ENABLEDPLUGINS=@PLUGINS@
+export SOFTWARECODECS=@CODECS@
export MEMORYSIZE=@MEMORY@
.PHONY:
@@ -312,6 +314,7 @@ if [ -z "$archos" ]; then
archosrom="$pwd/rombox.ucl"
flash="$pwd/rockbox.ucl"
plugins="yes"
+ codecs=""
;;
3)
@@ -324,6 +327,7 @@ if [ -z "$archos" ]; then
archosrom=""
flash="$pwd/rockbox.ucl"
plugins="yes"
+ codecs=""
;;
4)
@@ -336,6 +340,7 @@ if [ -z "$archos" ]; then
archosrom="$pwd/rombox.ucl"
flash="$pwd/rockbox.ucl"
plugins="yes"
+ codecs=""
;;
5)
@@ -349,6 +354,7 @@ if [ -z "$archos" ]; then
archosrom=""
flash=""
plugins="" # disabled for now, enable later on
+ codecs=""
;;
6)
@@ -362,6 +368,7 @@ if [ -z "$archos" ]; then
archosrom=""
flash=""
plugins="" # disabled for now, enable later on
+ codecs=""
;;
7)
@@ -374,6 +381,7 @@ if [ -z "$archos" ]; then
archosrom="$pwd/rombox.ucl"
flash="$pwd/rockbox.ucl"
plugins="yes"
+ codecs=""
;;
8)
@@ -386,6 +394,7 @@ if [ -z "$archos" ]; then
archosrom="$pwd/rombox.ucl"
flash="$pwd/rockbox.ucl"
plugins="yes"
+ codecs=""
;;
9)
@@ -399,6 +408,7 @@ if [ -z "$archos" ]; then
archosrom=""
flash=""
plugins="yes"
+ codecs="yes"
;;
*)
@@ -411,6 +421,7 @@ if [ -z "$archos" ]; then
archosrom="$pwd/rombox.ucl"
flash="$pwd/rockbox.ucl"
plugins="yes"
+ codecs=""
;;
esac
@@ -518,6 +529,7 @@ sed > Makefile \
-e "s,@ARCHOSROM@,${archosrom},g" \
-e "s,@FLASHFILE@,${flash},g" \
-e "s,@PLUGINS@,${plugins},g" \
+ -e "s,@CODECS@,${codecs},g" \
-e "s,@GCCOPTS@,${GCCOPTS},g" \
-e "s,@LOADADDRESS@,${loadaddress},g" \
-e "s,@EXTRADEF@,${extradefines},g" \
@@ -543,6 +555,7 @@ export MKFIRMWARE=@TOOL@
export BINARY=@OUTPUT@
export APPEXTRA=@APPEXTRA@
export ENABLEDPLUGINS=@PLUGINS@
+export SOFTWARECODECS=@CODECS@
export EXTRA_DEFINES=@EXTRADEF@
export CC=@CC@
export LD=@LD@