Re: [PATCH] KVM: selftests: add -MP to CFLAGS

2023-11-29 Thread Sean Christopherson
On Sat, 28 Oct 2023 20:34:53 +0100, David Woodhouse wrote: > Using -MD without -MP causes build failures when a header file is deleted > or moved. With -MP, the compiler will emit phony targets for the header > files it lists as dependencies, and the Makefiles won't refuse to attempt > to rebuild a

Re: [PATCH] KVM: selftests: add -MP to CFLAGS

2023-10-30 Thread David Woodhouse
On Mon, 2023-10-30 at 10:08 +, David Laight wrote: > From: David Woodhouse > > Sent: 30 October 2023 09:46 > > > > On Sun, 2023-10-29 at 21:13 +, David Laight wrote: > > > From: David Woodhouse > > > > Sent: 28 October 2023 20:35 > > > > > > > > Using -MD without -MP causes build failures

RE: [PATCH] KVM: selftests: add -MP to CFLAGS

2023-10-30 Thread David Laight
From: David Woodhouse > Sent: 30 October 2023 09:46 > > On Sun, 2023-10-29 at 21:13 +, David Laight wrote: > > From: David Woodhouse > > > Sent: 28 October 2023 20:35 > > > > > > Using -MD without -MP causes build failures when a header file is deleted > > > or moved. With -MP, the compiler wi

Re: [PATCH] KVM: selftests: add -MP to CFLAGS

2023-10-30 Thread David Woodhouse
On Sun, 2023-10-29 at 21:13 +, David Laight wrote: > From: David Woodhouse > > Sent: 28 October 2023 20:35 > > > > Using -MD without -MP causes build failures when a header file is deleted > > or moved. With -MP, the compiler will emit phony targets for the header > > files it lists as depende

RE: [PATCH] KVM: selftests: add -MP to CFLAGS

2023-10-29 Thread David Laight
From: David Woodhouse > Sent: 28 October 2023 20:35 > > Using -MD without -MP causes build failures when a header file is deleted > or moved. With -MP, the compiler will emit phony targets for the header > files it lists as dependencies, and the Makefiles won't refuse to attempt > to rebuild a C u

[PATCH] KVM: selftests: add -MP to CFLAGS

2023-10-28 Thread David Woodhouse
From: David Woodhouse Using -MD without -MP causes build failures when a header file is deleted or moved. With -MP, the compiler will emit phony targets for the header files it lists as dependencies, and the Makefiles won't refuse to attempt to rebuild a C unit which no longer includes the delete