1、解析这个文件boards.cfg,把boards.cfg配置的那一行代码弄过来,赋值给line ,指明$1'$2.....$8[25-36]
$1 = Active
$2 = arm
$3 = armv7
$4 = s5pc1xx
$5 = samsung
$6 = goni
$7 = s5p_goni
$8 = -
2、给CONFIG_NAME赋值 [52]
3、给变量赋值,使arch=arm,cpu=armv7,board=goni,vendor=samsung,soc=s5pc1xx
4、输出提示信息,配置的时候生成这句话“Configuring fors5p_goni_config board...”
5、创建符号链接
6、创建config.mk [129-143]
7、指明board文件路径 [145-151]
8、创建config.h
来源:https://www.cnblogs.com/zyj23/p/12391833.html