mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
24b4c17ead
Required at project level because some components use header files in other components' submodules, and one component with a submodule (esptool.py) doesn't have or need a component.mk.
19 lines
504 B
Makefile
19 lines
504 B
Makefile
#
|
|
# Component Makefile
|
|
#
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS := include
|
|
|
|
CFLAGS += -Wno-error=unused-label -Wno-error=return-type -Wno-error=missing-braces -Wno-error=pointer-sign -Wno-error=parentheses
|
|
|
|
LIBS := btdm_app
|
|
|
|
COMPONENT_ADD_LDFLAGS := -lbt -L $(COMPONENT_PATH)/lib \
|
|
$(addprefix -l,$(LIBS)) \
|
|
$(LINKER_SCRIPTS)
|
|
|
|
ALL_LIB_FILES := $(patsubst %,$(COMPONENT_PATH)/lib/lib%.a,$(LIBS))
|
|
$(COMPONENT_LIBRARY): $(ALL_LIB_FILES)
|
|
|
|
COMPONENT_SUBMODULES += lib
|