diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-05-23 09:58:44 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-05-23 09:58:44 +0000 |
commit | fcf56299f2aa4259f2e5d79c3abe89d3692530a3 (patch) | |
tree | 3dacfe9c82d087f2c4a7343b284c0779e495115c | |
parent | e0c12aff3b78ff93607648f49a06128b450bf07e (diff) | |
download | rockbox-fcf56299f2aa4259f2e5d79c3abe89d3692530a3.tar.gz rockbox-fcf56299f2aa4259f2e5d79c3abe89d3692530a3.zip |
pass better variables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@661 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-x | tools/configure | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/configure b/tools/configure index b65dc03295..282b625b9b 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -63,7 +63,7 @@ option=`input`; | |||
63 | 63 | ||
64 | case $option in | 64 | case $option in |
65 | [Yy]) | 65 | [Yy]) |
66 | debug="-DDEBUG" | 66 | debug="DEBUG=1" |
67 | ;; | 67 | ;; |
68 | *) | 68 | *) |
69 | debug="" | 69 | debug="" |
@@ -126,11 +126,9 @@ DEBUG=@DEBUG@ | |||
126 | TARGET=@TARGET@ | 126 | TARGET=@TARGET@ |
127 | THISDIR="@PWD@" | 127 | THISDIR="@PWD@" |
128 | 128 | ||
129 | CFLAGS="\$(DEBUG) \$(TARGET)" | ||
130 | |||
131 | all: | 129 | all: |
132 | make -C \$(FIRMDIR) CFLAGS=\$(CFLAGS) OBJDIR=\$(THISDIR) | 130 | make -C \$(FIRMDIR) TARGET=\$(TARGET) $(DEBUG) OBJDIR=\$(THISDIR) |
133 | make -C \$(APPSDIR) CFLAGS=\$(CFLAGS) OBJDIR=\$(THISDIR) | 131 | make -C \$(APPSDIR) TARGET=\$(TARGET) $(DEBUG) OBJDIR=\$(THISDIR) |
134 | 132 | ||
135 | EOF | 133 | EOF |
136 | 134 | ||