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

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



>>   setarch i386 make-kpkg --initrd --arch=i386 --revision $revision
>>   binary
> Thanks for that info, Steve. However I still cannot get it to work.

Try this:
DEB_HOST_ARCH=i386 make-kpkg --arch i386 --cross_compile - \
--rootcmd fakeroot --initrd --append-to-version mytest kernel_image

What you need is setting: DEB_HOST_ARCH=i386, no hack needed.

Tested on Etch.

-- 
Li, Yan

"Everything that is really great and inspiring is created by the
individual who can labor in freedom."
              - Albert Einstein, in Out of My Later Years (1950)


Reply to: