BRN:Software:Build and Distribution:Linux: Difference between revisions
Jump to navigation
Jump to search
(→Patch) |
No edit summary |
||
Line 18: | Line 18: | ||
---- |
---- |
||
[[BRN:Software:Build_and_Distribution:SDE|Prev]] | [[BRN:Software:Build_and_Distribution|Contents]] | [[BRN:Software:Build_and_Distribution:Serial Console|Next]] |
<span style="padding-left:0.5em">'''[[BRN:Software:Build_and_Distribution:SDE|Prev]]''' | '''[[BRN:Software:Build_and_Distribution|Contents]]''' | '''[[BRN:Software:Build_and_Distribution:Serial Console|Next]]'''</span> |
Revision as of 13:50, 8 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
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