[Arm-netbook] Cross-compiling an armhf kernel package on Debian amd64?
Tzafrir Cohen
tzafrir at cohens.org.il
Tue Oct 9 13:59:09 BST 2012
On Tue, Oct 09, 2012 at 02:18:29PM +0600, Roman Mamedov wrote:
> On Mon, 8 Oct 2012 12:35:53 +0600
> Roman Mamedov <rm at romanrm.ru> wrote:
>
> > Can someone please point me to a good howto on cross-compiling and creating an
> > armhf kernel package on Debian amd64?
>
> Here is that HOWTO I was looking for, apparently no one bothered to spend 5
> minutes to help, so I had to discover things by trial and error and decided to
> write one myself. http://romanrm.ru/en/a10/cross-compile-kernel
1. gcc 4.4? Really? You have newer toolchans there.
2. kernel-package is not well-maintianed. Your best bet is on 'make
deb-pkg' in th kernl source tree.
You'd still need to set some environment variables there. I use:
KBUILD_DEBARCH=armhf make ARCH=arm KBUILD_IMAGE=uImage deb-pkg
--
Tzafrir Cohen | tzafrir at jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir at cohens.org.il | | best
tzafrir at debian.org | | friend
More information about the arm-netbook
mailing list