summaryrefslogtreecommitdiffstats
path: root/apps/plugins/plugins.make
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-01-24 15:32:23 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-01-24 15:32:23 +0000
commita9e2a7148f7748129e5c7dafd043878dfcac5394 (patch)
tree4eb3fd7d9fb0c8e9337975faa444474a6aaa68c7 /apps/plugins/plugins.make
parentb2323be33b5a89cc244d4488b21263a359aced96 (diff)
downloadrockbox-a9e2a7148f7748129e5c7dafd043878dfcac5394.tar.gz
rockbox-a9e2a7148f7748129e5c7dafd043878dfcac5394.tar.bz2
rockbox-a9e2a7148f7748129e5c7dafd043878dfcac5394.zip
*.link: depends on config file where plugin buffer size is set
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24322 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/plugins.make')
-rw-r--r--apps/plugins/plugins.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/plugins.make b/apps/plugins/plugins.make
index 62640ab630..febc80ac95 100644
--- a/apps/plugins/plugins.make
+++ b/apps/plugins/plugins.make
@@ -28,6 +28,7 @@ PLUGINLIB_OBJ := $(subst $(ROOTDIR),$(BUILDDIR),$(PLUGINLIB_OBJ))
### build data / rules
ifndef SIMVER
+CONFIGFILE := $(FIRMDIR)/export/config/$(MODELNAME).h
PLUGIN_LDS := $(APPSDIR)/plugins/plugin.lds
PLUGINLINK_LDS := $(BUILDDIR)/apps/plugins/plugin.link
OVERLAYREF_LDS := $(BUILDDIR)/apps/plugins/overlay_ref.link
@@ -54,7 +55,7 @@ $(PLUGINLIB): $(PLUGINLIB_OBJ)
$(SILENT)$(shell rm -f $@)
$(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
-$(PLUGINLINK_LDS): $(PLUGIN_LDS)
+$(PLUGINLINK_LDS): $(PLUGIN_LDS) $(CONFIGFILE)
$(call PRINTS,PP $(@F))
$(shell mkdir -p $(dir $@))
$(call preprocess2file,$<,$@,-DLOADADDRESS=$(LOADADDRESS))