[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building an i386 kernel on amd64 host with make-kpkg

Cameron Hutchison <lists@xdna.net> writes:
>Cameron Hutchison <lists@xdna.net> 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
>>target box.

>>I am using make-kpkg to build the kernel package. I am having the
>>following problem:
>>$ 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.

Any ideas?

Reply to: