summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)