summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-03-31 21:00:10 +0200
committerPeter Korsgaard <peter@korsgaard.com>2016-04-08 12:09:52 +0200
commitee47352920cd0a89d6b775d489541183b31fb9d1 (patch)
tree2cab008cb321a126a9c1ea4a203adfd73834e6db
parentc6724b4f4733216aec251ab7744ad5277c4ff7cf (diff)
downloadbuildroot-ee47352920cd0a89d6b775d489541183b31fb9d1.tar.gz
buildroot-ee47352920cd0a89d6b775d489541183b31fb9d1.zip
toolchain-buildroot: don't show musl on noMMU platforms
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> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--toolchain/toolchain-buildroot/Config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in
index ea290eb97a..0c4080111a 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
OpenPOWER on IntegriCloud