From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH] Add INSTALL file Date: Mon, 20 Oct 2014 13:24:32 +0100 Message-ID: <5444FF00.6080401@linaro.org> References: <1413557458-20322-1-git-send-email-olaf@aepfle.de> <5442D1FC.4050704@linaro.org> <20141020081125.GB13325@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20141020081125.GB13325@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: Stefano Stabellini , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Hi Olaf, On 10/20/2014 09:11 AM, Olaf Hering wrote: > On Sat, Oct 18, Julien Grall wrote: > >> On 17/10/2014 15:50, Olaf Hering wrote: >>> +Variables recognized by make >>> +========================== >> >> There is a bunch of variables missing in this section such as: >> - XEN_TARGET_ARCH: specify for which architecture we want to build Xen >> - CROSS_COMPILE: prefix of the toolchain (including the trailing dash >> "-") >> >> This is very useful for compiling Xen ARM as it may be very slow to compile >> on the board. > > Do you have an example? Perhaps such thing should be added to the > Example section. So far I have not attempted a build on ARM. The typical command line to build arm is: make XEN_TARGET_ARCH=arm32 CROSS_COMPILE=arm-linux-gnueabihf- .... If the user want to build arm64: make XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- The parameter CROSS_COMPILE needs to be modified following the toolchain used by the user. Regards, -- Julien Grall