summaryrefslogtreecommitdiff
path: root/apps/plugins/plugins.make
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/plugins.make')
-rw-r--r--apps/plugins/plugins.make4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/plugins.make b/apps/plugins/plugins.make
index 8be87b9..58e0547 100644
--- a/apps/plugins/plugins.make
+++ b/apps/plugins/plugins.make
@@ -94,8 +94,8 @@ else
$(SILENT)$(OC) -O binary $(BUILDDIR)/$*.elf $@
endif
-$(BUILDDIR)/%.refmap: $(BUILDDIR)/%.o $(OVERLAYREF_LDS) $(PLUGINLIB) $(PLUGINBITMAPLIB)
+$(BUILDDIR)/%.refmap: $(BUILDDIR)/%.o $(APPSDIR)/plugin.h $(OVERLAYREF_LDS) $(PLUGINLIB) $(PLUGINBITMAPLIB)
$(call PRINTS,LD $(@F))$(CC) $(PLUGINFLAGS) -o /dev/null \
$(filter %.o, $^) \
- $(filter %.a, $^) \
+ $(filter %.a, $+) \
-lgcc $(OVERLAYLDFLAGS)