spi_flash: Remove duplicate spi_flash_rom_patch in CMakeLists.txt

This commit is contained in:
Angus Gratton 2019-10-28 10:18:17 +11:00 committed by Angus Gratton
parent eea0a6bc56
commit 894a3b4771

View File

@ -44,10 +44,6 @@ else()
set(priv_requires bootloader_support app_update soc)
endif()
if(IDF_TARGET STREQUAL "esp32")
list(APPEND srcs "spi_flash_rom_patch.c")
endif()
idf_component_register(SRCS "${srcs}"
PRIV_REQUIRES "${priv_requires}"
INCLUDE_DIRS include