persist changes made with menuconfig to overrides/
realnedsanders opened this issue · 3 comments
Using make br/menuconfig
saved to default config file workspaces/$workspace/.config
does not override any buildroot config options contained in any of the packages.
@realnedsanders the changes you make with menuconfig are not persisted and will be overridden the next time "make configure" runs.
Instead, add a file at ./overrides/buildroot/myconfig and add the configuration options there. BR2_PACKAGE_NANO=y
for example.
Then run "make configure" and it will apply the overrides.
I'll rename this issue because I've been thinking of a way to detect what was changed in menuconfig and automatically store it under overrides. Please use the approach above in the meantime.
Ahhh, that makes sense, I feel foolish.
Persisting the menuconfig options to overrides/ would be very convenient.
diff <(sort workspaces/.config_$workspace/final/buildroot) <(sort workspaces/$workspace/.config)
after the user exits menuconfig
might be useful.
In the kernel there's a script named diffconfig that generates those diffs.