From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCHv3 2/5] core: allow external Config.in/makefile code to be integrated
Date: Thu, 28 Nov 2013 21:21:48 +0100 [thread overview]
Message-ID: <20131128212148.5bd51eb8@skate> (raw)
In-Reply-To: <CAHXCMM+wT7=ieH3P-xP8DdJzKBXsmADO5KC1EJrwJQK99AP8sg@mail.gmail.com>
Dear Samuel Martin,
On Thu, 28 Nov 2013 21:04:04 +0100, Samuel Martin wrote:
> > Then please talk to the people who asked for enforcing
> > $(BR2_EXTERNAL)/package/Config.in usage during the Buildroot Developers
> > Days in Edinburgh.
>
> I thought the ml was the place for this...
It is indeed. But understand that it's a little bit annoying to get
some review at the Buildroot Developer Days (to which you
participated), change the patches accordingly, and then get some review
that goes in the opposite direction once you post the new version of
the patches.
> > This decision/choice is written very clearly in
> > http://elinux.org/Buildroot:DeveloperDaysELCE2013#BR2_EXTERNAL :
> >
> > """
> > Regarding the directory hierarchy in the external tree, it was agreed
> > that it is a good idea to force three subdirectories: package, board,
> > configs. Buildroot's package/Config.in will source
> > $BR2_EXTERNAL/package/Config.in.
> > """
> >
> Doh! I don't mean this at all! Looks like I was not clear enough.
>
> I'm not talking about the directory hierarchy, I do follow the Buildroot
> hierarchy.
> It does look like this:
>
> BR2_EXTERNAL/
> |`- board/
> | `- someboard/
> | |`- linux-myversion/
> | | `- linux-0001-fix-something.patch
> | |`- busybox-1.21.1.config
> | `- post-build-script.sh
> |`- configs/
> | `- someboard_defconfig
> `- package/
> |`- Config.in
> |`- Config.in.host
> |`- foo/
> | |`- foo.mk
> | |`- Config.in
> | `- Config.in.host
> |`- bar/
> | |`- bar.mk
> | `- Config.in.host
> `- toto/
> |`- toto.mk
> `- Config.in
>
> With BR2_EXTERNAL/package/Config.in sourcing all Config.in files from
> BR2_EXTERNAL,
> and BR2_EXTERNAL/package/Config.in.host sourcing all Config.in.host files
> from BR2_EXTERNAL,
>
> My point was only about sourcing BR2_EXTERNAL/package/Config.in.host under
> the
> "Host utilities" menu.
I perfectly understand what you mean, but I don't really like the idea
of sourcing BR2_EXTERNAL/package/Config.in.host, because it means the
user has to *always* create two Config.in files in its BR2_EXTERNAL
hierarchy to just get started in using BR2_EXTERNAL.
So, the reason your comment is *entirely* related to the previous
discussion is that in my previous proposal, I was including *ONE*
top-level BR2_EXTERNAL/Config.in, and it was up to the user to then do
whatever he wanted in this top-level Config.in file. We were not
enforcing anything.
I was OK with enforcing the usage of BR2_EXTERNAL/package/Config.in,
but not if we extend that to also enforce the usage (and existence) of
BR2_EXTERNAL/package/Config.in.host.
As you can see, your comment is *completely* related to the previous
proposal.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2013-11-28 20:21 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-27 22:31 [Buildroot] [PATCHv3 0/5] Keeping customizations outside the Buildroot tree with BR2_EXTERNAL Thomas Petazzoni
2013-11-27 22:31 ` [Buildroot] [PATCHv3 1/5] core: introduce the BR2_EXTERNAL variable Thomas Petazzoni
2013-11-28 21:50 ` Yann E. MORIN
2013-11-28 21:55 ` Yann E. MORIN
2013-11-28 22:29 ` Yann E. MORIN
2013-11-27 22:31 ` [Buildroot] [PATCHv3 2/5] core: allow external Config.in/makefile code to be integrated Thomas Petazzoni
2013-11-28 8:33 ` Jeremy Rosen
2013-11-28 8:43 ` Thomas Petazzoni
2013-11-28 9:37 ` Jeremy Rosen
2013-11-28 11:33 ` Thomas Petazzoni
2013-11-28 12:09 ` Ryan Barnett
2013-11-28 12:29 ` Thomas Petazzoni
2013-11-28 12:33 ` Ryan Barnett
2013-11-28 13:24 ` Samuel Martin
2013-11-28 13:37 ` Simon Dawson
2013-11-28 16:23 ` Thomas Petazzoni
2013-11-28 17:53 ` Samuel Martin
2013-11-28 18:20 ` Thomas Petazzoni
2013-11-28 20:04 ` Samuel Martin
2013-11-28 20:21 ` Thomas Petazzoni [this message]
2013-11-28 22:21 ` Yann E. MORIN
2013-11-29 8:38 ` Thomas Petazzoni
2013-11-30 23:30 ` Arnout Vandecappelle
2013-11-27 22:31 ` [Buildroot] [PATCHv3 3/5] core: allow external defconfigs to be used Thomas Petazzoni
2013-11-27 22:31 ` [Buildroot] [PATCHv3 4/5] docs/manual: add explanations about BR2_EXTERNAL Thomas Petazzoni
2013-11-27 22:31 ` [Buildroot] [PATCHv3 5/5] manual: fix manual generation with BR2_EXTERNAL support Thomas Petazzoni
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=20131128212148.5bd51eb8@skate \
--to=thomas.petazzoni@free-electrons.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