Re: Building an i386 kernel on amd64 host with make-kpkg
Cameron Hutchison <email@example.com> writes:
>Cameron Hutchison <firstname.lastname@example.org> writes:
>>I am trying to build a kernel for my i386 box on my amd64 host. I want
>>to do this because the amd64 box build at least 10 times faster than the
>>I am using make-kpkg to build the kernel package. I am having the
>>$ make-kpkg --rootcmd fakeroot --arch i386 kernel_image
>Following up with a solution to my own problem:
>$ make-kpkg --rootcmd fakeroot --cross-compile - --arch i386 kernel_image
>I just needed to add that "--cross-compile -" argument and it worked.
I spoke too soon. It does not quite work. It builds an amd64 arch
package, so I cannot install it on an i386 arch. The build itself seems
to be done correctly for the target arch, but the package is created for
the host arch.
I would have thought that -arch i386 would produce an i386 arch package,
but apparently not.