diff options
-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 | ||