summaryrefslogtreecommitdiffstats
path: root/arch/mips/tools
diff options
context:
space:
mode:
authorHarald Koerfgen <hkoerfg@web.de>2000-05-26 19:35:56 +0000
committerHarald Koerfgen <hkoerfg@web.de>2000-05-26 19:35:56 +0000
commit8be33b4a06c66b9f333ff106213280815a22901c (patch)
tree9c178fe0980c962450b5c699621f3df15a4d0963 /arch/mips/tools
parente3f4987b05b99df724313e4906971e0c2392e9d5 (diff)
This should resolve most of the offset.h issues which popped up lately, I hope.
* #include <asm/offset.h> #ifdef'd: init/main.c and $(arch)/tools/offset.c compile without include/asm-$(ARCH)/offset.h. * include/asm-$(ARCH)/offset.h is now depending on $(TOPDIR)/.config: offset.h is beeing rebuilt when .config changes. Please don't count on that, makedep doesn't do it's job very well in this case and objects depending on offset.h aren't neccesarily rebuilt :(
Diffstat (limited to 'arch/mips/tools')
-rw-r--r--arch/mips/tools/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/tools/Makefile b/arch/mips/tools/Makefile
index ec51fc544..e8474a4c2 100644
--- a/arch/mips/tools/Makefile
+++ b/arch/mips/tools/Makefile
@@ -18,11 +18,10 @@ $(TARGET): offset.h
offset.h: offset.s
sed -n '/^@@@/s///p' $^ >$@
-offset.s: offset.c
+offset.s: offset.c $(TOPDIR)/.config
clean:
rm -f offset.[hs] $(TARGET).new
rm -f $(TARGET)
- echo "/* dummy */" >$(TARGET)
include $(TOPDIR)/Rules.make