From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Fri, 18 Mar 2016 21:51:51 +0100 Subject: [Buildroot] [PATCH 09/16] toolchain-buildroot: don't show musl on noMMU platforms In-Reply-To: <56E9EBAE.80508@mind.be> References: <1458164602-16983-1-git-send-email-thomas.petazzoni@free-electrons.com> <1458164602-16983-10-git-send-email-thomas.petazzoni@free-electrons.com> <56E9EBAE.80508@mind.be> Message-ID: <20160318215151.7edc1516@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Arnout Vandecappelle, On Thu, 17 Mar 2016 00:26:38 +0100, Arnout Vandecappelle wrote: > On 03/16/16 22:43, Thomas Petazzoni wrote: > > 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 > > --- > > toolchain/toolchain-buildroot/Config.in | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in > > index ea290eb..1fba06b 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 yet in Buildroot. > > We don't have support for sh2 at all, and also we used to have it, so I > wouldn't use 'yet'. Better: we don't have support for sh2 in Buildroot. We do have sh2a in the choice of sub-architectures for SuperH: config BR2_sh2a bool "sh2a (SH2A big endian)" Whether it works well or not is a different question, but saying that we don't have support for sh2 at all is not quite correct. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com