From: Jeremy Rosen <jeremy.rosen@openwide.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [RFC] permit menu customization
Date: Tue, 23 Apr 2013 09:18:46 +0200 (CEST) [thread overview]
Message-ID: <2109665750.1839087.1366701526272.JavaMail.root@openwide.fr> (raw)
In-Reply-To: <5175AAAA.5030503@mind.be>
>
> On 22/04/13 11:07, spdawson at gmail.com wrote:
> > From: Simon Dawson<spdawson@gmail.com>
> >
> > This patch is a first attempt at providing a mechanism by which the
> > user
> > can specify a local menu configuration file, for extending the
> > Buildroot
> > menu system.
>
> A couple of patches with a similar purpose have been posted in the
> last
> year or so. However, at the last two buildroot developer meetings
> we've
> decided that this approach is not the way we want to go. Instead,
> adding
> custom packages should be done by including them directly at the top
> of
> packages/Config.in.
>
So, basically, it's not possible to add a software to buildroot without
modifying buildroot-provided files...
I know I wasn't at these dev meetings, but when we work for customers that
develop dedicated software for their appliance I can't use the simple
rule "every change in the buildroot tree should be upstreamed"
it also means that generating patches in a tree like that (mixture of
upstreamable and non-upstreamable changes) is more complicated.
I can mange that but I know for a fact that lots of customers won't bother
with that... And I can't always do it for them.
I have been working on some time on finding a way of having a work
environement for buildroot that I can provide which clearly separates
* buildroot provided files
* local configuration
* the local single-purpose software for the project
but I can't really manage to do it. O= helps, it allows to separate (most of)
the configuration, the XXX_OVERRIDE_SRCDIR also helps managing hevily
patched dependencies (where we would upstream to the project but not to
buildroot)
but managing buildroot-upstreamable changes is a bit complicated because I
have to edit packages/Config.in and packages/Makefile.in
I would really appreciate a patch as above (I tried to write it myself but
also stumbled on the seeding problem) so, for what it's worth, I'll second it
I know the official answer is "a project <=> a board" and that I should copy
the defconfig into a new board, but that seems weird when I am reusing an
existing board and, again, it complicates configuration management.
Basically my whole project has to be a clone of buildroot, whereas I would
like buildroot to be a submodule of my project so I can keep my changes
separated.
comments would be appreciated on how to do that....
>
> Another buildroot rule is that the build should never modify the
> buildroot directory itself when O= is specified on the command line.
> So
> the Config.in.user should at least be in the CONFIG_DIR rather than
> the
> TOPDIR.
>
on a (slightly) related note, should I re-send my patch that changes the
default location of local.mk to $(CONFIG_DIR) instead of $(TOPDIR) ?
>
> Regards,
> Arnout
>
> [snip]
>
> --
> Arnout Vandecappelle arnout at mind be
> Senior Embedded Software Architect +32-16-286500
> Essensium/Mind http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR
> Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
next prev parent reply other threads:[~2013-04-23 7:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-22 9:07 [Buildroot] [RFC] permit menu customization spdawson at gmail.com
2013-04-22 21:24 ` Arnout Vandecappelle
2013-04-23 7:14 ` Simon Dawson
2013-04-23 7:18 ` Jeremy Rosen [this message]
2013-04-23 21:09 ` Reuben Dowle
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=2109665750.1839087.1366701526272.JavaMail.root@openwide.fr \
--to=jeremy.rosen@openwide.fr \
--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.