change bool in BR2_COMPILE_* to tristate to avoid unnecessary package/<foo>-install...
[openwrt.git] / package / matrixssl / Config.in
index 7f056c3a6d0bf71a7ddb938dc3eaa885b4f20102..3d4532e52a620771fa9be3b22e2f1e3f664b420d 100644 (file)
@@ -1,7 +1,17 @@
-config BR2_PACKAGE_MATRIXSSL
-       tristate "matrixssl"
-       default m
+config BR2_COMPILE_MATRIXSSL
+       tristate
+       depends BR2_PACKAGE_LIBMATRIXSSL
+
+config BR2_PACKAGE_LIBMATRIXSSL
+       prompt "libmatrixssl...................... Embedded SSL implementation"
+       tristate
+       default m if CONFIG_DEVEL
+       select BR2_COMPILE_MATRIXSSL
+       select BR2_PACKAGE_LIBPTHREAD
        help
-         an embedded SSL implementation
+         An embedded SSL implementation
          
          http://www.matrixssl.org/
+         
+         Depends: libpthread
+