From: Keir Fraser Subject: Re: [PATCH] EFI: fix tool chain capabilities detection Date: Mon, 09 Sep 2013 04:18:46 -0700 Message-ID: References: <521B7A6802000078000EE6C7@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VIzUp-0002VY-V9 for xen-devel@lists.xenproject.org; Mon, 09 Sep 2013 11:19:08 +0000 Received: by mail-pb0-f42.google.com with SMTP id un15so6006363pbc.15 for ; Mon, 09 Sep 2013 04:18:48 -0700 (PDT) In-Reply-To: <521B7A6802000078000EE6C7@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich , xen-devel Cc: Tim Deegan List-Id: xen-devel@lists.xenproject.org On 26/08/2013 14:55, "Jan Beulich" wrote: > 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 Acked-by: Keir Fraser > --- a/xen/Rules.mk > +++ b/xen/Rules.mk > @@ -41,13 +41,12 @@ ALL_OBJS-y += $(BASEDIR)/x > 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 > > >