From: Ian Campbell Subject: Re: [PATCH 4/8] arm: link a device tree blob into the xen image Date: Fri, 17 Feb 2012 17:13:16 +0000 Message-ID: <1329498796.3131.135.camel@zakaz.uk.xensource.com> References: <1329139131-27554-1-git-send-email-david.vrabel@citrix.com> <1329139131-27554-5-git-send-email-david.vrabel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1329139131-27554-5-git-send-email-david.vrabel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: David Vrabel Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Mon, 2012-02-13 at 13:18 +0000, David Vrabel wrote: > diff --git a/config/arm.mk b/config/arm.mk > index f64f0c1..f20fd2d 100644 > --- a/config/arm.mk > +++ b/config/arm.mk > @@ -16,3 +16,9 @@ LDFLAGS_DIRECT_Linux = _linux > LDFLAGS_DIRECT += -marmelf$(LDFLAGS_DIRECT_$(XEN_OS))_eabi > > CONFIG_LOAD_ADDRESS ?= 0x80000000 > + > +# XXX: When running on the model there is no bootloader to provide a > +# device tree. It must be linked into Xen. > +ifndef CONFIG_DTB_FILE > +$(error CONFIG_DTB_FILE must be set to the absolute filename of a > DTB) > +endif This turns out to be a little aggressive -- it also triggers when you are building the tools. Not a big deal, but a bit annoying, is there some way we can avoid this? Put it in xen/arch/arm/Foo perhaps? Ian.