mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
19 lines
366 B
Makefile
19 lines
366 B
Makefile
#
|
|
# 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
|
|
|
|
ifeq ($(PROFILING_ENABLED), 1)
|
|
# uses C11 atomic feature
|
|
esp_event.o: CFLAGS += -std=gnu11
|
|
endif
|