arch/posix cmake: Replace native_posix w native_sim and use hwmv2 names
Let's fix the error messages: * native_posix is in general replaced with native_sim * let's use hwmv2 names Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
ae358704d2
commit
bb18a30f89
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ if (CONFIG_64BIT)
|
||||||
if (${WORDSIZE} STREQUAL "32")
|
if (${WORDSIZE} STREQUAL "32")
|
||||||
message(FATAL_ERROR
|
message(FATAL_ERROR
|
||||||
"CONFIG_64BIT=y but this Aarch64 machine has a 32-bit userspace.\n"
|
"CONFIG_64BIT=y but this Aarch64 machine has a 32-bit userspace.\n"
|
||||||
"If you were targeting native_posix_64, target native_posix instead.\n"
|
"If you were targeting native_sim/native/64, target native_sim instead.\n"
|
||||||
"Otherwise, be sure to define CONFIG_64BIT appropriately.\n"
|
"Otherwise, be sure to define CONFIG_64BIT appropriately.\n"
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
@ -27,7 +27,7 @@ else ()
|
||||||
if (${WORDSIZE} STREQUAL "64")
|
if (${WORDSIZE} STREQUAL "64")
|
||||||
message(FATAL_ERROR
|
message(FATAL_ERROR
|
||||||
"CONFIG_64BIT=n but this Aarch64 machine has a 64-bit userspace.\n"
|
"CONFIG_64BIT=n but this Aarch64 machine has a 64-bit userspace.\n"
|
||||||
"If you were targeting native_posix, target native_posix_64 instead.\n"
|
"If you were targeting native_sim, target native_sim/native/64 instead.\n"
|
||||||
"Otherwise, be sure to define CONFIG_64BIT appropriately.\n"
|
"Otherwise, be sure to define CONFIG_64BIT appropriately.\n"
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue