summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-03-06 23:31:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-03-06 23:31:36 +0000
commit5152eca7d40a1dae57c51f4dfe635c683291ad34 (patch)
treea4737ae625f993d119089ba6f46f7d058eb2f93d /apps/plugins
parente78186f4cfe0adae87cf499b73a75807d019d9bc (diff)
downloadrockbox-5152eca7d40a1dae57c51f4dfe635c683291ad34.tar.gz
rockbox-5152eca7d40a1dae57c51f4dfe635c683291ad34.zip
do the SOURCES magic correct here too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6160 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile
index fdabc8cf22..651a26c49e 100644
--- a/apps/plugins/Makefile
+++ b/apps/plugins/Makefile
@@ -24,8 +24,9 @@ LDS := plugin.lds
24LINKFILE := $(OBJDIR)/pluginlink.lds 24LINKFILE := $(OBJDIR)/pluginlink.lds
25DEPFILE = $(OBJDIR)/dep-plugins 25DEPFILE = $(OBJDIR)/dep-plugins
26 26
27SRC := $(shell cat SOURCES | gcc -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) \ 27# This sets up 'SRC' based on the files mentioned in SOURCES
28 $(TARGET) $(DEFINES) $(EXTRA_DEFINES) -E -P -include "config.h" - ) 28include $(TOOLSDIR)/makesrc.inc
29
29ROCKS := $(SRC:%.c=$(OBJDIR)/%.rock) 30ROCKS := $(SRC:%.c=$(OBJDIR)/%.rock)
30SOURCES = $(SRC) 31SOURCES = $(SRC)
31ELFS := $(SRC:%.c=$(OBJDIR)/%.elf) 32ELFS := $(SRC:%.c=$(OBJDIR)/%.elf)