[Buildroot] Linux and busybox-configfiles

Arnout Vandecappelle arnout at mind.be
Wed Jan 30 09:54:36 UTC 2013


On 30/01/13 08:50, Jeremy Rosen wrote:
>>    If this does go through, I would  like to have some way to throw
>>    away
>> the customized config and revert to the configured config.  Perhaps a
>> 'realclean' target?
>>
>>
>
> I am not sure what you mean by "the configured" vs "the customized"
>
> I guess that the customized is the one from make linux-menuconfig and the configured is the one from make foo_defconfig

  Not from 'make foo_defconfig', but from 'make menuconfig'.

  If in the buildroot config I select 'Use omap2plus defconfig' for the 
kernel, then I expect it to use the omap2plus configuration. Similarly, 
if I set the custom linux config to /some/path/linux.config, then I 
expect that that configuration will be used.

  So 'configured' is what you see in 'make menuconfig', 'customized' is 
what you see in 'make linux-menuconfig'.


> hmm, I see your use case.... I would tend to argue that the kernel is no exception to the way buildroot works
>
> * make clean removes all build-generated but doesn't touch user-defined configurations (BR configuration, kernel configuration)

  But the problem is that the buildroot configuration conflicts with the 
kernel configuration.


  Regards,
  Arnout

> * to revert to BR's suggested configuration, use make xxx_defconfig, and that would override both the kernel and BR's configuration.
>
> I don't really see a use-case for "revert my changes to the kernel, but not the rest of buildroot" though providing targets like make linux-xxx_defconfig for all kernel defined defconfig
> and/or a make linux-buildrootconfig to revert to the buildroot-suggested config might make sense...
>
>
> Best
> Jérémy
>


-- 
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:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F


More information about the buildroot mailing list