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.zip
rockbox-303b455ceb0ed19875a370d4a12c0aaaf8ed3cc7.tar.gz
rockbox-303b455ceb0ed19875a370d4a12c0aaaf8ed3cc7.tar.bz2
rockbox-303b455ceb0ed19875a370d4a12c0aaaf8ed3cc7.tar.xz
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 7dbcc0b..8fc4302 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 '
$(PBMPHFILES): $(PLUGIN_BITMAPS)
$(PLUGINBITMAPLIB): $(PLUGIN_BITMAPS)
+ $(SILENT)$(shell rm -f $@)
$(call PRINTS,AR $(@F))$(AR) rs $@ $+ >/dev/null 2>&1
# 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 9fff82d..fdaae3e 100644
--- a/apps/plugins/plugins.make
+++ b/apps/plugins/plugins.make
@@ -40,6 +40,7 @@ PLUGINFLAGS = -I$(APPSDIR)/plugins -DPLUGIN $(CFLAGS)
$(ROCKS): $(PLUGINLIB) $(APPSDIR)/plugin.h $(PLUGINLINK_LDS) $(PLUGINBITMAPLIB)
$(PLUGINLIB): $(PLUGINLIB_OBJ)
+ $(SILENT)$(shell rm -f $@)
$(call PRINTS,AR $(@F))$(AR) rs $@ $^ >/dev/null 2>&1
$(PLUGINLINK_LDS): $(PLUGIN_LDS)