1# 2# Component Makefile 3# 4 5COMPONENT_SRCDIRS := . 6 7COMPONENT_ADD_INCLUDEDIRS = include 8 9COMPONENT_ADD_LDFLAGS = -lapp_trace 10 11# do not produce gcov info for this module, it is used as transport for gcov 12CFLAGS := $(subst --coverage,,$(CFLAGS)) 13 14ifdef CONFIG_SYSVIEW_ENABLE 15 16COMPONENT_ADD_INCLUDEDIRS += \ 17 sys_view/Config \ 18 sys_view/SEGGER \ 19 sys_view/Sample/OS 20 21COMPONENT_SRCDIRS += \ 22 gcov \ 23 sys_view/SEGGER \ 24 sys_view/Sample/OS \ 25 sys_view/Sample/Config \ 26 sys_view/esp32 \ 27 sys_view/ext 28else 29COMPONENT_SRCDIRS += gcov 30endif 31 32COMPONENT_ADD_LDFRAGMENTS += linker.lf 33