Skip to contentSkip to conversation

supertuxkart: Constrain to x86 architecture

PATCH New Ezequiel Garcia 2 participants 2 messages Sep 2, 2016 – Sep 20, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 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 and the host architecture to x86.

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

---
Changes from v1:

* As pointed out by Thomas, we also need to limit the host architecture, as angelscript doesn't seem to build elsewhere.

 package/supertuxkart/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/supertuxkart/Config.in +4 -0
index a1f7074eb78f..4919b50a2b8c 100644
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_SUPERTUXKART
 	bool "supertuxkart"
+	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+	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 +27,8 @@ 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_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+	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 v2 1/1 supertuxkart: Constrain to x86 architecture

Quoted 15 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Ezequiel" == Ezequiel Garcia <[email protected]> writes:

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 and the host architecture to x86.

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

Quoted 8 lines

---
Changes from v1:

* As pointed out by Thomas, we also need to limit the host architecture, as angelscript doesn't seem to build elsewhere.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard