[Buildroot] [Bug 2707] Can't compile linux kernel using buildroot + crosstool-ng

bugzilla at busybox.net bugzilla at busybox.net
Sun Oct 17 10:00:45 UTC 2010


Yann E. MORIN <yann.morin.1998 at anciens.enib.fr> changed:

           What    |Removed                     |Added
                 CC|                            |yann.morin.1998 at anciens.eni
                   |                            |b.fr

--- Comment #1 from Yann E. MORIN <yann.morin.1998 at anciens.enib.fr>  ---
Philippe, All,

I believe the correct way would be to declare KERNEL_ARCH somewhere else.

First, the crosstool-NG backend does not need stuff from kernel-headers.mk, so
there is no reason to include it.

Second, KERNEL_ARCH is not specific to the kernel-headers used to build the
toolchain, even the internal toolchain backend. Indeed, it is used by a few
other components: the kernel itself, but also U-Boot, barebox, linux-fusion,
ltrace, lm-sensors, pciutils, and bizarely enough, busybox.

That's why I believe KERNEL_ARCH should be moved out of kernel-headers, and to
a common place.

Yann E. MORIN.

Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the buildroot mailing list