New: Add support for specifying an external kernel tree
https://bugs.busybox.net/show_bug.cgi?id=3391
Summary: Add support for specifying an external kernel tree
Product: buildroot
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: mort at bork.org
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Created attachment 3079
--> https://bugs.busybox.net/attachment.cgi?id=3079
external kernel tree patch
I didn't get any comments from the list, so I'm posting this here so I doesn't get lost. One thing that I changed from my original post is to conditionally create
the .stamp_{downloaded,extracted,patched} files. Doing do unconditionally causes unnecessary invocation of make in the kernel directory during each rebuild.
From my RFC e-mail to the buildroot list:
I wanted to compile a kernel from an external git tree, so adding support for using this tree as the kernel source for buildroot seemed logical.
The thing I'm seeking comments on is my short-circuiting of the .stamp_{downloaded,extraced,patched} bits. Can someone suggest a more elegant way of doing this?
..I removed patching support, since you should probably be using some other tool to manage patches in the external tree anyways.
Comments appreciated
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 3391] Add support for specifying an external kernel tree
https://bugs.busybox.net/show_bug.cgi?id=3391
--- Comment #1 from Will Wagner <[email protected]> --- Martin,
I have used this a bit and it seems fine. One addition I have hacked in is an option to allow the output files to reside in the buildroot output folder using the O= option to kernel make.
This allows me to have a directory containing the kernel source which does not get modified by a build and then the build files go into $(O)/build/linux-custom. If you are interested I could probably clean up my patch and submit.
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 3391] Add support for specifying an external kernel tree
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=3391
--- Comment #2 from Martin Hicks <[email protected]> ---
Quoted 4 lines
I have used this a bit and it seems fine. One addition I have hacked in is an option to allow the output files to reside in the buildroot output folder using the O= option to kernel make.
Yeah, good idea. If you send me a patch I'll wrap it up as one patch for Peter and repost to bugzilla.
Thanks,
mh
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 3391] Add support for specifying an external kernel tree
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=3391
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at buildroot.uclibc |thomas.petazzoni at free-elect
|.org |rons.com
--- Comment #3 from Thomas Petazzoni <[email protected]> --- This bug will be fixed by the for-2011.11/pkg-infra branch which I have posted to the list.
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 3391] Add support for specifying an external kernel tree
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=3391
Peter Korsgaard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #4 from Peter Korsgaard <[email protected]> --- Fixed in git by Thomas/David (2690e76aa2)
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.