]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:51:04 +0000 (19:51 -0600)
commita33944acfb741311564e8aec61b678a8ebd04494
tree5fb04423027bc372ee893578071bd774b2ac7c74
parentfee768a8b9886666fd2a25ab0a5d4c071e21f90a
MIPS: boot: fix build rule of vmlinux.its.S

BugLink: https://bugs.launchpad.net/bugs/1836287
[ Upstream commit 67e09db507db3e1642ddce512a4313d20addd6e5 ]

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
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/mips/boot/Makefile