Add component.mk file for esp-idf make based commands (#2056)

* Add component.mk file for esp-idf make commands

* component.mk: Check for IDF_VER

Checks for IDF_VER when adding COMPONENT_SRCDIRS and COMPONENT_ADD_INCLUDEDIRS
to avoid definig them when not using LVGL as ESP-IDF component.

* component.mk: Remove info messages
This commit is contained in:
Carlos Diaz
2021-02-08 09:15:59 -06:00
committed by GitHub
parent 5d3fce8208
commit e6de537952

8
component.mk Normal file
View File

@@ -0,0 +1,8 @@
# ESP-IDF component file for make based commands
ifdef $(IDF_VER)
COMPONENT_SRCDIRS := .
COMPONENT_ADD_INCLUDEDIRS := .
endif