summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Carlsson <md1ulfc@mdstud.chalmers.se>2000-05-23 20:55:49 +0000
committerUlf Carlsson <md1ulfc@mdstud.chalmers.se>2000-05-23 20:55:49 +0000
commite9507dc38f2389904a06a446fd2dd02181a4bf23 (patch)
tree6d46b77711cea9db9f4da609a8010866ed8fcc51
parent4c8adc9e0415fbd396f96faeba0918b695ea8d8f (diff)
Add a rule for offset.h.
-rw-r--r--arch/mips/Makefile3
-rw-r--r--arch/mips64/Makefile3
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index baccc3980..b1eda1a5f 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -178,6 +178,9 @@ 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/mips64/Makefile b/arch/mips64/Makefile
index 218c22ec4..375d8bb95 100644
--- a/arch/mips64/Makefile
+++ b/arch/mips64/Makefile
@@ -126,6 +126,9 @@ 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 $< $@