diff --git a/drivers/eeprom/CMakeLists.txt b/drivers/eeprom/CMakeLists.txt index b22380fdde8..dced9ecb29a 100644 --- a/drivers/eeprom/CMakeLists.txt +++ b/drivers/eeprom/CMakeLists.txt @@ -14,8 +14,6 @@ if(CONFIG_EEPROM_SIMULATOR) zephyr_library_sources(eeprom_simulator.c) if(CONFIG_NATIVE_LIBRARY) target_sources(native_simulator INTERFACE eeprom_simulator_native.c) - elseif(CONFIG_ARCH_POSIX) - zephyr_library_sources(eeprom_simulator_native.c) endif() endif() zephyr_library_sources_ifdef(CONFIG_EEPROM_EMULATOR eeprom_emulator.c)