New: BR2_DEFAULT_KERNEL_HEADERS is undefined with external toolchain
https://bugs.busybox.net/show_bug.cgi?id=573
Summary: BR2_DEFAULT_KERNEL_HEADERS is undefined with external
toolchain
Product: buildroot
Version: unspecified
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: n0-1 at nwl.cc
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Hi,
I'm trying to compile using an external binary toolchain (installed via crossdev in Gentoo), but when BR2_TOOLCHAIN_EXTERNAL is active, toolchain/kernel-headers/Config.in is not being included. The later leads to an undefined BR2_DEFAULT_KERNEL_HEADERS, which again makes buildroot try to download http://www.kernel.org/pub//linux/kernel/v2.6/linux-..tar.bz2.
Greetings, Phil
Signature · 3 lines
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.
[Buildroot] [Bug 573] BR2_DEFAULT_KERNEL_HEADERS is undefined with external toolchain
https://bugs.busybox.net/show_bug.cgi?id=573
--- Comment #1 from Phil <[email protected]> 2009-08-19 13:46:26 UTC --- This happens with the git tree from git://repo.or.cz/buildroot.git, btw.
Signature · 3 lines
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.
[Buildroot] [Bug 573] BR2_DEFAULT_KERNEL_HEADERS is undefined with external toolchain
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=573
--- Comment #2 from Thomas Petazzoni <[email protected]> 2009-08-19 21:24:14 UTC --- At what step does it fail ? Could you post your build log and Buildroot
configuration file ?
Signature · 3 lines
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.
[Buildroot] [Bug 573] BR2_DEFAULT_KERNEL_HEADERS is undefined with external toolchain
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=573
--- Comment #3 from Thomas Petazzoni <[email protected]> 2009-08-19 21:32:09 UTC --- BTW, this bugzilla is for the official Buildroot version, that you can find at
http://www.buildroot.org, or in its Git repo at http://git.buildroot.org.
But anyway, I think that the issue you're having might be present in the official Buildroot version as well.
Signature · 3 lines
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.
[Buildroot] [Bug 573] BR2_DEFAULT_KERNEL_HEADERS is undefined with external toolchain
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=573
--- Comment #4 from Phil <[email protected]> 2009-08-20 09:22:20 UTC --- Created an attachment (id=607)
--> (https://bugs.busybox.net/attachment.cgi?id=607)
Log of the make-output when compiling
Signature · 3 lines
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.
[Buildroot] [Bug 573] BR2_DEFAULT_KERNEL_HEADERS is undefined with external toolchain
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=573
--- Comment #5 from Phil <[email protected]> 2009-08-20 09:23:53 UTC --- Created an attachment (id=609)
--> (https://bugs.busybox.net/attachment.cgi?id=609)
The buildroot config triggering the described behaviour.
Signature · 3 lines
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.
[Buildroot] [Bug 573] BR2_DEFAULT_KERNEL_HEADERS is undefined with external toolchain
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=573
Peter Korsgaard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID--- Comment #6 from Peter Korsgaard <[email protected]> 2009-08-26 20:58:14 UTC --- This shouldn't happend with the official BR tree, as we don't display the BR2_KERNEL_LINUX option when an external toolchain is used.
Is there any specific reason why you are using Bernhard's tree instead of the official one?
Signature · 3 lines
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.
[Buildroot] [Bug 573] BR2_DEFAULT_KERNEL_HEADERS is undefined with external toolchain
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=573
--- Comment #7 from Phil <[email protected]> 2009-08-26 22:11:59 UTC --- (In reply to comment #6)
Quoted 2 lines
This shouldn't happend with the official BR tree, as we don't display the
BR2_KERNEL_LINUXoption when an external toolchain is used.
Indeed. The official tree simply skips kernel compilation or, when BR2_KERNEL_LINUX_ADVANCED
has been specified, allows specification of the desired linux version, too.
Quoted 2 lines
Is there any specific reason why you are using Bernhard's tree instead of the official one?
I was searching for glibc-based toolchain support, which sadly occurs to be not complete in Bernhard's
tree, too. I didn't know of the external toolchain support option in busybox, so I just tried that on
occasion.
Filing this report to the wrong site was just because of me having forgotten that I didn't use the official
sources. So, thanks for your patience and sorry for the inconvenience.
Signature · 3 lines
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.
[Buildroot] [Bug 573] BR2_DEFAULT_KERNEL_HEADERS is undefined with external toolchain
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=573
--- Comment #8 from Bernhard Reutner-Fischer <[email protected]> 2009-08-27 13:44:47 UTC --- (In reply to comment #7)
Quoted 7 lines
(In reply to comment #6)
Quoted 2 lines
This shouldn't happend with the official BR tree, as we don't display the
BR2_KERNEL_LINUXoption when an external toolchain is used.Indeed. The official tree simply skips kernel compilation or, when
BR2_KERNEL_LINUX_ADVANCED
has been specified, allows specification of the desired linux version, too.
My tree does not support external toolchains, just FYI.
Quoted 6 lines
Quoted 3 lines
Is there any specific reason why you are using Bernhard's tree instead of the official one?
I was searching for glibc-based toolchain support, which sadly occurs to be not complete in Bernhard's
I only added stub-functionality for the buildroot parts to show people how i would implement it cleanly.
Let me note that if you want glibc and an external toolchain then i personally would use gentoo or some such.
Signature · 3 lines
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.