mirror of
https://github.com/espressif/esp-sr.git
synced 2025-09-15 15:28:44 +08:00
modify component.mk
This commit is contained in:
parent
d79304830a
commit
d313225814
21
component.mk
21
component.mk
@ -0,0 +1,21 @@
|
||||
COMPONENT_ADD_INCLUDEDIRS := lib/include \
|
||||
wake_word_engine/include \
|
||||
speech_command_recognition/include \
|
||||
acoustic_algorithm/include \
|
||||
|
||||
COMPONENT_SRCDIRS := speech_command_recognition
|
||||
|
||||
|
||||
LIB_FILES := $(shell ls $(COMPONENT_PATH)/wake_word_engine/lib*.a) \
|
||||
$(shell ls $(COMPONENT_PATH)/lib/lib*.a) \
|
||||
$(shell ls $(COMPONENT_PATH)/acoustic_algorithm/lib*.a) \
|
||||
$(shell ls $(COMPONENT_PATH)/speech_command_recognition/lib*.a) \
|
||||
|
||||
LIBS := $(patsubst lib%.a,-l%,$(LIB_FILES))
|
||||
|
||||
COMPONENT_ADD_LDFLAGS += -L$(COMPONENT_PATH)/lib \
|
||||
-L$(COMPONENT_PATH)/wake_word_engine \
|
||||
-L$(COMPONENT_PATH)/speech_command_recognition \
|
||||
-L$(COMPONENT_PATH)/acoustic_algorithm \
|
||||
$(LIBS)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user