All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm-bsp/musca-*: use newlib for libc
@ 2020-10-14 15:52 Ross Burton
  2020-10-15 16:57 ` [meta-arm] " Jon Mason
  0 siblings, 1 reply; 2+ messages in thread
From: Ross Burton @ 2020-10-14 15:52 UTC (permalink / raw)
  To: meta-arm

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(-)

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"
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-arm] [PATCH] arm-bsp/musca-*: use newlib for libc
  2020-10-14 15:52 [PATCH] arm-bsp/musca-*: use newlib for libc Ross Burton
@ 2020-10-15 16:57 ` Jon Mason
  0 siblings, 0 replies; 2+ messages in thread
From: Jon Mason @ 2020-10-15 16:57 UTC (permalink / raw)
  To: Ross Burton; +Cc: meta-arm

On Wed, Oct 14, 2020 at 04:52:14PM +0100, Ross Burton wrote:
> 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>

Pulled into master.

Thanks,
Jon

> ---
>  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(-)
> 
> 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"
> -- 
> 2.25.1
> 

> 
> 
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-15 16:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-14 15:52 [PATCH] arm-bsp/musca-*: use newlib for libc Ross Burton
2020-10-15 16:57 ` [meta-arm] " Jon Mason

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.