mirror of
https://github.com/apache/nuttx.git
synced 2025-12-10 20:24:51 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user