summaryrefslogtreecommitdiffstats
path: root/arch/mips/Makefile
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/Makefile
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/Makefile')
-rw-r--r--arch/mips/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index baccc3980..e1bb00596 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -193,6 +193,11 @@ archclean:
$(MAKE) -C arch/mips/baget clean
archmrproper:
-
+ @$(MAKEBOOT) mrproper
+ $(MAKE) -C arch/$(ARCH)/tools mrproper
+
archdep:
+ if [ ! -f $(TOPDIR)/include/asm-$(ARCH)/offset.h ]; then \
+ touch $(TOPDIR)/include/asm-$(ARCH)/offset.h; \
+ fi;
@$(MAKEBOOT) dep