diff options
author | Harald Koerfgen <hkoerfg@web.de> | 2000-05-27 11:53:31 +0000 |
---|---|---|
committer | Harald Koerfgen <hkoerfg@web.de> | 2000-05-27 11:53:31 +0000 |
commit | e470e08013cd91396fa3cb40b2517b94b84e47d7 (patch) | |
tree | 9365fb7f097c461dcf35f28444079eb1ee5a0ca3 /arch/mips | |
parent | dde479a0a4a8fb3c3a622eb2e263b055a76540aa (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')
-rw-r--r-- | arch/mips/Makefile | 7 | ||||
-rw-r--r-- | arch/mips/boot/Makefile | 3 | ||||
-rw-r--r-- | arch/mips/tools/Makefile | 5 |
3 files changed, 13 insertions, 2 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 diff --git a/arch/mips/boot/Makefile b/arch/mips/boot/Makefile index 1ae3a3fd6..5c2a50a0c 100644 --- a/arch/mips/boot/Makefile +++ b/arch/mips/boot/Makefile @@ -46,6 +46,9 @@ dep: clean: rm -f vmlinux.ecoff + +mrproper: + rm -f vmlinux.ecoff rm -f addinitrd rm -f elf2ecoff 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 |