[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] Add INSTALL file



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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.