BRN:Software:Build and Distribution:Linux: Difference between revisions

From
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:


= Patch =
= Patch =
$ svn co svn://sarsvn.informatik.hu-berlin.de/BerlinRoofNet/trunk/platform/wgt634u/kernel-patches
'''<span style="color:red">TODO</span>'''
$ 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
$ 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
$ for p in ../kernel-patches/{generic,mips,brn}/*.patch; do patch -p1 -i $p --dry-run || { echo "Apply of patch \"$p\" failed! Exiting..."; break; }; done


= Build =
= Build =

Revision as of 20:59, 10 September 2006

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

$ svn co svn://sarsvn.informatik.hu-berlin.de/BerlinRoofNet/trunk/platform/wgt634u/kernel-patches
$ cd linux-2.6.16.13
$ for p in ../kernel-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