esp-idf/components/esp_event/component.mk

19 wiersze
366 B
Makefile
Czysty Zwykły widok Historia

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