2017-03-22 03:07:37 +00:00
|
|
|
#
|
|
|
|
# Component Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
COMPONENT_SRCDIRS := .
|
|
|
|
|
2017-08-16 23:36:00 +00:00
|
|
|
COMPONENT_ADD_INCLUDEDIRS = include
|
2017-03-22 03:07:37 +00:00
|
|
|
|
2017-08-16 23:36:00 +00:00
|
|
|
COMPONENT_ADD_LDFLAGS = -lapp_trace
|
|
|
|
|
|
|
|
# do not produce gcov info for this module, it is used as transport for gcov
|
|
|
|
CFLAGS := $(subst --coverage,,$(CFLAGS))
|
2017-03-22 03:07:37 +00:00
|
|
|
|
|
|
|
ifdef CONFIG_SYSVIEW_ENABLE
|
|
|
|
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS += \
|
|
|
|
sys_view/Config \
|
|
|
|
sys_view/SEGGER \
|
|
|
|
sys_view/Sample/OS
|
|
|
|
|
|
|
|
COMPONENT_SRCDIRS += \
|
2017-08-16 23:36:00 +00:00
|
|
|
gcov \
|
2017-03-22 03:07:37 +00:00
|
|
|
sys_view/SEGGER \
|
|
|
|
sys_view/Sample/OS \
|
|
|
|
sys_view/Sample/Config \
|
|
|
|
sys_view/esp32
|
2017-08-16 23:36:00 +00:00
|
|
|
else
|
|
|
|
COMPONENT_SRCDIRS += gcov
|
2018-11-30 03:00:52 +00:00
|
|
|
endif
|
2018-04-18 02:57:45 +00:00
|
|
|
|
|
|
|
COMPONENT_ADD_LDFRAGMENTS += linker.lf
|