2018-10-26 05:14:19 +00:00
|
|
|
#
|
|
|
|
# Component Makefile
|
|
|
|
#
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS := include
|
|
|
|
COMPONENT_PRIV_INCLUDEDIRS := private_include
|
2019-02-15 13:28:24 +00:00
|
|
|
COMPONENT_SRCDIRS := .
|
2019-06-10 10:19:15 +00:00
|
|
|
COMPONENT_ADD_LDFRAGMENTS := linker.lf
|
2019-02-15 13:28:24 +00:00
|
|
|
|
2019-04-29 10:54:02 +00:00
|
|
|
ifdef CONFIG_ESP_EVENT_LOOP_PROFILING
|
2019-02-15 13:28:24 +00:00
|
|
|
PROFILING_ENABLED := 1
|
|
|
|
else
|
|
|
|
PROFILING_ENABLED := 0
|
|
|
|
endif
|
|
|
|
|
2019-11-05 11:20:26 +00:00
|
|
|
ifeq ($(PROFILING_ENABLED), 1)
|
2019-02-15 13:28:24 +00:00
|
|
|
# uses C11 atomic feature
|
|
|
|
esp_event.o: CFLAGS += -std=gnu11
|
|
|
|
endif
|