summaryrefslogtreecommitdiffstats
path: root/package/polarssl/polarssl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/polarssl/polarssl.mk')
-rw-r--r--package/polarssl/polarssl.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/polarssl/polarssl.mk b/package/polarssl/polarssl.mk
new file mode 100644
index 000000000..0d8574ccd
--- /dev/null
+++ b/package/polarssl/polarssl.mk
@@ -0,0 +1,13 @@
+POLARSSL_SITE = http://polarssl.org/code/releases/
+POLARSSL_VERSION = 1.1.1
+POLARSSL_SOURCE = polarssl-$(POLARSSL_VERSION)-gpl.tgz
+POLARSSL_CONF_OPT = \
+ -DUSE_SHARED_POLARSSL_LIBRARY=ON \
+ -DUSE_STATIC_POLARSSL_LIBRARY=ON \
+ -DBUILD_TESTS=OFF \
+ -DBUILD_PROGRAMS=$(if $(BR2_PACKAGE_POLARSSL_PROGRAMS),ON,OFF)
+
+POLARSSL_INSTALL_STAGING = YES
+
+$(eval $(call CMAKETARGETS))
+