I become in situation I have fast 8 core machine with 64 bit debian installed. How to compile 32 bit kernel debian way?
1. install following packages: ia32-libs, lib32gcc1, lib32ncurses5, libc6-i386, util-linux, lib32c-devel
2. if want fresh config just run : make i386_defconfig ARCH=i386; make allmodconfig ARCH=i386
3. export CONCURRENCY_LEVEL= number of cores + 1 (compilation will be little bit faster
)
4. make-kpkg clean –cross-compile – –arch=i386; fakeroot linux32 make-kpkg –initrd –append-to-version=-version –cross-compile – –arch=i386 –revision=1.0.my_kernel kernel_image
And that’s it. So easy
Marek


