BRN:Software:Build and Distribution:Linux

From
Revision as of 13:50, 8 September 2006 by Jeschke (talk | contribs)
Jump to navigation Jump to search

Vanilla Kernel Sources

$ KERNEL_MIRROR=ftp://ftp.kernel.org/pub/linux/kernel    # or ftp://ftp.informatik.hu-berlin.de/pub/Linux/Kernel/kernel
$ wget $KERNEL_MIRROR/v2.6/linux-2.6.16.13.tar.bz2
$ tar xjf linux-2.6.16.13.tar.bz2

Patch

TODO

$ svn co https://svn.openwrt.org/openwrt/trunk/openwrt/target/linux/brcm-2.6/patches patches/mips
$ svn co svn://sarsvn.informatik.hu-berlin.de/..... patches/brn
$ cd linux-2.6.16.13
$ for p in ../patches/{generic,mips,brn}/*.patch; do patch -p1 -i $p --dry-run || { echo "Apply of patch \"$p\" failed! Exiting..."; break; }; done

Build

TODO

$ svn cat svn://sarsvn.informatik.hu-berlin.de/....../build.sh > build.sh
$ sh build.sh  # or "sh build.sh -j4" for SMP machines



Prev | Contents | Next