component.mk 347 B

1234567891011121314151617
  1. #
  2. # Component Makefile
  3. #
  4. COMPONENT_ADD_INCLUDEDIRS := include
  5. COMPONENT_PRIV_INCLUDEDIRS := private_include
  6. COMPONENT_SRCDIRS := .
  7. ifdef CONFIG_EVENT_LOOP_PROFILING
  8. PROFILING_ENABLED := 1
  9. else
  10. PROFILING_ENABLED := 0
  11. endif
  12. ifeq ($(and $(GCC_NOT_5_2_0),$(PROFILING_ENABLED)), 1)
  13. # uses C11 atomic feature
  14. esp_event.o: CFLAGS += -std=gnu11
  15. endif