summaryrefslogtreecommitdiffstats
path: root/arch
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
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')
-rw-r--r--arch/mips/tools/Makefile3
-rw-r--r--arch/mips64/tools/Makefile3
2 files changed, 2 insertions, 4 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
diff --git a/arch/mips64/tools/Makefile b/arch/mips64/tools/Makefile
index 033c4eedd..748c22039 100644
--- a/arch/mips64/tools/Makefile
+++ b/arch/mips64/tools/Makefile
@@ -19,11 +19,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