/ components / esp_event / component.mk
component.mk
 1  #
 2  # Component Makefile
 3  #
 4  COMPONENT_ADD_INCLUDEDIRS := include
 5  COMPONENT_PRIV_INCLUDEDIRS := private_include
 6  COMPONENT_SRCDIRS := .
 7  COMPONENT_ADD_LDFRAGMENTS := linker.lf
 8  
 9  ifdef CONFIG_ESP_EVENT_LOOP_PROFILING
10  	PROFILING_ENABLED := 1
11  else
12  	PROFILING_ENABLED := 0
13  endif
14  
15  ifeq ($(PROFILING_ENABLED), 1)
16  # uses C11 atomic feature
17  esp_event.o: CFLAGS += -std=gnu11
18  endif