BRN:Software:Build and Distribution:Linux: Difference between revisions
Jump to navigation
Jump to search
(→Patch) |
(→Patch) |
||
Line 10: | Line 10: | ||
$ for p in ../kernel-patches/{generic,mips,brn}/*.patch |
$ for p in ../kernel-patches/{generic,mips,brn}/*.patch |
||
> do if [ -r $p ] |
> do if [ -r $p ] |
||
> then patch -p1 -i $p |
> then patch -p1 -i $p || { echo "Apply of patch \"$p\" failed! Exiting..."; break; } |
||
> fi |
> fi |
||
> done |
> done |
Revision as of 22:07, 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
$ BRN_SVN_REPOS=svn://sarsvn.informatik.hu-berlin.de $ svn co $BRN_SVN_REPOS/BerlinRoofNet/trunk/platform/wgt634u/kernel-patches $ cd linux-2.6.16.13 $ for p in ../kernel-patches/{generic,mips,brn}/*.patch > do if [ -r $p ] > then patch -p1 -i $p || { echo "Apply of patch \"$p\" failed! Exiting..."; break; } > fi > 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