[Buildroot] [PATCH] Adding in support for custom configurations
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Apr 19 07:22:55 UTC 2016
Hello,
On Tue, 19 Apr 2016 01:57:12 +0200, Arnout Vandecappelle wrote:
> >> >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 :-)
Our configs/ directory is also growing, so we could think of using
sub-directories to organize the configurations per-vendor, or to
separate the minimal configs from the demo ones, or something.
Or we could move the configs next to the board/ related files they
correspond. Hm, wait, that's what we used to do 5+ years ago :-)
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list