ia64/xen-unstable

view tools/vnet/vnet-module/00README @ 14985:0f9b97523450

vnet: Another build fix for finding Linux build tree and version.
Signed-off-by: Robert Valentan <R.Valentan@solid-soft.at>
author Keir Fraser <keir@xensource.com>
date Sat Apr 28 09:44:24 2007 +0100 (2007-04-28)
parents 06d84bf87159
children
line source
1 Vnet module for network virtualization.
2 Mike Wray <mike.wray@hp.com>
4 *) Compiling
5 The vnet module can be compiled for 2.4 or 2.6 series kernels.
6 The makefiles use the following variables, which
7 can be set in your env or on the make command line:
9 LINUX_SERIES: linux release to compile for: 2.4, or 2.6 (default).
10 XEN_ROOT: root of the xen tree containing kernel source.
11 KERNEL_VERSION: kernel version, default got from XEN_ROOT.
12 KERNEL_SRC: path to kernel source, default build-linux-<VERSION>
13 under XEN_ROOT.
15 *) For 2.4 kernel
17 To compile from scratch:
19 make clean
20 make LINUX_SERIES=2.4
22 This will build vnet_module.o in the current directory.
23 To install the module use
25 make LINUX_SERIES=2.4 install
27 *) For 2.6 kernel
29 To compile from scratch:
31 make clean
32 make
34 This will build vnet_module.ko in the current directory.
35 To install the module use
37 make install