[meta-arm] arm-bsp/musca-*: use newlib for libc

Submitted by Ross Burton on Oct. 14, 2020, 3:52 p.m. | Patch ID: 177249

Details

Message ID 20201014155214.2936166-1-ross.burton@arm.com
State New
Headers show

Commit Message

Ross Burton Oct. 14, 2020, 3:52 p.m.
Whilst glibc is definitely not an option for Cortex-M cores, newlib is
a viable libc implementation that is useful to default too.

Change-Id: I1f3a53e43945f486aa2e7bce019f105c55df5e87
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta-arm-bsp/conf/machine/musca-b1.conf | 2 +-
 meta-arm-bsp/conf/machine/musca-s1.conf | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta-arm-bsp/conf/machine/musca-b1.conf b/meta-arm-bsp/conf/machine/musca-b1.conf
index 40964be..50b2f05 100644
--- a/meta-arm-bsp/conf/machine/musca-b1.conf
+++ b/meta-arm-bsp/conf/machine/musca-b1.conf
@@ -10,7 +10,7 @@  PREFERRED_VERSION_trusted-firmware-m = "1.0"
 require conf/machine/include/tune-cortexm33.inc
 
 # GLIBC will not work with Cortex-M.
-TCLIBC = "baremetal"
+TCLIBC = "newlib"
 
 # For runqemu
 require conf/machine/include/qemu.inc
diff --git a/meta-arm-bsp/conf/machine/musca-s1.conf b/meta-arm-bsp/conf/machine/musca-s1.conf
index d2e5ab7..66e0a35 100644
--- a/meta-arm-bsp/conf/machine/musca-s1.conf
+++ b/meta-arm-bsp/conf/machine/musca-s1.conf
@@ -10,4 +10,4 @@  PREFERRED_VERSION_trusted-firmware-m = "1.0"
 require conf/machine/include/tune-cortexm33.inc
 
 # GLIBC will not work with Cortex-M.
-TCLIBC = "baremetal"
+TCLIBC = "newlib"