include mwdt: Change ifdef from NATIVE_APPLICATION to NATIVE_BUILD

NATIVE_APPLICATION is now deprecated so nobody will set it,
but NATIVE_BUILD should cover the same case this build error
is trying to warn about. Let's use it instead.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2025-06-06 11:47:17 +02:00 committed by Benjamin Cabé
commit f19432a576

View file

@ -118,7 +118,7 @@
#error "ARC MWDT doesn't support building with CONFIG_NEWLIB_LIBC as it doesn't have newlib" #error "ARC MWDT doesn't support building with CONFIG_NEWLIB_LIBC as it doesn't have newlib"
#endif /* CONFIG_NEWLIB_LIBC */ #endif /* CONFIG_NEWLIB_LIBC */
#ifdef CONFIG_NATIVE_APPLICATION #ifdef CONFIG_NATIVE_BUILD
#error "ARC MWDT doesn't support building Zephyr as an native application" #error "ARC MWDT doesn't support building Zephyr as an native application"
#endif /* CONFIG_NATIVE_APPLICATION */ #endif /* CONFIG_NATIVE_APPLICATION */