1.因为make menuconfig,使用make进行编译的,一定通过Makefile文件进行管理 1.在uboot源码顶层目录,打开Makefile文件,搜索:config,查找到如下打印信息
@会取消回显,所以在Makefile文档中,将$(Q)变量去掉 1.在uboot源码顶层目录,打开Makefile文件,搜索:config,去掉$(Q)
2.在uboot源码顶层目录下,执行make fsmp1a_defconfig,会打印相应的变量信息 make -f ./scripts/Makefile.build obj=scripts/kconfig fsmp1a_defconfig = make obj=scripts/kconfig fsmp1a_defconfig
3.由此可知是在scripts/kconfig执行makefile
4.进入scripts/kconfig打开makefile搜索menuconfig
搜索到如下信息:
5.回到uboot顶层目录下执行make menuconfig指令
make -f ./scripts/Makefile.build obj=scripts/kconfig menuconfig
scripts/kconfig/mconf Kconfig