Re: cross compiling with deb package
- To: kqt4at5v@gmail.com
- Cc: debian-arm@lists.debian.org
- Subject: Re: cross compiling with deb package
- From: shawn <shawnlandden@gmail.com>
- Date: Mon, 30 Jul 2012 15:20:41 -0700
- Message-id: <1343686841.24952.40.camel@shawn-ssd>
- In-reply-to: <alpine.DEB.2.00.1207301610400.6302@tehzcl2.tehzcl-arg>
- References: <alpine.DEB.2.00.1207301610400.6302@tehzcl2.tehzcl-arg>
On Mon, 2012-07-30 at 16:17 -0500, kqt4at5v@gmail.com wrote:
> I am sure it is easier to use the Debian kernel source package than to
> start with the source from kernel.org. But if I wanted to get the latest
> kernel source package for a arm processor and load it on a x86 machine
> to cross compile how should I proceed.
Upstream sources are unified among the arches, and support cross
compiling. I
do not believe debian kernel package supports cross compiling.
To cross-compile, install the cross toolchain, and then configure with
ARCH=arm make nconfig
and set
CONFIG_CROSS_COMPILE="arm-linux-gnueabi-"
or
CONFIG_CROSS_COMPILE="arm-linux-gnueabihf-"
depending on which toolchain you installed (i believe they are equal
when it comes to compiling the kernel, but I am not sure, I have always
compiled with the "gnueabi" one.
>
> Richard
>
>
--
-Shawn Landden
Reply to: