If static task cleanup option is enabled, then before invoking application defined `vPortCleanUpTCB` hook, pthread specific cleanup is performed. Signed-off-by: Mahavir Jain <mahavir@espressif.com>
13 lines
228 B
Makefile
13 lines
228 B
Makefile
#
|
|
# Component Makefile
|
|
#
|
|
|
|
COMPONENT_SRCDIRS := .
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS := include
|
|
|
|
COMPONENT_ADD_LDFLAGS := -lpthread
|
|
|
|
ifdef CONFIG_ENABLE_STATIC_TASK_CLEAN_UP_HOOK
|
|
COMPONENT_ADD_LDFLAGS += -Wl,--wrap=vPortCleanUpTCB
|
|
endif
|