Make menuconfig and make kernel_menuconfig

Hi I'm trying to understand about configurations in openwrt. Can someone please point me in the right direction

  1. What does make menuconfig exactly do.
  2. What does make kernel_menuconfig do.

And is it possible that a build goes successfully with a config file which is combination of both [ topdir/.config and target/Linux/*/config-]. Does it actually work ? If not what can be the possible issues.

1 Like

hi, check https://openwrt.org/docs/guide-developer/toolchain/use-buildsystem

4 Likes

Yeah, this helped thanks a lot, but I want to know how I can merge these two .config files into one, like both make menuconfig and make kernel_menuconfig to write into same .config file is there a script where can I modify and check ?

no. they are doing two different things.

1 Like

To merge two different files, you might want to use the diff command and other CLI basic tools.

1 Like