summaryrefslogtreecommitdiff
path: root/libcheckers
diff options
context:
space:
mode:
authorroot <root@potab.(none)>2005-08-18 20:43:04 +0200
committerroot <root@potab.(none)>2005-08-18 20:43:04 +0200
commitb1f0e502068c498011ebfbc57d45e0352da0e26a (patch)
treecd29a0897e0092994e5ea1b64a487ac475cf11a7 /libcheckers
parentc4a1bd0c68d1717423f4839ba02cef6bfecb7fa6 (diff)
downloadmultipath-tools-b1f0e502068c498011ebfbc57d45e0352da0e26a.tar.gz
multipath-tools-b1f0e502068c498011ebfbc57d45e0352da0e26a.tar.bz2
multipath-tools-b1f0e502068c498011ebfbc57d45e0352da0e26a.zip
[build] be smarter at guessing when libs rebuild is needed
Without breaking the klibc stuff. Total build time shortened a lot on small systems.
Diffstat (limited to 'libcheckers')
-rw-r--r--libcheckers/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcheckers/Makefile b/libcheckers/Makefile
index 0230039..c737da1 100644
--- a/libcheckers/Makefile
+++ b/libcheckers/Makefile
@@ -11,7 +11,7 @@ OBJS = readsector0.o tur.o selector.o emc_clariion.o hp_sw.o
all: $(BUILD)
prepare:
- rm -f core *.o *.gz
+ @file *-$(BUILD).a >/dev/null 2>&1 || rm -f core *.o *.gz
klibc: prepare $(OBJS)
ar rs libcheckers-klibc.a *.o