tools: replace INCDIR to Makefile variable

In the past, header file paths were generated by the incdir command
Now they are generated by concatenating environment variables

In this way, when executing makefile, no shell command will be executed,
it will improve the speed of executing makfile
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
yinshengkai
2022-11-01 21:47:53 +08:00
committed by Xiang Xiao
parent 95d9abcf58
commit 85f727f232
79 changed files with 153 additions and 151 deletions

View File

@@ -36,6 +36,6 @@ endif
DEPPATH += --dep-path bluetooth
VPATH += :bluetooth
CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)wireless$(DELIM)bluetooth}
CFLAGS += ${INCDIR_PREFIX}$(TOPDIR)$(DELIM)wireless$(DELIM)bluetooth
endif # CONFIG_WIRELESS_BLUETOOTH