OSDN Git Service

MIPS: boot: fix build rule of vmlinux.its.S
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 16 Apr 2018 14:47:43 +0000 (23:47 +0900)
committerPaul Burton <paul.burton@mips.com>
Sun, 24 Jun 2018 16:27:27 +0000 (09:27 -0700)
commit67e09db507db3e1642ddce512a4313d20addd6e5
treec9cd9dcae2aae551470f27636166e3872f4168e7
parent321f95b643573d689ac1fb5b68b90044ba47d1a4
MIPS: boot: fix build rule of vmlinux.its.S

As Documentation/kbuild/makefile.txt says, it is a typical mistake
to forget the FORCE prerequisite for the rule invoked by if_changed.

Add the FORCE to the prerequisite, but it must be filtered-out from
the files passed to the 'cat' command.  Because this rule generates
.vmlinux.its.S.cmd, vmlinux.its.S must be specified as targets so
that the .cmd file is included.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Patchwork: https://patchwork.linux-mips.org/patch/19097/
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: linux-kernel@vger.kernel.org
arch/mips/boot/Makefile