From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Magenheimer, Dan (HP Labs Fort Collins)" Subject: RE: (no subject) Date: Fri, 23 Sep 2005 12:07:52 -0700 Message-ID: <516F50407E01324991DD6D07B0531AD569604D@cacexc12.americas.cpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Content-class: urn:content-classes:message List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christian Limpach Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > -----Original Message----- > From: Magenheimer, Dan (HP Labs Fort Collins)=20 > Sent: Wednesday, September 21, 2005 2:50 PM > To: 'Christian Limpach' > Cc: xen-devel@lists.xensource.com > Subject: RE: [Xen-devel] (no subject) >=20 > > > I suppose it would be nice if on ia64 just 'make' did the > > > right thing, e.g. set LINUX_ARCH=3Dia64 without the need to > > > specify it on the command line. In that case, adding it > > > to all the calls to mkbuildtree is necessary. How do > > > I set LINUX_ARCH in Rules.mk so that it is set to 'xen' > > > if x86 (or x86_64) and the architecture it is running on > > > (e.g. ia64) otherwise? > >=20 > > I'll check it in tomorrow, and I'll make it set LINUX_ARCH > > dependent on ARCH, like you did in your original patch... >=20 > Thanks very much! I tried it and it works great! Using > this, I have started committing files into the ia64 subdirs > of -sparse in xen-ia64-unstable.hg which will be pulled > into the xen-unstable tree at the next sync. I have already > built and tested a "driver-less" domain0 from -sparse. Oops, I tried it only using a cross-compiler. When I compiled natively on ia64, it is still necessary to specify LINUX_ARCH=3Dia64 on the make-line, else I get x86 configs. I think the fix is to change in buildconfig/Rules.mk from ifneq ($(ARCH),ia64) to ifneq ($(XEN_TARGET_ARCH),ia64) I'll roll this fix in at the next merge with xen-ia64-unstable. Thanks, Dan