aboutsummaryrefslogtreecommitdiffstats
path: root/xen/Rules.mk
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2013-09-09 14:35:29 +0200
committerJan Beulich <jbeulich@suse.com>2013-09-09 14:35:29 +0200
commit6ad580d8685190585ba27e996be7e1a730d2a317 (patch)
treeff309ebcd5a047cf41b1b629a2a52cfa7a768d42 /xen/Rules.mk
parent0fbf3208d9c1a568aeeb61d9f4fbca03b1cfa1f8 (diff)
downloadxen-6ad580d8685190585ba27e996be7e1a730d2a317.tar.gz
xen-6ad580d8685190585ba27e996be7e1a730d2a317.tar.bz2
xen-6ad580d8685190585ba27e996be7e1a730d2a317.zip
EFI: fix tool chain capabilities detection
Commit f5a54e92 ("xen: move some arch CFLAGS into the common Rules.mk") transformed CFLAGS assignments to CFLAGS-y ones, which collides with the was xen/arch/x86/efi/Makefile determines whether the tol chain is usable for an EFI build. Transform the block back to using CFLAGS. Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Tim Deegan <tim@xen.org> Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/Rules.mk')
-rw-r--r--xen/Rules.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/xen/Rules.mk b/xen/Rules.mk
index bbfc1acc3c..736882a8e1 100644
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -41,13 +41,12 @@ 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 += -fno-builtin -fno-common
-CFLAGS-y += -Werror -Wredundant-decls -Wno-pointer-arith
-CFLAGS-y += -pipe
-CFLAGS-y += -g -D__XEN__ -include $(BASEDIR)/include/xen/config.h
+CFLAGS += -fno-builtin -fno-common
+CFLAGS += -Werror -Wredundant-decls -Wno-pointer-arith
+CFLAGS += -pipe -g -D__XEN__ -include $(BASEDIR)/include/xen/config.h
# Solaris puts stdarg.h &c in the system include directory.
ifneq ($(XEN_OS),SunOS)
-CFLAGS-y += -nostdinc -iwithprefix include
+CFLAGS += -nostdinc -iwithprefix include
endif
CFLAGS-$(XSM_ENABLE) += -DXSM_ENABLE