From: Kieran Mansley Subject: Re: How to build with custom config? Date: Mon, 04 Jun 2007 11:48:58 +0100 Message-ID: <1180954138.4053.27.camel@moonstone.uk.level5networks.com> References: <221A4270907F4EED9F347C46C228E9D4@shs1> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <221A4270907F4EED9F347C46C228E9D4@shs1> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Steffen Heil Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Fri, 2007-06-01 at 14:35 +0200, Steffen Heil wrote: > Hi > > I want to build xen 3.1 with custom config and two different kernels for dom0 > and domU. > However the instructions I used for xen 3.0.3 don't work anymore. > > You someone please send an example of the few commands I need to build with my > own configs? > (Preferable ending up with a dist directory with install.sh) Assuming 3.1 is roughly similar to xen-unstable.hg these days, something like this should work: export XEN_COMPILE_ARCH=x86_32 export XEN_TARGET_ARCH=x86_32 export XEN_ROOT=.. export KERNELS="linux-2.6-xen0 linux-2.6-xenU" export XEN_KERNEL_VERSION=2.6.18 make world make -C build-linux-$XEN_KERNEL_VERSION-xen0_x86_32 menuconfig make -C build-linux-$XEN_KERNEL_VERSION-xenU_x86_32 menuconfig make dist Kieran