x86/purgatory: Avoid creating stray .<pid>.d files, remove -MD from KBUILD_CFLAGS
authorSven Wegener <sven.wegener@stealer.net>
Sat, 24 Mar 2018 21:21:13 +0000 (22:21 +0100)
committerIngo Molnar <mingo@kernel.org>
Sun, 25 Mar 2018 09:04:02 +0000 (11:04 +0200)
commite847f6aaf68f6156a5e9b26afe1a7316b9ab697e
tree8030f7b54a639f891fbe743c650c623d11a833fd
parentbcfc1f4554662d8f2429ac8bd96064a59c149754
x86/purgatory: Avoid creating stray .<pid>.d files, remove -MD from KBUILD_CFLAGS

The kernel build system already takes care of generating the dependency
files. Having the additional -MD in KBUILD_CFLAGS leads to stray
.<pid>.d files in the build directory when we call the cc-option macro.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matthias Kaehlcke <mka@chromium.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vivek Goyal <vgoyal@redhat.com>
Link: http://lkml.kernel.org/r/alpine.LNX.2.21.1803242219380.30139@titan.int.lan.stealer.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/purgatory/Makefile