summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHarald Koerfgen <hkoerfg@web.de>2000-05-24 17:34:21 +0000
committerHarald Koerfgen <hkoerfg@web.de>2000-05-24 17:34:21 +0000
commit43ce646d0fe5cc4efe6e2847fd3503a4956f64ff (patch)
tree53cfd7699bfedd67dba1ef761cd9d43553374c6a /arch
parente9507dc38f2389904a06a446fd2dd02181a4bf23 (diff)
no real solution for the offset.h-chicken-egg-problem, but this does all I wnat
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/Makefile3
-rw-r--r--arch/mips/tools/Makefile4
-rw-r--r--arch/mips64/Makefile3
-rw-r--r--arch/mips64/tools/Makefile4
4 files changed, 6 insertions, 8 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index b1eda1a5f..baccc3980 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -178,9 +178,6 @@ endif
MAKEBOOT = $(MAKE) -C arch/$(ARCH)/boot
-$(TOPDIR)/include/asm/offset.h:
- $(MAKE) -C arch/$(ARCH)/tools
-
zImage: vmlinux
@$(MAKEBOOT) zImage
diff --git a/arch/mips/tools/Makefile b/arch/mips/tools/Makefile
index 94cfc08a0..2e650873d 100644
--- a/arch/mips/tools/Makefile
+++ b/arch/mips/tools/Makefile
@@ -12,7 +12,7 @@ TARGET := $(TOPDIR)/include/asm-$(ARCH)/offset.h
.S.o:
$(CC) $(CFLAGS) -c $< -o $*.o
-all: $(TARGET)
+fastdep: $(TARGET)
$(TARGET): offset.h
cmp -s $^ $@ || (cp $^ $(TARGET).new && mv $(TARGET).new $(TARGET))
@@ -24,5 +24,7 @@ offset.s: offset.c
clean:
rm -f offset.[hs] $(TARGET).new
+ rm $(TARGET)
+ touch $(TARGET)
include $(TOPDIR)/Rules.make
diff --git a/arch/mips64/Makefile b/arch/mips64/Makefile
index 375d8bb95..218c22ec4 100644
--- a/arch/mips64/Makefile
+++ b/arch/mips64/Makefile
@@ -126,9 +126,6 @@ else
64bit-bfd = elf64-bigmips
endif
-$(TOPDIR)/include/asm/offset.h:
- $(MAKE) -C arch/$(ARCH)/tools
-
vmlinux.64: vmlinux
$(OBJCOPY) -O $(64bit-bfd) --change-addresses=0xa7ffffff80000000 $< $@
diff --git a/arch/mips64/tools/Makefile b/arch/mips64/tools/Makefile
index 6a7d7de6b..79e46e7d2 100644
--- a/arch/mips64/tools/Makefile
+++ b/arch/mips64/tools/Makefile
@@ -13,7 +13,7 @@ TARGET := $(TOPDIR)/include/asm-$(ARCH)/offset.h
.S.o:
$(CC) $(CFLAGS) -c $< -o $*.o
-all: $(TARGET)
+fastdep: $(TARGET)
$(TARGET): offset.h
cmp -s $^ $@ || (cp $^ $(TARGET).new && mv $(TARGET).new $(TARGET))
@@ -25,5 +25,7 @@ offset.s: offset.c
clean:
rm -f offset.[hs] $(TARGET).new
+ rm $(TARGET)
+ touch $(TARGET)
include $(TOPDIR)/Rules.make