summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-11-25 09:52:19 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 22:44:26 -0700
commit9aa0485c97d1b02a39550e3be31c37520a0d0620 (patch)
tree93b0969295f51c869e41865c000cdceafd5e5064
parent7c2aae11ff58b4e495a351d8025b5d4bbb0ce502 (diff)
[PATCH] remove archive file if we changed something
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 55c51fd2a8..e966591b52 100644
--- a/Makefile
+++ b/Makefile
@@ -252,14 +252,17 @@ else
endif
udev.a: $(UDEV_OBJS)
+ rm -f $@
$(QUIET) $(AR) cq $@ $(UDEV_OBJS)
$(QUIET) $(RANLIB) $@
libsysfs/sysfs.a: $(SYSFS_OBJS)
+ rm -f $@
$(QUIET) $(AR) cq $@ $(SYSFS_OBJS)
$(QUIET) $(RANLIB) $@
klibc_fixups/klibc_fixups.a: $(KLIBC_FIXUP_OBJS)
+ rm -f $@
$(QUIET) $(AR) cq $@ $(KLIBC_FIXUP_OBJS)
$(QUIET) $(RANLIB) $@