[Buildroot] how BR download the linux kernel now
From: raymond zhao <hidden>
Date: 2011-08-23 20:30:29
On Wed, Jul 13, 2011 at 9:31 AM, raymond zhao [off-list ref] wrote:
quoted
quoted
The linux kernel is a special "package". Lots of embedded projectsquoted
quoted
(if not all of them) will start from a certain version of the kernelquoted
quoted
and hack the kernel from there, such as add device drivers etc. Then,quoted
quoted
put the source code into a local git server to do version control.quoted
quoted
Some people argued to use original tarball plus the patch, but itquoted
quoted
makes the development procedure very painful. In the old approach, itquoted
quoted
is very easy to hack the linux.mk to checkout the kernel source codequoted
quoted
directly into the output directory. But, in the new one. Looks itquoted
becomes more complex. The kernel is very big. Check out with the git,quoted
archive it to a tarball, and then extract it to the output directoryquoted
for building will waste lots of time. Is there a official solutionquoted
(or suggestion) for my situation?Yes, I am currently working on extending the package infrastructure so that any package (not only the Linux kernel, but any package) can be sourced from an existing directory, instead of being downloaded through git/svn/http. I have already published preliminary versions of this work (see "[RFC] Override source directories", posted May, 18th 2011), and I intend to continue. The basic mechanism is working, I still have issues implementing "make source" and "make external-deps" with this mechanism. It'd be really nice if you could have a look at what I did to see if it would solve your use case as well.That's great. I will definitely check it. If we solved this problem. I believe BR will be #1 choice for most embedded linux projects. thanks, raymond
BR 2011.08 rc was released and I did not see this feature in there? Is it still going to happened in 2011.08 release? Please add this feature if possible, it is really useful. thanks, raymond