All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 2707] New: Can't compile linux kernel using buildroot + crosstool-ng
@ 2010-10-16 19:26 bugzilla at busybox.net
  2010-10-17 10:00 ` [Buildroot] [Bug 2707] " bugzilla at busybox.net
  2010-10-17 21:35 ` bugzilla at busybox.net
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2010-10-16 19:26 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=2707

           Summary: Can't compile linux kernel using buildroot +
                    crosstool-ng
           Product: buildroot
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: phil at philpep.org
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Created attachment 2605
  --> https://bugs.busybox.net/attachment.cgi?id=2605
fix missing include of kernel-headers when using crosstool-ng toolchain

linux/linux.mk need KERNEL_ARCH defined in
toolchain/kernel-headers/kernel-headers.mk included usually by toolchain
makefiles, crosstool-ng don't causing an error when we compile the linux
kernel.

Fix attached.

-- 
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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [Bug 2707] Can't compile linux kernel using buildroot + crosstool-ng
  2010-10-16 19:26 [Buildroot] [Bug 2707] New: Can't compile linux kernel using buildroot + crosstool-ng bugzilla at busybox.net
@ 2010-10-17 10:00 ` bugzilla at busybox.net
  2010-10-17 21:35 ` bugzilla at busybox.net
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2010-10-17 10:00 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=2707

Yann E. MORIN <yann.morin.1998@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@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.

Regards,
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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [Bug 2707] Can't compile linux kernel using buildroot + crosstool-ng
  2010-10-16 19:26 [Buildroot] [Bug 2707] New: Can't compile linux kernel using buildroot + crosstool-ng bugzilla at busybox.net
  2010-10-17 10:00 ` [Buildroot] [Bug 2707] " bugzilla at busybox.net
@ 2010-10-17 21:35 ` bugzilla at busybox.net
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2010-10-17 21:35 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=2707

Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Peter Korsgaard <jacmet@uclibc.org>  ---
Fixed by moving KERNEL_ARCH to the toplevel Makefile, thanks.

-- 
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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-17 21:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-16 19:26 [Buildroot] [Bug 2707] New: Can't compile linux kernel using buildroot + crosstool-ng bugzilla at busybox.net
2010-10-17 10:00 ` [Buildroot] [Bug 2707] " bugzilla at busybox.net
2010-10-17 21:35 ` bugzilla at busybox.net

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.