]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blobdiff - package/jamvm/Config.in
package/jamvm: move arch dependency to a symbol
[coffee/buildroot.git] / package / jamvm / Config.in
index 57e1a8e6f44e3572411c8cb4f8222992d0d0114c..51d5da03b80ec33ed13e36c98756e8300e4affc7 100644 (file)
@@ -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