(This doc is working on kernel linux-2.5.59. If you are using a newer one replace the kernel name accordingly.) Assuming that you are in a working directory [base] and assuming you have the following files in subdir tarballs: [base]/tarballs/linux-2.5.59.tar.gz [base]/tarballs/linux-2.5.59-leon01.diff do the following commands: $cd [base] $tar xzf tarballs/linux-2.5.59.tar.gz $cp -al linux-2.5.59 linux-2.5.59-patch $cat tarballs/linux-2.5.59-leon01.diff | patch -d linux-2.5.59-patch -p1 $find . -type f| xargs chmod a-w $cd [base]/linux-2.5.59-patch $alias lmk='make ARCH=sparc CROSS_COMPILE=sparc-leon-linux- ' $lmk tsim_config $lmk tsimImage
Last change: 13.2.2003 (db) - Printer version
- revision