All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hamish Moffatt <hamish@cloud.net.au>
To: buildroot@busybox.net
Subject: [Buildroot] Using custom kernel
Date: Tue, 11 Dec 2007 11:26:45 +1100	[thread overview]
Message-ID: <20071211002645.GA5825@cloud.net.au> (raw)
In-Reply-To: <474AC5BC.30407@carallon.com>

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>

      reply	other threads:[~2007-12-11  0:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-26 13:10 [Buildroot] Using custom kernel Will Wagner
2007-12-11  0:26 ` Hamish Moffatt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071211002645.GA5825@cloud.net.au \
    --to=hamish@cloud.net.au \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.