diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-02-18 08:45:41 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-02-18 08:45:41 +0000 |
commit | 572ced56cf4a0b2e00153882ccf1c13aac1f760e (patch) | |
tree | 440908506f797085691fe2caedd988a4de052e22 /apps | |
parent | c1f6d586b2ca83c1de4fd1921b4edd292c86dc8d (diff) | |
download | rockbox-572ced56cf4a0b2e00153882ccf1c13aac1f760e.tar.gz rockbox-572ced56cf4a0b2e00153882ccf1c13aac1f760e.zip |
Assign ANYREC before checking if this is a DEBUG build or not, without this
the FM rec debug build fails miserably.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3292 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/Makefile b/apps/Makefile index 648bdf992e..f033ef3119 100644 --- a/apps/Makefile +++ b/apps/Makefile | |||
@@ -23,15 +23,14 @@ INCLUDES= -I$(FIRMWARE)/include -I$(FIRMWARE)/export -I. -I$(OBJDIR) | |||
23 | CFLAGS = -O -W -Wall -m1 -nostdlib -ffreestanding -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) $(DEFINES) -DAPPSVERSION=\"$(VERSION)\" $(EXTRA_DEFINES) | 23 | CFLAGS = -O -W -Wall -m1 -nostdlib -ffreestanding -Wstrict-prototypes -fomit-frame-pointer -fschedule-insns $(INCLUDES) $(TARGET) $(DEFINES) -DAPPSVERSION=\"$(VERSION)\" $(EXTRA_DEFINES) |
24 | AFLAGS += -small -relax | 24 | AFLAGS += -small -relax |
25 | 25 | ||
26 | # Check if this is a kind of Recorder | ||
27 | ANYREC = $(findstring RECORDER, $(TARGET)) | ||
28 | |||
26 | ifdef DEBUG | 29 | ifdef DEBUG |
27 | DEFINES := -DDEBUG | 30 | DEFINES := -DDEBUG |
28 | CFLAGS += -g | 31 | CFLAGS += -g |
29 | LDS := $(FIRMWARE)/gdb.lds | 32 | LDS := $(FIRMWARE)/gdb.lds |
30 | else | 33 | else |
31 | |||
32 | # Check if this is a kind of Recorder | ||
33 | ANYREC = $(findstring RECORDER, $(TARGET)) | ||
34 | |||
35 | ifeq ($(ANYREC), RECORDER) | 34 | ifeq ($(ANYREC), RECORDER) |
36 | LDS := $(FIRMWARE)/app.lds | 35 | LDS := $(FIRMWARE)/app.lds |
37 | else | 36 | else |