diff --git a/drivers/gpio/CMakeLists.txt b/drivers/gpio/CMakeLists.txt index 9772dd8e4ef..aeecf03ea22 100644 --- a/drivers/gpio/CMakeLists.txt +++ b/drivers/gpio/CMakeLists.txt @@ -131,11 +131,7 @@ zephyr_library_sources_ifdef(CONFIG_USERSPACE gpio_handlers.c) if (CONFIG_GPIO_EMUL_SDL) zephyr_library_sources(gpio_emul_sdl.c) - if (CONFIG_NATIVE_APPLICATION) - zephyr_library_sources(gpio_emul_sdl_bottom.c) - else() - target_sources(native_simulator INTERFACE gpio_emul_sdl_bottom.c) - endif() + target_sources(native_simulator INTERFACE gpio_emul_sdl_bottom.c) endif() if(CONFIG_GPIO_SC18IM704)