]> granicus.if.org Git - esp-idf/blob - components/spi_flash/CMakeLists.txt
Merge branch 'bugfix/btdm_coex_hw_blocking' into 'master'
[esp-idf] / components / spi_flash / CMakeLists.txt
1 if(BOOTLOADER_BUILD)
2     # Bootloader needs SPIUnlock from this file, but doesn't
3     # need other parts of this component
4     set(COMPONENT_SRCS "spi_flash_rom_patch.c")
5     set(COMPONENT_PRIV_REQUIRES bootloader_support)
6 else()
7     set(COMPONENT_SRCS "cache_utils.c"
8                    "flash_mmap.c"
9                    "flash_ops.c"
10                    "partition.c"
11                    "spi_flash_rom_patch.c")
12     set(COMPONENT_PRIV_REQUIRES bootloader_support app_update)
13 endif()
14
15 set(COMPONENT_ADD_INCLUDEDIRS include)
16 set(COMPONENT_REQUIRES)
17
18 register_component()