mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 20:54:24 +00:00
build system: Initial cmake support, work in progress
This commit is contained in:

committed by
Angus Gratton

parent
a538644560
commit
c671a0c3eb
11
components/spi_flash/CMakeLists.txt
Normal file
11
components/spi_flash/CMakeLists.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
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()
|
Reference in New Issue
Block a user