2017-03-21 23:07:37 -04:00
|
|
|
#
|
|
|
|
# Component Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
COMPONENT_SRCDIRS := .
|
|
|
|
|
2017-08-16 19:36:00 -04:00
|
|
|
COMPONENT_ADD_INCLUDEDIRS = include
|
2017-03-21 23:07:37 -04:00
|
|
|
|
2017-08-16 19:36:00 -04: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-21 23:07:37 -04:00
|
|
|
|
|
|
|
ifdef CONFIG_SYSVIEW_ENABLE
|
|
|
|
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS += \
|
|
|
|
sys_view/Config \
|
|
|
|
sys_view/SEGGER \
|
|
|
|
sys_view/Sample/OS
|
|
|
|
|
|
|
|
COMPONENT_SRCDIRS += \
|
2017-08-16 19:36:00 -04:00
|
|
|
gcov \
|
2017-03-21 23:07:37 -04:00
|
|
|
sys_view/SEGGER \
|
|
|
|
sys_view/Sample/OS \
|
|
|
|
sys_view/Sample/Config \
|
|
|
|
sys_view/esp32
|
2017-08-16 19:36:00 -04:00
|
|
|
else
|
|
|
|
COMPONENT_SRCDIRS += gcov
|
2018-11-29 22:00:52 -05:00
|
|
|
endif
|
2018-04-17 22:57:45 -04:00
|
|
|
|
|
|
|
COMPONENT_ADD_LDFRAGMENTS += linker.lf
|