diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-10-07 08:32:50 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-10-07 08:32:50 +0000 |
commit | 5c437a355c23ab18439058e5e62b3727c5245e9c (patch) | |
tree | 5f8f998bf1b3326403e8c2ab9793d41bdbc7127b /apps | |
parent | 59bec2eaa06025fc9cc056318e60ba0c7ba208ff (diff) | |
download | rockbox-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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/Makefile | 8 |
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 |
19 | endif | 19 | endif |
20 | 20 | ||
21 | ifdef ENABLEDPLUGINS | ||
22 | ROCKS=rocks | ||
23 | endif | ||
24 | |||
21 | SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - ) | 25 | SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - ) |
22 | DIRS = . | 26 | DIRS = . |
23 | 27 | ||
@@ -37,9 +41,9 @@ MAXINFILE = $(OBJDIR)/romstart.temp | |||
37 | MAXOUTFILE = $(OBJDIR)/romstart | 41 | MAXOUTFILE = $(OBJDIR)/romstart |
38 | 42 | ||
39 | ifdef DEBUG | 43 | ifdef DEBUG |
40 | all: $(OBJDIR)/rockbox.elf rocks | 44 | all: $(OBJDIR)/rockbox.elf $(ROCKS) |
41 | else | 45 | else |
42 | all: $(OBJDIR)/$(BINARY) $(FLASHFILE) rocks $(ARCHOSROM) | 46 | all: $(OBJDIR)/$(BINARY) $(FLASHFILE) $(ROCKS) $(ARCHOSROM) |
43 | endif | 47 | endif |
44 | 48 | ||
45 | dep: $(DEPFILE) | 49 | dep: $(DEPFILE) |