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

[UNIKRAFT/LIBP11-KIT v2 2/4] Add Config.uk



The Config file marks all the necessary files of the library. For it
to compile sucessfully the staging branch of Unikraft must be used, as
stack protection is not included in the version on master.

Tests can be chosen in the menuconfig and ran one at a time with
this version of the config.

Signed-off-by: Cezar Craciunoiu <cezar.craciunoiu@xxxxxxxxx>
---
 Config.uk | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 95 insertions(+)
 create mode 100644 Config.uk

diff --git a/Config.uk b/Config.uk
new file mode 100644
index 0000000..7d60821
--- /dev/null
+++ b/Config.uk
@@ -0,0 +1,95 @@
+menuconfig LIBP11KIT
+       bool "libp11-kit - load and enumerate PKCS#11 modules"
+       default y
+       select LIBNOLIBC if !HAVE_LIBC
+       select LIBUKALLOC
+       select LIBPOSIX_LIBDL
+       select LIBUKMMAP
+       select LIBUKSP
+       select LIBUKBOOT
+       select LIBUKBUS
+       select LIBPOSIX_SYSINFO
+       select LIBUK9P
+       select LIB9PFS
+       select LIBVFSCORE_AUTOMOUNT_ROOTFS
+       select LIBDEVFS
+       select LIBDEVFS_AUTOMOUNT
+       select LIBLWIP
+       select LIBPTHREAD_EMBEDDED
+       select LIBNEWLIBC
+
+choice LIBVFSCORE_ROOTFS
+       default LIBVFSCORE_ROOTFS_9PFS
+endchoice
+
+if LIBP11KIT
+       choice TESTS
+               prompt "TESTS"
+               default TESTS_DEACTIVATED
+
+               config TESTS_DEACTIVATED
+                       bool "NO"
+               config TESTS_ARGV
+                       bool "ARGV"
+               config TESTS_ARRAY
+                       bool "ARRAY"
+               config TESTS_ATTRS
+                       bool "ATTRS"
+               config TESTS_BUFFER
+                       bool "BUFFER"
+               config TESTS_COMPAT
+                       bool "COMPAT"
+               config TESTS_CONF
+                       bool "CONF"
+               config TESTS_CONSTANTS
+                       bool "CONSTANTS"
+               config TESTS_DEPRECATED
+                       bool "DEPRECATED"
+               config TESTS_DICT
+                       bool "DICT"
+               config TESTS_FILTER
+                       bool "FILTER"
+               config TESTS_HASH
+                       bool "HASH"
+               config TESTS_INIT
+                       bool "INIT"
+               config TESTS_ITER
+                       bool "ITER"
+               config TESTS_LEXER
+                       bool "LEXER"
+               config TESTS_LOG
+                       bool "LOG"
+               config TESTS_MANAGED
+                       bool "MANAGED"
+               config TESTS_MESSAGE
+                       bool "MESSAGE"
+               config TESTS_MODULES
+                       bool "MODULES"
+               config TESTS_PATH
+                       bool "PATH"
+               config TESTS_PIN
+                       bool "PIN"
+               config TESTS_PROGNAME
+                       bool "PROGNAME"
+               config TESTS_PROXY
+                       bool "PROXY"
+               config TESTS_RPC
+                       bool "RPC"
+               config TESTS_RUNTIME
+                       bool "RUNTIME"
+               config TESTS_SERVER
+                       bool "SERVER"
+               config TESTS_TESTS
+                       bool "TESTS"
+               config TESTS_TRANSPORT
+                       bool "TRANSPORT"
+               config TESTS_URI
+                       bool "URI"
+               config TESTS_URL
+                       bool "URL"
+               config TESTS_UTIL
+                       bool "UTIL"
+               config TESTS_VIRTUAL
+                       bool "VIRTUAL"
+       endchoice
+endif
-- 
2.20.1




 


Rackspace

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