]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: .its targets depend on vmlinux
authorPaul Burton <paul.burton@imgtec.com>
Fri, 2 Jun 2017 19:02:08 +0000 (12:02 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 15 Jun 2017 09:48:15 +0000 (11:48 +0200)
commit0658d75397f935714c0e1407a1453b9122d96083
tree783c9cad6260b126e663092ee6aa4ced7b369329
parentf7b591480234763930e4a5444dbe022d7b531b39
MIPS: .its targets depend on vmlinux

The .its targets require information about the kernel binary, such as
its entry point, which is extracted from the vmlinux ELF. We therefore
require that the ELF is built before the .its files are generated.
Declare this requirement in the Makefile such that make will ensure this
is always the case, otherwise in corner cases we can hit issues as the
.its is generated with an incorrect (either invalid or stale) entry
point.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Fixes: 48b5444bebdc ("MIPS: Support generating Flattened Image Trees (.itb)")
Cc: linux-mips@linux-mips.org
Cc: stable <stable@vger.kernel.org> # v4.9+
Patchwork: https://patchwork.linux-mips.org/patch/16179/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/boot/Makefile