2018-11-19 03:46:21 +00:00
|
|
|
#
|
|
|
|
# Component Makefile
|
|
|
|
# currently the only SoC supported; to be moved into Kconfig
|
2019-06-18 11:34:05 +00:00
|
|
|
TARGET := $(IDF_TARGET)
|
2018-11-19 03:46:21 +00:00
|
|
|
|
2021-01-25 20:27:03 +00:00
|
|
|
COMPONENT_SRCDIRS := $(TARGET) src
|
|
|
|
ifdef CONFIG_IDF_TARGET_ESP32
|
|
|
|
COMPONENT_OBJEXCLUDE := src/esp_efuse_api_key_esp32xx.o
|
|
|
|
else
|
|
|
|
COMPONENT_OBJEXCLUDE := src/esp_efuse_api_key_esp32.o
|
|
|
|
endif
|
2018-11-19 03:46:21 +00:00
|
|
|
|
2021-01-25 20:27:03 +00:00
|
|
|
COMPONENT_PRIV_INCLUDEDIRS := private_include $(TARGET)/private_include
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS := include $(TARGET)/include
|
2021-06-16 23:21:36 +00:00
|
|
|
|
|
|
|
ifdef CONFIG_EFUSE_VIRTUAL
|
|
|
|
$(info eFuse virtual mode is enabled. If Secure boot or Flash encryption is enabled then it does not provide any security. FOR TESTING ONLY!)
|
|
|
|
endif
|