summaryrefslogtreecommitdiffstats
path: root/arch/mips/tools
diff options
context:
space:
mode:
authorHarald Koerfgen <hkoerfg@web.de>2000-05-24 18:39:10 +0000
committerHarald Koerfgen <hkoerfg@web.de>2000-05-24 18:39:10 +0000
commitbd1d82abf8a10ba3c48783fcceb1211792777ef3 (patch)
treebc54582b8109a2a2ab3da2fcd9e7cb253e9b488a /arch/mips/tools
parent43ce646d0fe5cc4efe6e2847fd3503a4956f64ff (diff)
Further stresstesting revealed weaknesses in my first proposal.
This one survives "make distclean" and "make dep clean vmlinux".
Diffstat (limited to 'arch/mips/tools')
-rw-r--r--arch/mips/tools/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/mips/tools/Makefile b/arch/mips/tools/Makefile
index 2e650873d..ec51fc544 100644
--- a/arch/mips/tools/Makefile
+++ b/arch/mips/tools/Makefile
@@ -12,8 +12,6 @@ TARGET := $(TOPDIR)/include/asm-$(ARCH)/offset.h
.S.o:
$(CC) $(CFLAGS) -c $< -o $*.o
-fastdep: $(TARGET)
-
$(TARGET): offset.h
cmp -s $^ $@ || (cp $^ $(TARGET).new && mv $(TARGET).new $(TARGET))
@@ -24,7 +22,7 @@ offset.s: offset.c
clean:
rm -f offset.[hs] $(TARGET).new
- rm $(TARGET)
- touch $(TARGET)
+ rm -f $(TARGET)
+ echo "/* dummy */" >$(TARGET)
include $(TOPDIR)/Rules.make