BRN:Software:Build and Distribution:Linux: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→Patch) |
||
Line 6: | Line 6: | ||
= Patch = |
= Patch = |
||
'''<span style="color:red">TODO</span>''' |
'''<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/ |
$ 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 patch $p failed! Exiting..."; break; }; done |
$ 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 = |
= Build = |
Revision as of 13:40, 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