summaryrefslogtreecommitdiff
path: root/apps/Makefile
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-10-07 08:20:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-10-07 08:20:25 +0000
commit59bec2eaa06025fc9cc056318e60ba0c7ba208ff (patch)
tree88e1e39ca1863a5ef33b2e486d555aee6b7f3ad1 /apps/Makefile
parenta97fe2514d505cb4d55b73ac86367f0fb8cf8ba8 (diff)
downloadrockbox-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/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" ; \