swtpm: cuse packageconfig

The CUSE support in swtpm does not depend on selinux. It is needed
for simulating a virtual TPM, one of the use cases for swtpm-native, so
enable it by default.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Patrick Ohly
2017-02-03 09:46:12 +01:00
committed by Armin Kuster
parent 8d0cc9b004
commit 520b3a44e0

View File

@@ -25,12 +25,12 @@ PARALLEL_MAKE = ""
TSS_USER="tss"
TSS_GROUP="tss"
PACKAGECONFIG ?= "openssl"
PACKAGECONFIG ?= "openssl cuse"
PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}"
PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl"
PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls"
PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux"
PACKAGECONFIG[cuse] = "--with-cuse, --without-cuse, libselinux"
PACKAGECONFIG[cuse] = "--with-cuse, --without-cuse"
EXTRA_OECONF += "--with-tss-user=${TSS_USER} --with-tss-group=${TSS_GROUP}"