diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-01-27 11:54:22 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-01-27 11:54:22 +0000 |
commit | 800dcd89f7cba65e330858ebd6a55dc035f21ef1 (patch) | |
tree | b614a949465a447b6e1b01e9a51cb8962394c39b /xen/include/Makefile | |
parent | e65026569ef328c5cfe89eb37dc57e375a14b2aa (diff) | |
download | xen-800dcd89f7cba65e330858ebd6a55dc035f21ef1.tar.gz xen-800dcd89f7cba65e330858ebd6a55dc035f21ef1.tar.bz2 xen-800dcd89f7cba65e330858ebd6a55dc035f21ef1.zip |
x86-64: don't generate dependency files when building compat headers
The generated dependency files weren't correct (as their names get
derived only from the base name of the target file, and there are
public headers with the same base name in different directories), not
needed (as the makefile already listed all necessary dependencies
explicitly), and resulted in the first re-build in an already built
tree to be an almost full re-build since the *.c files explicitly
mentioned in the .*.d result in make not considering them as
intermediate anymore, thus triggering re-generation of the headers,
and hence re-building of almost the entire tree.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/Makefile')
-rw-r--r-- | xen/include/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/Makefile b/xen/include/Makefile index 64ae8c92f0..8427371596 100644 --- a/xen/include/Makefile +++ b/xen/include/Makefile @@ -51,7 +51,7 @@ compat/%.h: compat/%.i Makefile mv -f $@.new $@ compat/%.i: compat/%.c Makefile - $(CPP) $(CFLAGS) $(cppflags-y) -o $@ $< + $(CPP) $(filter-out -M% .%.d,$(CFLAGS)) $(cppflags-y) -o $@ $< compat/%.c: public/%.h xlat.lst Makefile mkdir -p $(@D) |