summaryrefslogtreecommitdiff
path: root/apps/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/Makefile')
-rw-r--r--apps/Makefile7
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
21SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - ) 21SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - )
22DIRS = . 22DIRS = .
23 23
24# set the ROMTARGET here
25ROMTARGET := $(ARCHOSROM)
26
27ifdef APPEXTRA 24ifdef APPEXTRA
28 DIRS += $(APPEXTRA) 25 DIRS += $(APPEXTRA)
29 INCLUDES += -I$(APPEXTRA) 26 INCLUDES += -I$(APPEXTRA)
@@ -42,7 +39,7 @@ MAXOUTFILE = $(OBJDIR)/romstart
42ifdef DEBUG 39ifdef DEBUG
43all: $(OBJDIR)/rockbox.elf rocks 40all: $(OBJDIR)/rockbox.elf rocks
44else 41else
45all: $(OBJDIR)/$(BINARY) $(OBJDIR)/rockbox.ucl rocks $(ROMTARGET) 42all: $(OBJDIR)/$(BINARY) $(FLASHFILE) rocks $(ARCHOSROM)
46endif 43endif
47 44
48dep: $(DEPFILE) 45dep: $(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" ; \