mirror of
https://git.yoctoproject.org/meta-zephyr
synced 2026-09-13 03:49:31 +02:00
zephyr: use TCLIBC=newlib directly
Instead of setting TCLIBC=baremetal and then adding newlib in various places, just set TCLIBC=newlib directly. This also means we can use the standard DEPENDS instead of reinventing them. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
This commit is contained in:
committed by
Naveen Saini
parent
4df23ca31f
commit
b6938016f4
@@ -5,16 +5,11 @@ DISTRO_VERSION = "1.0"
|
||||
|
||||
TARGET_VENDOR = "-yocto"
|
||||
|
||||
TCLIBC = "baremetal"
|
||||
TCLIBCAPPEND = ""
|
||||
TCLIBC = "newlib"
|
||||
|
||||
TEST_TARGET = "QemuTargetZephyr"
|
||||
TEST_SUITES = "zephyr"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/libc = "newlib"
|
||||
PREFERRED_PROVIDER_virtual/libiconv = "newlib"
|
||||
|
||||
TOOLCHAIN_TARGET_TASK += " newlib"
|
||||
INHERIT += "siteinfo-zephyr"
|
||||
|
||||
INHERIT += "uninative"
|
||||
|
||||
@@ -19,10 +19,7 @@ EXTRA_OECMAKE_append_arm = " -DZEPHYR_MODULES=${S}/modules/cmsis"
|
||||
export ZEPHYR_BASE="${S}"
|
||||
|
||||
|
||||
# We always need a toolchain to cross-compile.
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
DEPENDS += "gcc-cross-${TARGET_ARCH} libgcc ${TOOLCHAIN_TARGET_TASK} gperf-native"
|
||||
DEPENDS += " python3-pyelftools-native python3-pyyaml-native python3-pykwalify-native"
|
||||
DEPENDS += "gperf-native python3-pyelftools-native python3-pyyaml-native python3-pykwalify-native"
|
||||
CROSS_COMPILE = "${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}"
|
||||
|
||||
DEPENDS_append_qemuall = " qemu-native qemu-helper-native"
|
||||
|
||||
Reference in New Issue
Block a user