From: Costin Lupu Date: Wed, 16 Oct 2019 14:22:44 +0000 (+0300) Subject: Config.uk: Add configuration options for extensions X-Git-Tag: RELEASE-0.6~8 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=d9de405a331074441fba6d6fbe063f37d6492759;p=unikraft%2Flibs%2Fpython3.git 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 Reviewed-by: Felipe Huici --- 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