8c5c5a9452
Because the only difference between native_posix and native_posix_64 should be 32-bit vs 64-bit compilation, the NATIVE_POSIX menu option is turned into NATIVE_POSIX_32 and the NATIVE_POSIX_64 is added, with both selecting NATIVE_POSIX. This way nothing changes for the existing native_posix target, allowing it to share almost everything with the 64-bit version. Both flavors are made available for CI tests to pick them. This assumes both 32-bit and 64-bit build environments are available. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
25 lines
766 B
Plaintext
25 lines
766 B
Plaintext
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config BOARD_NATIVE_POSIX_32BIT
|
|
bool "Native POSIX for 32-bit host"
|
|
depends on SOC_POSIX
|
|
select BOARD_NATIVE_POSIX
|
|
help
|
|
Will produce a console Linux process which can be executed natively
|
|
as a 32-bit executable.
|
|
It provides some minimal needed models:
|
|
An interrupt controller, timer (system tick), and redirects kernel prints to
|
|
stdout.
|
|
|
|
config BOARD_NATIVE_POSIX_64BIT
|
|
bool "Native POSIX for 64-bit host"
|
|
depends on SOC_POSIX
|
|
select BOARD_NATIVE_POSIX
|
|
select 64BIT
|
|
help
|
|
Will produce a console Linux process which can be executed natively
|
|
as a 64-bit executable.
|
|
It provides some minimal needed models:
|
|
An interrupt controller, timer (system tick), and redirects kernel prints to
|
|
stdout.
|