Skip to contentSkip to conversation

supertuxkart: Constrain to x86 architecture

PATCH Superseded Ezequiel Garcia 2 participants 3 messages Sep 1, 2016 – Sep 2, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 supertuxkart: Constrain to x86 architecture

Our build system has detected that angelscript can't be cross-compiled properly. This has been also reported to supertuxkart [1], and although the developers were open to take patches fixing STK embedded angelscript, it was pointed out that non-x86 architectures were not officially supported and of little interest [2].

Hence, let's constrain the package selection to x86.

[1] https://github.com/supertuxkart/stk-code/issues/2569
[2] https://github.com/supertuxkart/stk-code/pull/2195

---
 package/supertuxkart/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/supertuxkart/Config.in +2 -0
index a1f7074eb78f..9a8eabe2b611 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_SUPERTUXKART
 	bool "supertuxkart"
+	depends on BR2_i386 || BR2_x86_64
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_INSTALL_LIBSTDCPP # openal
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal
@@ -25,6 +26,7 @@ config BR2_PACKAGE_SUPERTUXKART
 	  http://supertuxkart.sourceforge.net/Main_Page
 
 comment "supertuxkart needs an OpenGL backend, a uClibc or glibc toolchain w/ NPTL, C++"
+	depends on BR2_i386 || BR2_x86_64
 	depends on BR2_USE_MMU
 	depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
 	depends on BR2_PACKAGE_XORG7
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 supertuxkart: Constrain to x86 architecture

Hello,

Quoted 6 lines · Ezequiel Garcia

Our build system has detected that angelscript can't be cross-compiled properly. This has been also reported to supertuxkart [1], and although the developers were open to take patches fixing STK embedded angelscript, it was pointed out that non-x86 architectures were not officially supported and of little interest [2].

If it's indeed that angelscript doesn't cross-compile properly, then, it also needs to be limited to x86/x86_64 as the host compiler, no?

I.e: what happens if I'm using Buildroot on a PowerPC or ARM machine?

Best regards,

Thomas

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

PATCH 1/1 supertuxkart: Constrain to x86 architecture

Quoted 10 lines · Thomas Petazzoni

Hello,

Quoted 6 lines · Ezequiel Garcia

Our build system has detected that angelscript can't be cross-compiled properly. This has been also reported to supertuxkart [1], and although the developers were open to take patches fixing STK embedded angelscript, it was pointed out that non-x86 architectures were not officially supported and of little interest [2].

Quoted 5 lines

If it's indeed that angelscript doesn't cross-compile properly, then, it also needs to be limited to x86/x86_64 as the host compiler, no?

I.e: what happens if I'm using Buildroot on a PowerPC or ARM machine?

Totally right. I just sent a v2.

Thanks,

Signature · 2 lines
Ezequiel Garc?a, VanguardiaSur
www.vanguardiasur.com.ar