Properly categorize libs into user and system automatically.
This commit is contained in:
parent
7f3fe66495
commit
dfd32d2b2c
1 changed files with 2 additions and 2 deletions
|
@ -514,8 +514,8 @@ CAT = cat
|
||||||
ECHO = echo
|
ECHO = echo
|
||||||
|
|
||||||
# General arguments
|
# General arguments
|
||||||
SYS_LIBS = $(patsubst %,$(ARDUINO_LIB_PATH)/%,$(ARDUINO_LIBS))
|
SYS_LIBS = $(foreach libdir,$(patsubst %,$(ARDUINO_LIB_PATH)/%,$(ARDUINO_LIBS)),$(call dir_if_exists,$(libdir)))
|
||||||
USER_LIBS = $(patsubst %,$(USER_LIB_PATH)/%,$(ARDUINO_LIBS))
|
USER_LIBS = $(foreach libdir,$(patsubst %,$(USER_LIB_PATH)/%,$(ARDUINO_LIBS)),$(call dir_if_exists,$(libdir)))
|
||||||
SYS_INCLUDES = $(patsubst %,-I%,$(SYS_LIBS))
|
SYS_INCLUDES = $(patsubst %,-I%,$(SYS_LIBS))
|
||||||
USER_INCLUDES = $(patsubst %,-I%,$(USER_LIBS))
|
USER_INCLUDES = $(patsubst %,-I%,$(USER_LIBS))
|
||||||
LIB_C_SRCS = $(wildcard $(patsubst %,%/*.c,$(SYS_LIBS)))
|
LIB_C_SRCS = $(wildcard $(patsubst %,%/*.c,$(SYS_LIBS)))
|
||||||
|
|
Loading…
Reference in a new issue