diff mbox

[v3,05/10] toolchain-buildroot: don't show musl on noMMU platforms

Message ID 1459450815-6494-6-git-send-email-thomas.petazzoni@free-electrons.com
State Accepted
Commit ee47352920cd0a89d6b775d489541183b31fb9d1
Headers show

Commit Message

Thomas Petazzoni March 31, 2016, 7 p.m. UTC
While musl has recently gained noMMU support for the sh2 platform, we
don't support this yet. So for the time being, let's not show musl as
an available C library on noMMU platforms. This is for example
important on ARM noMMU: ARM is supported by musl, but not its noMMU
variants.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 toolchain/toolchain-buildroot/Config.in | 3 +++
 1 file changed, 3 insertions(+)

Comments

Peter Korsgaard April 8, 2016, 10:10 a.m. UTC | #1
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > While musl has recently gained noMMU support for the sh2 platform, we
 > don't support this yet. So for the time being, let's not show musl as
 > an available C library on noMMU platforms. This is for example
 > important on ARM noMMU: ARM is supported by musl, but not its noMMU
 > variants.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.
diff mbox

Patch

diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in
index ea290eb..0c40801 100644
--- a/toolchain/toolchain-buildroot/Config.in
+++ b/toolchain/toolchain-buildroot/Config.in
@@ -94,6 +94,9 @@  config BR2_TOOLCHAIN_BUILDROOT_MUSL
 	depends on !BR2_powerpc_SPE # not supported, build breaks
 	# Unsupported for MIPS R6
 	depends on !BR2_mips_32r6 && !BR2_mips_64r6
+	# sh2 nommu is supported by musl, but we don't have support
+	# for it in Buildroot.
+	depends on BR2_USE_MMU
 	select BR2_TOOLCHAIN_USES_MUSL
 	help
 	  This option selects musl as the C library for the