确定<board_name>名字,分析makefile的过程
方式1:1.在uboot源码目录下执行: make fsmp1a_defconfig
2.获得错误:fsmp1a_defconfig这个文件不在arch/../configs/里,所以<board_name>默认的配置文件存放在arch/../configs/
3.进入arch/../configs/下,查看配置信息 stm32mp15_basic_defconfig:非安全默认配置文件 stm32mp15_trusted_defconfig:安全默认配置文件
方式2:1.在uboot源码目录下,打开Makefile文件,搜索config,用echo查看打印结果:
2.回到uboot源码目录,执行 make fsmp1a_defconfig,打印结果为@ make -f ./scripts/Makefile.build obj fsmp1a_defconfig
在方法二的基础上:1.打开Makefile文件搜索config,去掉$(Q)后在uboot源码目录下执行命令make fsmp1a_defconfig,进入到scripts/kconfig目录下,打开Makefile搜索目标defconfig,打印变量:<