From 7b8664c3f910331fbeacfc26c809f8e3c456c90e Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Mon, 18 Mar 2024 13:34:48 +0100 Subject: [PATCH] arch posix: Clarify some references to native_posix Some old references to native_posix are better refering to the native targets in general, or being clarified as only applying to the old native_posix like targets. Signed-off-by: Alberto Escolar Piedras --- arch/posix/CMakeLists.txt | 2 +- arch/posix/include/posix_cheats.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/posix/CMakeLists.txt b/arch/posix/CMakeLists.txt index 2ec433ad5c..478e29cac1 100644 --- a/arch/posix/CMakeLists.txt +++ b/arch/posix/CMakeLists.txt @@ -197,7 +197,7 @@ endif() # This is due to some tests using _Static_assert which is a 2011 feature, but # otherwise relying on compilers supporting it also when set to C99. # This was in general ok, but with some host compilers and C library versions -# it led to problems. So we override it to 2011 for native_posix. +# it led to problems. So we override it to 2011 for the native targets. set_property(GLOBAL PROPERTY CSTD c11) add_subdirectory(core) diff --git a/arch/posix/include/posix_cheats.h b/arch/posix/include/posix_cheats.h index 770dab9aac..d8307df0ef 100644 --- a/arch/posix/include/posix_cheats.h +++ b/arch/posix/include/posix_cheats.h @@ -16,7 +16,7 @@ * If you do see a link error telling you that zap_something is undefined, it is * likely that you forgot to select the corresponding Zephyr POSIX API. * - * This header is included automatically when targeting POSIX ARCH boards + * This header is included automatically when targeting some POSIX ARCH boards * (for ex. native_posix). * It will be included in _all_ Zephyr and application source files * (it is passed with the option "-include" to the compiler call)