Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Charles Manning <cdhmanning@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] How to handle modularity in buildroot?
Date: Tue, 4 Dec 2012 12:49:14 +1300	[thread overview]
Message-ID: <201212041249.14541.manningc2@actrix.gen.nz> (raw)
In-Reply-To: <F9C551623D2CBB4C9488801D14F864C610B824F7@ex-mb1.corp.adtran.com>

On Tuesday 04 December 2012 12:17:13 ANDY KENNEDY wrote:

> >
> > Is there an easy way to have modular/hierarchical projects? For
> > example I would like to have a base file system that holds common
> > stuff but then have variants (eg. production vs development).
> >
> > In OE this is easy: just create a "basic system" package which is
> > included in the recipes for each of the variants.
> >
> > How would this be tackled in buildroot?
>
> I believe what you are looking for is 'make defconfig'.  This will
> provide a basic set of configuration options to get you going, then
> you'll have to edit the things like processor family, processor type,
> whether you want uClibc vs {e,}glibc, etc.
>
> The default config is usually okay for a first attempt, however, I like
> to provide to others in my company a set of config files to choose from.
> Those, I derive from just cranking through the menuconfig and save the
> options off when I get done.
>
> If you are looking for more than this, there are a few other default
> config files to attempt.  To list those config files do a 'make help'.
>
> Hope this helps!

Thanks Andy

I am aware of this mechanism but I don't think it really gets me what I am 
after.

I think that with defconfig, I would be able to make defconfig, then tweak the 
config to get a variant. But now if I change the base config, I then have to 
go through the process again for the variant.

What I would like is the ability to have:
* A base package
* Production rootfs = base + production files.
* Development rootfs = base  + development files.

Then a change to the base package automatically flows through the production + 
development rootfs.


Is there a way to accomplish that?

Thanks

Charles

  reply	other threads:[~2012-12-03 23:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-03 22:00 [Buildroot] How to handle modularity in buildroot? Charles Manning
2012-12-03 23:17 ` ANDY KENNEDY
2012-12-03 23:49   ` Charles Manning [this message]
2012-12-04  9:01     ` Stephan Hoffmann
2012-12-04  9:10     ` Bjørn Forsman
2012-12-04  9:10     ` Thomas Petazzoni
2012-12-04 18:18       ` Charles Manning
2012-12-05 17:14         ` Arnout Vandecappelle

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=201212041249.14541.manningc2@actrix.gen.nz \
    --to=cdhmanning@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox