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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2023-10-29 at 21:13 +0000, 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 dependencies, and the Makefiles won't refuse to attempt
> > to rebuild a C unit which no longer includes the deleted header.
> 
> Won't a phony target stop a header being built if there is
> an actual rule to build it?

It probably would have taken you about the same time to find the answer
for yourself, as it took to write that email. Why don't you try it?

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux