Re: Building kernel natively
- To: firstname.lastname@example.org
- Subject: Re: Building kernel natively
- From: Magnus Berg <Magnus@Emdev.se>
- Date: Fri, 04 Sep 2009 07:38:37 +0200
- Message-id: <4AA0A7DD.5040500@Emdev.se>
- In-reply-to: <1251985612.3652.5.camel@oklahoma>
- References: <email@example.com> <20090818182732.GD19413@deprecation.cyrius.com> <firstname.lastname@example.org> <20090829053116.GC16593@deprecation.cyrius.com> <email@example.com> <4A9FBCA9.10601@Emdev.se> <1251985612.3652.5.camel@oklahoma>
I've been doing something like the following. Although I'm not sure if
it's 100% correct, it does build a debian kernel-image package w/o
interruption for successful installation on my TS-219P.
make-kpkg kernel-image --initrd --arch arm --subarch kirkwood --cross-compile - --rootcmd fakeroot --append-to-version -bpo-pcie.1-kirkwood
Thanks, that worked fine. The --cross-compile was the crucial part, should have
spotted that on the man page but it wasn't clear enough for me when I read it.
I now have a kernel with working mtd devices for my pre-production TS-219 unit.
Me happy. :)