Browse Source

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>
pull/70309/head
Alberto Escolar Piedras 1 year ago committed by Henrik Brix Andersen
parent
commit
bb18a30f89
  1. 4
      arch/posix/Linux.aarch64.cmake

4
arch/posix/Linux.aarch64.cmake

@ -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…
Cancel
Save