Skip to contentSkip to conversation

toolchain-buildroot: only allow the selection of Musl for Microblaze BE

PATCH New Thomas Petazzoni 3 participants 3 messages May 30, 2014 – May 31, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 toolchain-buildroot: only allow the selection of Musl for Microblaze BE

The Musl C library only supports Microblaze BE, not Microblaze LE, so this commit adjusts the dependencies of the toolchain-buildroot package to not allow the selection of Musl on Microblaze LE.

---
 toolchain/toolchain-buildroot/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
toolchain/toolchain-buildroot/Config.in +1 -1
index 216f9db..840668c 100644
@@ -80,7 +80,7 @@ comment "(e)glibc only available with shared lib support"
 
 config BR2_TOOLCHAIN_BUILDROOT_MUSL
 	bool "musl (experimental)"
-	depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_microblaze || \
+	depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_microblazebe || \
 		BR2_mips || BR2_mipsel || BR2_powerpc || BR2_x86_64
 	select BR2_TOOLCHAIN_USES_MUSL
 	help
Signature · 1 line
1.9.3
#1 lore raw

PATCH 1/1 toolchain-buildroot: only allow the selection of Musl for Microblaze BE

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

The Musl C library only supports Microblaze BE, not Microblaze LE, so this commit adjusts the dependencies of the toolchain-buildroot package to not allow the selection of Musl on Microblaze LE.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 toolchain-buildroot: only allow the selection of Musl for Microblaze BE

In reply to Thomas Petazzoni

Hi Thomas,
Thomas Petazzoni wrote,

Quoted 3 lines

The Musl C library only supports Microblaze BE, not Microblaze LE, so this commit adjusts the dependencies of the toolchain-buildroot package to not allow the selection of Musl on Microblaze LE.

This is not true. The reason I started to hack on microblaze stuff, was indeed musl microblaze support for both endianess. I wanted to test musl on every supported architecture.

See
http://git.musl-libc.org/cgit/musl/tree/configure
Line 447-448.

I am not sure why the external musl cross toolchain does not support it, but this is not a limitation of musl itself.

Will send a patch in a few minutes.

best regards
Waldemar

Quoted 27 lines
---
 toolchain/toolchain-buildroot/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
toolchain/toolchain-buildroot/Config.in +1 -1
index 216f9db..840668c 100644
@@ -80,7 +80,7 @@ comment "(e)glibc only available with shared lib support"
 
 config BR2_TOOLCHAIN_BUILDROOT_MUSL
 	bool "musl (experimental)"
-	depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_microblaze || \
+	depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_microblazebe || \
 		BR2_mips || BR2_mipsel || BR2_powerpc || BR2_x86_64
 	select BR2_TOOLCHAIN_USES_MUSL
 	help
Signature · 6 lines
1.9.3

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot