From 894a3b4771cf904453fed6aafdef9550f6122206 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Mon, 28 Oct 2019 10:18:17 +1100 Subject: [PATCH] spi_flash: Remove duplicate spi_flash_rom_patch in CMakeLists.txt --- components/spi_flash/CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/spi_flash/CMakeLists.txt b/components/spi_flash/CMakeLists.txt index 755c7d22d9..a3525021f0 100644 --- a/components/spi_flash/CMakeLists.txt +++ b/components/spi_flash/CMakeLists.txt @@ -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