diff options
author | Harald Koerfgen <hkoerfg@web.de> | 2000-05-24 18:39:10 +0000 |
---|---|---|
committer | Harald Koerfgen <hkoerfg@web.de> | 2000-05-24 18:39:10 +0000 |
commit | bd1d82abf8a10ba3c48783fcceb1211792777ef3 (patch) | |
tree | bc54582b8109a2a2ab3da2fcd9e7cb253e9b488a | |
parent | 43ce646d0fe5cc4efe6e2847fd3503a4956f64ff (diff) |
Further stresstesting revealed weaknesses in my first proposal.
This one survives "make distclean" and "make dep clean vmlinux".
-rw-r--r-- | arch/mips/tools/Makefile | 6 | ||||
-rw-r--r-- | arch/mips64/tools/Makefile | 6 | ||||
-rw-r--r-- | include/asm-mips/offset.h | 1 | ||||
-rw-r--r-- | include/asm-mips64/offset.h | 1 |
4 files changed, 6 insertions, 8 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 diff --git a/arch/mips64/tools/Makefile b/arch/mips64/tools/Makefile index 79e46e7d2..033c4eedd 100644 --- a/arch/mips64/tools/Makefile +++ b/arch/mips64/tools/Makefile @@ -13,8 +13,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)) @@ -25,7 +23,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 diff --git a/include/asm-mips/offset.h b/include/asm-mips/offset.h index e69de29bb..2997587d8 100644 --- a/include/asm-mips/offset.h +++ b/include/asm-mips/offset.h @@ -0,0 +1 @@ +/* dummy */ diff --git a/include/asm-mips64/offset.h b/include/asm-mips64/offset.h index e69de29bb..2997587d8 100644 --- a/include/asm-mips64/offset.h +++ b/include/asm-mips64/offset.h @@ -0,0 +1 @@ +/* dummy */ |