summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2018-05-13 12:34:37 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-05-13 21:47:30 +0200
commit04d185bfc718c6e1739cf4a7d8f3f0d45df0385a (patch)
tree71587d6645f46a2cd990a3173d683100daab85d1
parent0f095a5318bb8c33d4435b5727283eb64d539e4c (diff)
downloadbuildroot-04d185bfc718c6e1739cf4a7d8f3f0d45df0385a.tar.gz
buildroot-04d185bfc718c6e1739cf4a7d8f3f0d45df0385a.zip
package/jamvm: move arch dependency to a symbol
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/jamvm/Config.in15
1 files changed, 10 insertions, 5 deletions
diff --git a/package/jamvm/Config.in b/package/jamvm/Config.in
index 57e1a8e6f4..51d5da03b8 100644
--- a/package/jamvm/Config.in
+++ b/package/jamvm/Config.in
@@ -1,10 +1,16 @@
+config BR2_PACKAGE_JAMVM_ARCH_SUPPORTS
+ bool
+ default y if BR2_arm || BR2_armeb
+ default y if BR2_i386 || BR2_x86_64
+ default y if BR2_mips || BR2_mipsel
+ default y if BR2_powerpc
+
config BR2_PACKAGE_JAMVM
bool "jamvm"
+ depends on BR2_PACKAGE_JAMVM_ARCH_SUPPORTS
+ depends on BR2_PACKAGE_CLASSPATH_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_STATIC_LIBS
- depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_x86_64 \
- || BR2_mips || BR2_mipsel || BR2_powerpc
- depends on BR2_PACKAGE_CLASSPATH_ARCH_SUPPORTS
select BR2_PACKAGE_ZLIB
select BR2_PACKAGE_CLASSPATH
help
@@ -14,7 +20,6 @@ config BR2_PACKAGE_JAMVM
http://jamvm.sf.net
comment "jamvm needs a toolchain w/ threads, dynamic library"
- depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_x86_64 \
- || BR2_mips || BR2_mipsel || BR2_powerpc
+ depends on BR2_PACKAGE_JAMVM_ARCH_SUPPORTS
depends on BR2_PACKAGE_CLASSPATH_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
OpenPOWER on IntegriCloud