Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Using custom kernel
@ 2007-11-26 13:10 Will Wagner
  2007-12-11  0:26 ` Hamish Moffatt
  0 siblings, 1 reply; 2+ messages in thread
From: Will Wagner @ 2007-11-26 13:10 UTC (permalink / raw)
  To: buildroot

Hi All,

I would like to use buildroot with a custom kernel. We have the kernel 
source we want to use checked into cvs, rather than downloading it from 
the net.

Is this currently possible with buildroot? If so where should I look? If 
I have to try to customise buildroot myself any suggestions on where to 
get started?

Many thanks,

Will.
-- 
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Senior Project Engineer                  Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------

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

* [Buildroot] Using custom kernel
  2007-11-26 13:10 [Buildroot] Using custom kernel Will Wagner
@ 2007-12-11  0:26 ` Hamish Moffatt
  0 siblings, 0 replies; 2+ messages in thread
From: Hamish Moffatt @ 2007-12-11  0:26 UTC (permalink / raw)
  To: buildroot

On Mon, Nov 26, 2007 at 01:10:20PM +0000, Will Wagner wrote:
> I would like to use buildroot with a custom kernel. We have the kernel 
> source we want to use checked into cvs, rather than downloading it from 
> the net.
> 
> Is this currently possible with buildroot? If so where should I look? If 
> I have to try to customise buildroot myself any suggestions on where to 
> get started?

Hi Will,

(Apologies for the delayed reply; I'm only catching up on the list now
after a recent vacation.)

I've done something similar here, though it's messy.
I added a new directory target/linux-xyz, with my whole kernel source
tree checked into target/linux-xyz/2.6.15-uc0.

The kernel source tree supports building into a separate objects
directory, which I have located in project_build_<arch>/<project> as per
standard buildroot practice.

Building out-of-tree modules is even more messy, because now you have
kernel source in one place, kernel objects (including the include/asm
symlink and the include/linux/autoconf.h file) in a second place, and
module binaries going a third place again. But it's workable.

A simpler solution would be to copy the kernel source into
project_build_<arch>/<project> and build it in-tree. However that isn't
very good for development, unless you can rig up some complicated
dependencies between the original source and the copy.

I can share a patch if it would be useful.

Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>

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

end of thread, other threads:[~2007-12-11  0:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-26 13:10 [Buildroot] Using custom kernel Will Wagner
2007-12-11  0:26 ` Hamish Moffatt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox