G'day, Here's the SuperH patches for kbuild-2.5 upgraded to 2.2 (kernel 2.5.10).
There's no functional change except that 2.5.10 is slightly less broken than 2.5.8 so the "hacks" patch is smaller. I just noticed that 2.3 is out...<sigh> if I'd started an hour earlier perhaps this message wouldn't be obsolete at posting. Anyway I'll update SuperH to 2.3 on Friday. Greg. -- the price of civilisation today is a courageous willingness to prevail, with force, if necessary, against whatever vicious and uncomprehending enemies try to strike it down. - Roger Sandall, The Age, 28Sep2001.
KBuild-2.5 for the SuperH Linux port ==================================== Here's how to build a LinuxSH kernel using kbuild-2.5. Ingredients ----------- linux-2.5.10.tar.bz2 Linus tarball from ftp.kernel.org linuxsh-2.5.10.tar.bz2/ LinuxSH tarball from linuxsh.sf.net kbuild-2.5-core-8.bz2 KBuild 2.5 core patch from kbuild.sf.net kbuild-2.5-common-2.5.10-2.bz2 KBuild 2.5 common patch from kbuild.sf.net kbuild-2.5-sh-2.5.10-1gnb.bz2 KBuild SuperH patch, from here kbuild-2.5-shcommon-2.5.10-1gnb.bz2 KBuild common intersection with SuperH patch, from here kbuild-2.5-hacks-2.5.10-1gnb.bz2 Hacks so 2.5.10 compiles, from here Procedure --------- 1. Extract linux-2.5.10.tar.bz2 into a directory linux-2.5.10 2. Apply patches to linux-2.5.10 (the order matters) * kbuild-2.5-core-8.bz2 * kbuild-2.5-common-2.5.10-2.bz2 * kbuild-2.5-sh-2.5.10-1gnb.bz2 * kbuild-2.5-shcommon-2.5.10-1gnb.bz2 * kbuild-2.5-hacks-2.5.10-1gnb.bz2 3. Checkout (or extract) linuxsh-2.5.10 4. Make the directory where all the build output will go mkdir obj 5. Setup environment variables (in bash syntax). Note that the full pathnames and trailing /s are significant. export KBUILD_SRCTREE_000=$PWD/linux-2.5.10/ export KBUILD_SRCTREE_001=$PWD/linuxsh-2.5.10/ export KBUILD_OBJTREE=$PWD/obj/ 6. Copy your .config into $KBUILD_OBJTREE and make \ -f $KBUILD_SRCTREE_000/Makefile-2.5 \ ARCH=sh CROSS_COMPILE=sh-unknown-linux-gnu- \ oldconfig 7. Do the actual build make \ -f $KBUILD_SRCTREE_000/Makefile-2.5 \ ARCH=sh CROSS_COMPILE=sh-unknown-linux-gnu- \ installable 8. Install the results make \ -f $KBUILD_SRCTREE_000/Makefile-2.5 \ ARCH=sh CROSS_COMPILE=sh-unknown-linux-gnu- \ install
kbuild-2.5-sh-2.5.10-1gnb.bz2
Description: Binary data
kbuild-2.5-shcommon-2.5.10-1gnb.bz2
Description: Binary data
BZh91AY&SY,îÉà -_? 0Hÿ~ïÝʯíßà0U4Ám!?¦@dÂhzjisª?==B4dÐ1? 1 D?&LÒdÓM5=CM 6§¨ô?OR?ìb\~?¢«îc5.ÊX,^b.óð¶*ä?·+H\Syf7.>êk¦t: *©Õ*·Y?\FëØT<z01FE KAzâà¤â?E?! û?ÖM§Óq´ii «à|ªm;È?Ýê_ð{ È^d^' ?"E]?Db¨ÁGÀPmf"Ó?â§ñæþd¨x:|G¬J0SêîB?ªó·gfS?©ÄÄâÊñ`K?f>ÆJgi:ÑÂÌé<øFe&N¨?V¸M/m¸SæÒ?¶¼Ëb¶?rÉL??ùÈå4¡TQ8<ÿrE8P?,îÉà