Skip to contentSkip to conversation

How to build with custom config?

DISCUSSION Steffen Heil 2 participants 2 messages Jun 1, 2007 – Jun 4, 2007

lore
Share & tools
lore
#0 lore raw

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)

Regards,
Steffen

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 9 lines · Steffen Heil

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