summaryrefslogtreecommitdiffstats
path: root/arch/mips/tools
diff options
context:
space:
mode:
authorHarald Koerfgen <hkoerfg@web.de>2000-05-27 11:53:31 +0000
committerHarald Koerfgen <hkoerfg@web.de>2000-05-27 11:53:31 +0000
commite470e08013cd91396fa3cb40b2517b94b84e47d7 (patch)
tree9365fb7f097c461dcf35f28444079eb1ee5a0ca3 /arch/mips/tools
parentdde479a0a4a8fb3c3a622eb2e263b055a76540aa (diff)
Next iteration, that should be it [tm].
* offset.h now depends on include/linux/autoconf.h as suggested by Ulf. That doesn't really make a difference, but it feels better :) * If include/asm-$(ARCH)/offset.h doesn't exist during a "make dep", create an empty one so that the dependecies are built correctly. That seems to be the correct fix. * Added a mrproper target to arch/$(ARCH)/tools/Makefile so that "make dep clean vmlinux" works. include/asm-$(ARCH)/offset.h is now beeing deleted with a "make mrproper". * While beeing at it, I added a mrproper target in arch/$(ARCH)/boot/Makefile as well. I'd appreciate if someone with a working MIPS64 toolchain (hint, hint) could check if this works as expected for MIPS64. Toggling CONFIG_SMP should rebuild nearly the whole kernel without the need for a "make clean" or something like that.
Diffstat (limited to 'arch/mips/tools')
-rw-r--r--arch/mips/tools/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/mips/tools/Makefile b/arch/mips/tools/Makefile
index e8474a4c2..6b6c39c65 100644
--- a/arch/mips/tools/Makefile
+++ b/arch/mips/tools/Makefile
@@ -18,10 +18,13 @@ $(TARGET): offset.h
offset.h: offset.s
sed -n '/^@@@/s///p' $^ >$@
-offset.s: offset.c $(TOPDIR)/.config
+offset.s: offset.c $(TOPDIR)/include/linux/autoconf.h
clean:
rm -f offset.[hs] $(TARGET).new
+
+mrproper:
+ rm -f offset.[hs] $(TARGET).new
rm -f $(TARGET)
include $(TOPDIR)/Rules.make