component.mk 556 B

12345678910111213141516171819
  1. #
  2. # Component Makefile
  3. #
  4. COMPONENT_SRCDIRS := .
  5. COMPONENT_ADD_INCLUDEDIRS := include
  6. COMPONENT_ADD_LDFLAGS := -lpthread
  7. ifdef CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP
  8. COMPONENT_ADD_LDFLAGS += -Wl,--wrap=vPortCleanUpTCB
  9. endif
  10. # Forces the linker to include pthread implementation from this component,
  11. # instead of the weak implementations provided by libgcc.
  12. COMPONENT_ADD_LDFLAGS += -u pthread_include_pthread_impl
  13. COMPONENT_ADD_LDFLAGS += -u pthread_include_pthread_cond_impl
  14. COMPONENT_ADD_LDFLAGS += -u pthread_include_pthread_local_storage_impl