aboutsummaryrefslogtreecommitdiff
path: root/util/Makefile.objs
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2018-06-08 17:24:57 +0100
committerDaniel P. Berrangé <berrange@redhat.com>2019-02-26 15:25:58 +0000
commit90e33dfec651c04d75f20a4e5c20593145c5d90e (patch)
tree3ffcd3133c71962591a2eb90926dbce54f957855 /util/Makefile.objs
parentd88d85f1f0625d57e9f354aa0874c4c8b5d1fb47 (diff)
util: add helper APIs for dealing with inotify in portable manner
The inotify userspace API for reading events is quite horrible, so it is useful to wrap it in a more friendly API to avoid duplicating code across many users in QEMU. Wrapping it also allows introduction of a platform portability layer, so that we can add impls for non-Linux based equivalents in future. Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'util/Makefile.objs')
-rw-r--r--util/Makefile.objs3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/Makefile.objs b/util/Makefile.objs
index 0820923c18..c1dd746902 100644
--- a/util/Makefile.objs
+++ b/util/Makefile.objs
@@ -50,5 +50,8 @@ util-obj-y += range.o
util-obj-y += stats64.o
util-obj-y += systemd.o
util-obj-y += iova-tree.o
+util-obj-$(CONFIG_INOTIFY1) += filemonitor-inotify.o
util-obj-$(CONFIG_LINUX) += vfio-helpers.o
util-obj-$(CONFIG_OPENGL) += drm.o
+
+stub-obj-y += filemonitor-stub.o