qemu-nios2: use glibc

newlib fails to compile for nios2 architecture.  Work around this by
using glibc instead.

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
This commit is contained in:
Jon Mason
2022-07-08 12:29:24 -04:00
committed by Naveen Saini
parent dfca1fdbe7
commit bdea0e3154
2 changed files with 3 additions and 1 deletions

View File

@@ -14,3 +14,5 @@ QB_OPT_APPEND = "-nographic"
QB_CPU = "-cpu nios2"
ARCH:qemu-nios2 = "nios2"
TCLIBC = "glibc"

View File

@@ -4,7 +4,7 @@ DISTRO_VERSION = "1.0"
TARGET_VENDOR = "-yocto"
TCLIBC = "newlib"
TCLIBC ?= "newlib"
TEST_TARGET = "QemuTargetZephyr"
TEST_SUITES = "zephyr"