[PATCH 0/7] MIPS: boot: fix various problems in arch/mips/boot/Makefile

From: Masahiro Yamada
Date: Mon Apr 16 2018 - 10:50:02 EST



When I was trying to fix commit 0f9da844d877 in a more correct way,
I found various problems in arch/mips/boot/Makefile.

ITS is always rebuilt when you rebuild the kernel without touching
anything. Many build rules are wrong.

If you look at the last patch in this series, you may realize
supporting ITB building in the kernel can cause nasty problems.
Personally, I do not like it, but I tried my best to fix the problems.

With this series, ITB is rebuilt only when necessary.



Masahiro Yamada (7):
Revert "MIPS: boot: Define __ASSEMBLY__ for its.S build"
MIPS: boot: do not include $(cpp_flags) for preprocessing ITS
MIPS: boot: fix build rule of vmlinux.its.S
MIPS: boot: correct prerequisite image of vmlinux.*.its
MIPS: boot: add missing targets for vmlinux.*.its
MIPS: boot: merge build rules of vmlinux.*.itb by using pattern rule
MIPS: boot: rebuild ITB when contained DTB is updated

arch/mips/boot/Makefile | 69 ++++++++++++++++++++++++++-----------------------
1 file changed, 37 insertions(+), 32 deletions(-)

--
2.7.4