From f19432a5768b7aa1fa406da2bd0ab9c4bb523b57 Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Fri, 6 Jun 2025 11:47:17 +0200 Subject: [PATCH] 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 --- include/zephyr/toolchain/mwdt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/zephyr/toolchain/mwdt.h b/include/zephyr/toolchain/mwdt.h index 1cc6899ec03..b1fae9d4d11 100644 --- a/include/zephyr/toolchain/mwdt.h +++ b/include/zephyr/toolchain/mwdt.h @@ -118,7 +118,7 @@ #error "ARC MWDT doesn't support building with CONFIG_NEWLIB_LIBC as it doesn't have newlib" #endif /* CONFIG_NEWLIB_LIBC */ -#ifdef CONFIG_NATIVE_APPLICATION +#ifdef CONFIG_NATIVE_BUILD #error "ARC MWDT doesn't support building Zephyr as an native application" #endif /* CONFIG_NATIVE_APPLICATION */