TL;DR - Use diffconfig
Initial build
- Create
.config
by runningmake menuconfig
interactively - Generate diffconfig by running
./script/diffconfig.sh
and save it (e.g.~/hoge.config
) - Do build (
make
)
Incremental build
- Restore diffconfig (e.g.
~/hoge.config
) as.config
- Regenerate
.config
by runningmake defconfig
- Do build (
make
)