mirror of
https://github.com/espressif/esp-idf
synced 2025-04-01 04:10:10 -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()
|