diff options
Diffstat (limited to 'apps/Makefile')
-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" ; \ |