aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/Makefile
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2012-01-16 09:55:05 +0100
committerJan Beulich <jbeulich@suse.com>2012-01-16 09:55:05 +0100
commit943da2282a3c370a33157e9c77a24d5f2f791538 (patch)
tree6cd4d6a771d9d2ebd226b170060b89c008d8aa45 /xen/include/Makefile
parent3d4a6199ad1311e86317152e30a7f888ab36c60f (diff)
downloadxen-943da2282a3c370a33157e9c77a24d5f2f791538.tar.gz
xen-943da2282a3c370a33157e9c77a24d5f2f791538.tar.bz2
xen-943da2282a3c370a33157e9c77a24d5f2f791538.zip
fix compat header generation after 24503:86b8a1e3a419
At once also remove the duplicate forced inclusion of public/xen-compat.h there (it's already done through cppflags-y) and convert --include to the canonical -include in said c/s' adjustments to CFLAGS-y and AFLAGS-y. Signed-off-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'xen/include/Makefile')
-rw-r--r--xen/include/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/Makefile b/xen/include/Makefile
index 420294cc99..004c9ccef5 100644
--- a/xen/include/Makefile
+++ b/xen/include/Makefile
@@ -57,7 +57,7 @@ compat/%.h: compat/%.i Makefile $(BASEDIR)/tools/compat-build-header.py
mv -f $@.new $@
compat/%.i: compat/%.c Makefile
- $(CPP) -include public/xen-compat.h $(filter-out -M% .%.d,$(CFLAGS)) $(cppflags-y) -o $@ $<
+ $(CPP) $(filter-out -M% .%.d -include %/include/xen/config.h,$(CFLAGS)) $(cppflags-y) -o $@ $<
compat/%.c: public/%.h xlat.lst Makefile $(BASEDIR)/tools/compat-build-source.py
mkdir -p $(@D)