OVMS3-idf/components/spi_flash/CMakeLists.txt

11 lines
267 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()