summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-10-07 08:32:50 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-10-07 08:32:50 +0000
commit5c437a355c23ab18439058e5e62b3727c5245e9c (patch)
tree5f8f998bf1b3326403e8c2ab9793d41bdbc7127b
parent59bec2eaa06025fc9cc056318e60ba0c7ba208ff (diff)
downloadrockbox-5c437a355c23ab18439058e5e62b3727c5245e9c.tar.gz
rockbox-5c437a355c23ab18439058e5e62b3727c5245e9c.zip
Don't build the rocks if ENABLEDPLUGINS isn't set
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5205 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 9dee7cbcca..897831e49a 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -18,6 +18,10 @@ ifdef DEBUG
18 CFLAGS += -g 18 CFLAGS += -g
19endif 19endif
20 20
21ifdef ENABLEDPLUGINS
22ROCKS=rocks
23endif
24
21SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - ) 25SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - )
22DIRS = . 26DIRS = .
23 27
@@ -37,9 +41,9 @@ MAXINFILE = $(OBJDIR)/romstart.temp
37MAXOUTFILE = $(OBJDIR)/romstart 41MAXOUTFILE = $(OBJDIR)/romstart
38 42
39ifdef DEBUG 43ifdef DEBUG
40all: $(OBJDIR)/rockbox.elf rocks 44all: $(OBJDIR)/rockbox.elf $(ROCKS)
41else 45else
42all: $(OBJDIR)/$(BINARY) $(FLASHFILE) rocks $(ARCHOSROM) 46all: $(OBJDIR)/$(BINARY) $(FLASHFILE) $(ROCKS) $(ARCHOSROM)
43endif 47endif
44 48
45dep: $(DEPFILE) 49dep: $(DEPFILE)