mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-20 00:36:01 -04:00
12 lines
275 B
CMake
12 lines
275 B
CMake
if(BOOTLOADER_BUILD)
|
|
# Bootloader needs SPIUnlock from this file, but doesn't
|
|
# need other parts of this component
|
|
set(COMPONENT_SRCS spi_flash_rom_patch.c)
|
|
else()
|
|
set(COMPONENT_SRCDIRS .)
|
|
endif()
|
|
|
|
set(COMPONENT_ADD_INCLUDEDIRS include)
|
|
|
|
register_component()
|