From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Adding in support for custom configurations
Date: Tue, 19 Apr 2016 01:57:12 +0200 [thread overview]
Message-ID: <57157458.7080802@mind.be> (raw)
In-Reply-To: <20160418214442.GB19968@asimov.austin.ibm.com>
On 04/18/16 23:44, Patrick Williams wrote:
> On Mon, Apr 18, 2016 at 09:15:58PM +0200, Thomas Petazzoni wrote:
>> >Hello,
>> >
>> >On Mon, 18 Apr 2016 11:25:28 -0500, Patrick Williams wrote:
>> >
>>> > >1. Have support for a defconfig location other than
>>> > >$(BR2_EXTERNAL)/configs/.
>>> > >
>>> > > We have the proposed patchset, which is too specific due to the use
>>> > > of 'custom', and we have a local hack where we put the same recipe
>>> > > into $(BR2_EXTERNAL)/docs/custom/custom.mk. Other than docs/*/*.mk,
>>> > > there is no include in buildroot/Makefile into the BR2_EXTERNAL tree
>>> > > when invoked without an existing .config.
>>> > >
>>> > > Would there be opposition to a new -include in buildroot/Makefile
>>> > > outside of the large $(if BR2_HAVE_DOT_CONFIG... block into the
>>> > > BR2_EXTERNAL tree? This would give us a hook point to add the
>>> > > %_defconfig recipe found in this patchset.
>>> > >
>>> > > Alternatively, or additionally, we could create a
>>> > > BR2_EXTERNAL_CONFIGS variable as a set of additional directories to
>>> > > search as defconfig locations.
>>> > >
>>> > >2. (Bonus) Enhance list-defconfigs to also display the defconfigs found
>>> > >at this extra location.
>>> > >
>>> > > Would there be opposition to something like a
>>> > > $(BR2_LIST_DEFCONFIGS_CMDS) variable to extend the list-defconfigs
>>> > > in the custom tree?
>> >
>> >I think the only reasonable solution to this is to really allow
>> >multiple BR2_EXTERNAL directories. A patch series doing this was
>> >proposed by Yann E. Morin a while ago, but due to the fairly
>> >significant additional complexity, it hasn't been merged so far.
> Has there been any previous discussion about allowing sub-directories
> under 'configs'? The Linux kernel tree allows both
> $(ARCH)/configs/*_defconfig and $(ARCH)/configs/*/*_defconfig . Coupled
> with Steve's proposal for us to use symlinks, we could create
> $(BR2_EXTERNAL)/configs/custom as a symlink to
> $(BR2_EXTERNAL)/custom/configs and have a solution as well.
>
If that doesn't add too much complexity (and I can't imagine it does), it
could definitely be a good solution. Especially if that allows us to kill the
idea of a multi-layered-without-calling-it-layers BR2_EXTERNAL :-)
Regards,
Arnout
--
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: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
next prev parent reply other threads:[~2016-04-18 23:57 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-15 15:40 [Buildroot] [PATCH] Adding in support for custom configurations Patrick Williams
2016-04-16 1:06 ` Steve Calfee
2016-04-17 20:31 ` Thomas Petazzoni
2016-04-18 16:25 ` Patrick Williams
2016-04-18 17:07 ` Steve Calfee
2016-04-18 17:14 ` Patrick Williams
2016-04-18 17:37 ` Steve Calfee
2016-04-18 20:59 ` Patrick Williams
2016-04-18 19:15 ` Thomas Petazzoni
2016-04-18 21:44 ` Patrick Williams
2016-04-18 23:57 ` Arnout Vandecappelle [this message]
2016-04-19 7:22 ` Thomas Petazzoni
2016-05-12 2:12 ` [Buildroot] [PATCH] Support nested config directories Patrick Williams
2016-05-12 13:55 ` 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=57157458.7080802@mind.be \
--to=arnout@mind.be \
--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