u

1、

在终端中输出短命令虽然看起来很清爽,但是不利于分析 uboot 的编译过程。可以通过设 置变量“V=1“来实现完整的命令输出,

73 ifeq ("$(origin V)", "command line")
74 KBUILD_VERBOSE = $(V)
75 endif
76 ifndef KBUILD_VERBOSE
77 KBUILD_VERBOSE = 0
78 endif
79
80 ifeq ($(KBUILD_VERBOSE),1)
81 quiet =
82 Q =
83 else
84 quiet=quiet_
85 Q = @
86 endif

 

2、vscode是可以看出来

#include "atest.h"
#ifdef TEST
void fun1(){

}
#endif

头文件
#define TEST 1

预定义的

 

3 makefile

filter firstword

posted @ 2022-07-14 15:12  cnchengv  阅读(30)  评论(0编辑  收藏  举报