Files
xen/tools
David Woodhouse f10df652c7 build: add -MP to CFLAGS along with -MMD
This causes gcc (yes, and clang) to emit phony targets for each dependency.

This means that when a header file is deleted, the C files which *used*
to include it will no longer stop building with bogus out-of-date
dependencies like this:

  make[5]: *** No rule to make target
  '/home/dwmw2/git/xen/xen/include/asm/hvm/svm/amd-iommu-proto.h',
  needed by 'p2m.o'. Stop.

Based on -MP post-dating -MP by many years it is assumed that the
behavior of -MP isn't the defualt just out of extreme caution. We're
sufficiently convinced that there are no undue side effects of this.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
2020-03-24 10:43:51 +01:00
..
2019-11-12 10:39:01 +00:00
2020-01-20 12:15:43 +00:00
2019-11-12 10:39:01 +00:00
2020-02-10 13:09:54 +00:00
2020-02-10 10:58:07 +00:00
2020-02-11 11:24:33 +00:00
2020-02-11 11:24:33 +00:00