Skip to content

Commit

Permalink
README: Add compiling section
Browse files Browse the repository at this point in the history
  • Loading branch information
martinezjavier committed Jan 23, 2011
1 parent 7c53fee commit fd1f972
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fd1f972

Please sign in to comment.