aboutsummaryrefslogtreecommitdiffstats
path: root/xen/Rules.mk
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/Rules.mk
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/Rules.mk')
-rw-r--r--xen/Rules.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/Rules.mk b/xen/Rules.mk
index 37c6a79987..507e9abe38 100644
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -41,7 +41,7 @@ ALL_OBJS-y += $(BASEDIR)/xsm/built_in.o
ALL_OBJS-y += $(BASEDIR)/arch/$(TARGET_ARCH)/built_in.o
ALL_OBJS-$(x86) += $(BASEDIR)/crypto/built_in.o
-CFLAGS-y += -g -D__XEN__ --include $(BASEDIR)/include/xen/config.h
+CFLAGS-y += -g -D__XEN__ -include $(BASEDIR)/include/xen/config.h
CFLAGS-$(XSM_ENABLE) += -DXSM_ENABLE
CFLAGS-$(FLASK_ENABLE) += -DFLASK_ENABLE -DXSM_MAGIC=0xf97cff8c
CFLAGS-$(FLASK_ENABLE) += -DFLASK_DEVELOP -DFLASK_BOOTPARAM -DFLASK_AVC_STATS
@@ -59,7 +59,7 @@ ifneq ($(max_phys_irqs),)
CFLAGS-y += -DMAX_PHYS_IRQS=$(max_phys_irqs)
endif
-AFLAGS-y += -D__ASSEMBLY__ --include $(BASEDIR)/include/xen/config.h
+AFLAGS-y += -D__ASSEMBLY__ -include $(BASEDIR)/include/xen/config.h
# Clang's built-in assembler can't handle .code16/.code32/.code64 yet
AFLAGS-$(clang) += -no-integrated-as