Re: how to compile i386 kernel on amd64 in chroot-ia32?
Emmanuel Fleury <email@example.com> writes:
> mons wrote:
>> I want to compile a kernel for my other computer. I have a ia32 chrooted
>> enviroment. I tried to compile it but when I do make menuconfig i
>> allways have to choose only ia64 kernels.
I highly doubt that. ia64 is not amd64 but completly different.
>> What shoud I change in chroot32 enviroment to make ia32 kernels?
>> Please, wrote it that so noob could understand. (I always create kernel
>> making make menuconfig, dpkg-make... now I have no idea what should I
> You should do in the following way:
> 1) Save your .config (if you need it)
> 2) make mrproper
> 3) make ARCH=i386 menuconfig
> 4) ...configure your kernel...
> 5) make ARCH=i386 (I'm not sure that the 'ARCH=i386' is needed here)
> And this should build an i386 kernel.
Just use make-kpkg.