[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT/PYTHON3 v5 13/14] Config.uk: Add configuration options for extensions



We currently configure the following extensions: XML parsing with Expat lib,
decimal operations with libmpdec, SSL, UUID and zlib. Sqlite will be
automatically supported when the external library will be released.

Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
Reviewed-by: Felipe Huici <felipe.huici@xxxxxxxxx>
---
 Config.uk | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/Config.uk b/Config.uk
index 895c0c2..1e9ae12 100644
--- a/Config.uk
+++ b/Config.uk
@@ -36,4 +36,43 @@ config LIBPYTHON3_MAIN_FUNCTION
        bool "Provide main function"
        default n
 
+
+menuconfig LIBPYTHON3_EXTENSIONS
+       bool "Extensions"
+       default n
+
+if LIBPYTHON3_EXTENSIONS
+config LIBPYTHON3_EXTENSION_EXPAT
+       bool "Expat XML parser"
+       default y
+if LIBFFI
+config LIBPYTHON3_EXTENSION_CTYPES
+       bool "ctypes"
+       default y
+endif
+config LIBPYTHON3_EXTENSION_LIBMPDEC
+       bool "Decimal operations with libmpdec"
+       default y
+if LIBSQLITE
+config LIBPYTHON3_EXTENSION_SQLITE
+       bool "sqlite"
+       default y
+endif
+if LIBSSL
+config LIBPYTHON3_EXTENSION_SSL
+       bool "SSL"
+       default y
+endif
+if LIBUUID
+config LIBPYTHON3_EXTENSION_UUID
+       bool "UUID"
+       default y
+endif
+if LIBZLIB
+config LIBPYTHON3_EXTENSION_ZLIB
+       bool "zlib"
+       default y
+endif
+endif
+
 endif
-- 
2.20.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.