aboutsummaryrefslogtreecommitdiffstats
path: root/meta-filesystems
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2017-02-08 10:37:39 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2017-02-13 18:43:32 +0100
commitf732d17969f90e41dcb57a25567ad3ec4ba3a901 (patch)
tree93b0b046e69bae1f83c5071f8fe9937b8dae11c3 /meta-filesystems
parent2def6f6f5e060ee84cae67a166f4c23cb46b8438 (diff)
downloadmeta-openembedded-contrib-f732d17969f90e41dcb57a25567ad3ec4ba3a901.tar.gz
meta-openembedded-contrib-f732d17969f90e41dcb57a25567ad3ec4ba3a901.tar.bz2
meta-openembedded-contrib-f732d17969f90e41dcb57a25567ad3ec4ba3a901.zip
fuse: support native compilation
This is required for swtpm-native (from meta-security) and simulating a virtual TPM in qemu. Right now, accessing swtpm only works via CUSE and thus needs fuse. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-filesystems')
-rw-r--r--meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb b/meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb
index 8cc6dbd16e..9a2dc11194 100644
--- a/meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb
+++ b/meta-filesystems/recipes-support/fuse/fuse_2.9.4.bb
@@ -30,9 +30,9 @@ DEPENDS = "gettext-native"
PACKAGES =+ "fuse-utils-dbg fuse-utils libulockmgr libulockmgr-dev libulockmgr-dbg"
# Fusermount requires features from the util-linux version of mount.
-RDEPENDS_${PN} += "util-linux-mount"
+RDEPENDS_${PN}_class-target += "util-linux-mount"
-RRECOMMENDS_${PN} = "kernel-module-fuse libulockmgr fuse-utils"
+RRECOMMENDS_${PN}_class-target = "kernel-module-fuse libulockmgr fuse-utils"
FILES_${PN} += "${libdir}/libfuse.so.*"
FILES_${PN}-dev += "${libdir}/libfuse*.la"
@@ -62,3 +62,5 @@ do_install_append() {
install -m 0644 ${WORKDIR}/fuse.conf ${D}${sysconfdir}/modules-load.d
fi
}
+
+BBCLASSEXTEND = "native nativesdk"