Files
linux/scripts
Masahiro Yamada 5478e5fddc kbuild: modpost: include .*.cmd files only when targets exist
commit 944cfe9be1 upstream.

If a build rule fails, the .DELETE_ON_ERROR special target removes the
target, but does nothing for the .*.cmd file, which might be corrupted.
So, .*.cmd files should be included only when the corresponding targets
exist.

Commit 392885ee82 ("kbuild: let fixdep directly write to .*.cmd
files") missed to fix up this file.

Fixes: 392885ee82 ("kbuild: let fixdep directly write to .*.cmd")
Cc: <stable@vger.kernel.org> # v5.0+
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-08-06 19:08:14 +02:00
..
2017-03-28 16:16:52 +02:00
2019-05-06 11:12:09 -07:00
2014-08-20 16:03:45 +02:00