2016-09-22 08:40:31 +00:00
|
|
|
#
|
|
|
|
# Component Makefile
|
|
|
|
#
|
|
|
|
|
2016-09-25 17:45:12 +00:00
|
|
|
COMPONENT_ADD_INCLUDEDIRS := include
|
2016-09-22 08:40:31 +00:00
|
|
|
|
|
|
|
CFLAGS += -Wno-error=unused-label -Wno-error=return-type -Wno-error=missing-braces -Wno-error=pointer-sign -Wno-error=parentheses
|
|
|
|
|
|
|
|
LIBS := btdm_app
|
|
|
|
|
2016-11-09 01:51:55 +00:00
|
|
|
COMPONENT_ADD_LDFLAGS := -lbt -L $(COMPONENT_PATH)/lib \
|
2016-09-22 08:40:31 +00:00
|
|
|
$(addprefix -l,$(LIBS)) \
|
|
|
|
$(LINKER_SCRIPTS)
|
|
|
|
|
|
|
|
ALL_LIB_FILES := $(patsubst %,$(COMPONENT_PATH)/lib/lib%.a,$(LIBS))
|
|
|
|
$(COMPONENT_LIBRARY): $(ALL_LIB_FILES)
|
|
|
|
|
2016-11-16 00:12:48 +00:00
|
|
|
COMPONENT_SUBMODULES += lib
|