From: Tim Deegan Subject: Re: [PATCH 06/45] xen: arm64: initial build + config changes, start of day code Date: Thu, 14 Feb 2013 11:16:59 +0000 Message-ID: <20130214111659.GF83752@ocelot.phlegethon.org> References: <1358956576.17440.60.camel@zakaz.uk.xensource.com> <1358956611-8432-6-git-send-email-ian.campbell@citrix.com> <20130207131247.GE77133@ocelot.phlegethon.org> <1360243206.32479.75.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1360243206.32479.75.camel@zakaz.uk.xensource.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: Ian Campbell Cc: "xen-devel@lists.xen.org" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org At 13:20 +0000 on 07 Feb (1360243206), Ian Campbell wrote: > On Thu, 2013-02-07 at 13:12 +0000, Tim Deegan wrote: > > At 15:56 +0000 on 23 Jan (1358956572), Ian Campbell wrote: > > > diff --git a/config/arm64.mk b/config/arm64.mk > > > new file mode 100644 > > > index 0000000..b2457eb > > > --- /dev/null > > > +++ b/config/arm64.mk > > > @@ -0,0 +1,12 @@ > > > +CONFIG_ARM := y > > > +CONFIG_ARM_64 := y > > > +CONFIG_ARM_$(XEN_OS) := y > > > + > > > +CFLAGS += #-marm -march= -mcpu= etc > > > + > > > +HAS_PL011 := y > > > + > > > +# Use only if calling $(LD) directly. > > > +LDFLAGS_DIRECT += -maarch64elf > > > + > > > +CONFIG_LOAD_ADDRESS ?= 0x80000000 > > > diff --git a/xen/arch/arm/Rules.mk b/xen/arch/arm/Rules.mk > > > index f83bfee..2250366 100644 > > > --- a/xen/arch/arm/Rules.mk > > > +++ b/xen/arch/arm/Rules.mk > > > @@ -25,6 +25,12 @@ arm32 := y > > > arm64 := n > > > endif > > > > > > +ifeq ($(TARGET_SUBARCH),arm64) > > > +CFLAGS += -mcpu=generic > > > > Should this go in config/arm64.mk? I realise the equivalent flags for > > arm32 are in this file, just wondering if we ought to tidy them all into > > config/. > > The x86 ones are in xen/arch/x86/Rules.mk too, I'm not averse to fixing > that though (perhaps as a subsequent cleanup though?) OK; no need to disturb this patch for it. Cheers, Tim.