diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-10-07 08:20:25 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-10-07 08:20:25 +0000 |
commit | 59bec2eaa06025fc9cc056318e60ba0c7ba208ff (patch) | |
tree | 88e1e39ca1863a5ef33b2e486d555aee6b7f3ad1 /apps | |
parent | a97fe2514d505cb4d55b73ac86367f0fb8cf8ba8 (diff) | |
download | rockbox-59bec2eaa06025fc9cc056318e60ba0c7ba208ff.tar.gz rockbox-59bec2eaa06025fc9cc056318e60ba0c7ba208ff.zip |
don't build UCL files for targets that don't support flashing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5204 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/Makefile b/apps/Makefile index 12d4c85fd9..9dee7cbcca 100644 --- a/apps/Makefile +++ b/apps/Makefile | |||
@@ -21,9 +21,6 @@ endif | |||
21 | SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - ) | 21 | SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - ) |
22 | DIRS = . | 22 | DIRS = . |
23 | 23 | ||
24 | # set the ROMTARGET here | ||
25 | ROMTARGET := $(ARCHOSROM) | ||
26 | |||
27 | ifdef APPEXTRA | 24 | ifdef APPEXTRA |
28 | DIRS += $(APPEXTRA) | 25 | DIRS += $(APPEXTRA) |
29 | INCLUDES += -I$(APPEXTRA) | 26 | INCLUDES += -I$(APPEXTRA) |
@@ -42,7 +39,7 @@ MAXOUTFILE = $(OBJDIR)/romstart | |||
42 | ifdef DEBUG | 39 | ifdef DEBUG |
43 | all: $(OBJDIR)/rockbox.elf rocks | 40 | all: $(OBJDIR)/rockbox.elf rocks |
44 | else | 41 | else |
45 | all: $(OBJDIR)/$(BINARY) $(OBJDIR)/rockbox.ucl rocks $(ROMTARGET) | 42 | all: $(OBJDIR)/$(BINARY) $(FLASHFILE) rocks $(ARCHOSROM) |
46 | endif | 43 | endif |
47 | 44 | ||
48 | dep: $(DEPFILE) | 45 | dep: $(DEPFILE) |
@@ -101,7 +98,7 @@ $(OBJDIR)/rockbox.ucl: $(OBJDIR)/rockbox.bin | |||
101 | echo "fake" > $@; \ | 98 | echo "fake" > $@; \ |
102 | fi | 99 | fi |
103 | 100 | ||
104 | $(ARCHOSROM): $(OBJDIR)/rombox.bin $(MAXOUTFILE) | 101 | $(OBJDIR)/rombox.ucl: $(OBJDIR)/rombox.bin $(MAXOUTFILE) |
105 | @a=`uclpack -h 2>/dev/null`; \ | 102 | @a=`uclpack -h 2>/dev/null`; \ |
106 | if test -n "$$a"; then \ | 103 | if test -n "$$a"; then \ |
107 | echo "UCLPACK rombox" ; \ | 104 | echo "UCLPACK rombox" ; \ |