From fd1f972e01b7321508c2d25bee094a8669926cc3 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Sun, 23 Jan 2011 16:38:46 +0100 Subject: [PATCH] README: Add compiling section --- README | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/README b/README index 24bfa8200..5ad165f4d 100755 --- a/README +++ b/README @@ -17,4 +17,28 @@ The original code can be found at: http://examples.oreilly.com/9780596005900/ Besides the original drivers, there is a plan to add more examples that cover more recent kernel features like the listed before. -Bugs, comments or patches: martinez.javier@gmail.com +Compiling +---------- + +The example drivers should compile and work with popular kernel versions. +Right now version 2.6.32, 2.6.35 and linux-next are supported. + +The tree has three branches: +* v2.6.32 +* v2.6.35 +* master + +These branches will compile and work with the trees: +* git://git.kernel.org/pub/scm/linux/kernel/git/longterm/linux-2.6.32.y.git +* git://git.kernel.org/pub/scm/linux/kernel/git/longterm/linux-2.6.35.y.git +* git://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git + +To compile the drivers against a specific tree (for example linux-next): + +$ git clone git://github.com/martinezjavier/ldd3.git +$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/sfr/linux-next.git +$ export KERNELDIR=/path/to/linux-net +$ cd ldd3 +$ make + +Bugs, comments or patches: martinez.javier@gmail.com \ No newline at end of file