Skip to contentSkip to conversation

mongrel2: allow to build for sparc

PATCH New Waldemar Brodkorb 2 participants 2 messages Jun 3, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mongrel2: allow to build for sparc

With uClibc-ng 1.0.15 sparc support got context functions. Tested with qemu-system-sparc.

---
 package/mongrel2/Config.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/mongrel2/Config.in +1 -1
index 49dd6fd..bc9b79b 100644
@@ -5,7 +5,7 @@ config BR2_PACKAGE_MONGREL2_LIBC_SUPPORTS
 	bool
 	default y if BR2_TOOLCHAIN_USES_GLIBC
 	default y if BR2_TOOLCHAIN_USES_UCLIBC && \
-		(BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || BR2_x86_64)
+		(BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || BR2_sparc || BR2_x86_64)
 
 comment "mongrel2 needs a uClibc or glibc toolchain w/ C++, threads, wchar, dynamic library"
 	depends on !BR2_INSTALL_LIBSTDCPP || \
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 mongrel2: allow to build for sparc

Hello,

Quoted 7 lines · Waldemar Brodkorb

With uClibc-ng 1.0.15 sparc support got context functions. Tested with qemu-system-sparc.

---
 package/mongrel2/Config.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks. However, this means I will have to rebuild the sparc Buildroot external toolchain, because I've just rebuilt it with Buildroot 2016.05, but Buildroot 2016.05 doesn't have uClibc-ng 1.0.15.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com