[Buildroot] [PATCH] [package/config] Change behaviour of symlink .config

Benoît Mauduit benoit.mauduit at gmail.com
Tue Jun 28 15:42:50 UTC 2011


On Tue, Jun 28, 2011 at 4:18 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
>
> I am not sure to understand your use case. Isn't using out-of-tree
> builds with O= a better solution, if what you want is to have the
> config file outside of the Buildroot source directory ?

I will try to explain my use case :
We use buildroot as a tool inside another, but we want to have the
choice of the tool for particular target.
For example, if I want to build the kernel and rootfs with Buildroot
and the bootloader with another tool.
Actually, the "Buildroot tool" is a Buildroot wrapper. It can be
configured with buildroot .config files and keep track of them in
another directory with another config filename.

We can save config for specific board (using make savedefconfig), but
we don't want to because is much for development purpose.
Also, we don't need to export the output of buildroot in another
directory. The trivial solution is to override the CONFIG_DIR variable
but we must name the config file ".config".

I know this patch is not useful for buildroot itself, but if it can
help some users.

> Regards,
Thanks for the review :)


-- 
Benoît Mauduit



More information about the buildroot mailing list