Skip to content

Instantly share code, notes, and snippets.

@uebayasi
Last active August 29, 2016 11:11
Show Gist options
  • Save uebayasi/eeb02c675e65c5a0021ee744b45255e2 to your computer and use it in GitHub Desktop.
Save uebayasi/eeb02c675e65c5a0021ee744b45255e2 to your computer and use it in GitHub Desktop.

TL;DR - Use diffconfig

Initial build

  • Create .config by running make 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 running make defconfig
  • Do build (make)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment