summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2008-11-20 16:49:55 +0000
committerBjörn Stenberg <bjorn@haxx.se>2008-11-20 16:49:55 +0000
commit303b455ceb0ed19875a370d4a12c0aaaf8ed3cc7 (patch)
treec6c88e96fd438df05aed5240d5fd04cc98bc6caf /apps/plugins
parent7677916aa0a58fc9411d80927002b68bd4cfeeae (diff)
downloadrockbox-303b455ceb0ed19875a370d4a12c0aaaf8ed3cc7.tar.gz
rockbox-303b455ceb0ed19875a370d4a12c0aaaf8ed3cc7.zip
Remove .a files before running ar, to avoid problems with renamed files remaining in the library.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19160 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/bitmaps/pluginbitmaps.make1
-rw-r--r--apps/plugins/plugins.make1
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/bitmaps/pluginbitmaps.make b/apps/plugins/bitmaps/pluginbitmaps.make
index 7dbcc0bdff..8fc4302087 100644
--- a/apps/plugins/bitmaps/pluginbitmaps.make
+++ b/apps/plugins/bitmaps/pluginbitmaps.make
@@ -37,6 +37,7 @@ PBMPHFILES := $(shell echo $(PBMPHFILES) | sed -e 's/\.[0-9x]\+\.bmp/.h/g' -e '
37$(PBMPHFILES): $(PLUGIN_BITMAPS) 37$(PBMPHFILES): $(PLUGIN_BITMAPS)
38 38
39$(PLUGINBITMAPLIB): $(PLUGIN_BITMAPS) 39$(PLUGINBITMAPLIB): $(PLUGIN_BITMAPS)
40 $(SILENT)$(shell rm -f $@)
40 $(call PRINTS,AR $(@F))$(AR) rs $@ $+ >/dev/null 2>&1 41 $(call PRINTS,AR $(@F))$(AR) rs $@ $+ >/dev/null 2>&1
41 42
42# pattern rules to create .c files from .bmp, one for each subdir: 43# pattern rules to create .c files from .bmp, one for each subdir:
diff --git a/apps/plugins/plugins.make b/apps/plugins/plugins.make
index 9fff82d832..fdaae3e54c 100644
--- a/apps/plugins/plugins.make
+++ b/apps/plugins/plugins.make
@@ -40,6 +40,7 @@ PLUGINFLAGS = -I$(APPSDIR)/plugins -DPLUGIN $(CFLAGS)
40$(ROCKS): $(PLUGINLIB) $(APPSDIR)/plugin.h $(PLUGINLINK_LDS) $(PLUGINBITMAPLIB) 40$(ROCKS): $(PLUGINLIB) $(APPSDIR)/plugin.h $(PLUGINLINK_LDS) $(PLUGINBITMAPLIB)
41 41
42$(PLUGINLIB): $(PLUGINLIB_OBJ) 42$(PLUGINLIB): $(PLUGINLIB_OBJ)
43 $(SILENT)$(shell rm -f $@)
43 $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1 44 $(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
44 45
45$(PLUGINLINK_LDS): $(PLUGIN_LDS) 46$(PLUGINLINK_LDS): $(PLUGIN_LDS)