[Buildroot] [PATCH] filter BR2_DEFCONFIG out of defconfig files

Thomas De Schampheleire patrickdepinguin at gmail.com
Wed Feb 5 11:54:08 UTC 2014


Hi,

On Tue, Feb 4, 2014 at 3:12 PM, Jérémy Rosen <jeremy.rosen at openwide.fr> wrote:
> When it is set, BR2_DEFCONFIG is saved like any config variable.
> However, at this point it is a completely expanded, absolute path
> It is not a good idea to save absolute paths in defconfig files
> moreover it makes little sense to save the defconfig location
> within the defconfig

The entire BR2_DEFCONFIG mechanism has never done what I expected.
What I want is that 'make savedefconfig' (or a similar command) saves
the configuration back to where it originated from. BR2_DEFCONFIG does
more or less that, but only if you set the configuration initially
with 'make defconfig BR2_DEFCONFIG=...' instead of the normal 'make
xxxx_defconfig'. Isn't this possible to achieve?

Best regards,
Thomas



More information about the buildroot mailing list