diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-08-06 15:12:18 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-12-17 19:32:48 +0100 |
commit | 44e9f2309fdb1315fc7d0a2f37eee3fecd471308 (patch) | |
tree | 63004b9afb44fa340a115bd006ec3735899c5661 /util/Makefile.objs | |
parent | b8d89ba83bf42be1f7b1d7d45236eaf6960d1c4e (diff) | |
download | qemu-44e9f2309fdb1315fc7d0a2f37eee3fecd471308.zip |
stubs: replace stubs with lnot if applicable
The stubs mechanism relies on static libraries and compilation order,
which is a bit brittle and should be avoided unless necessary.
Replace it with Boolean operations on CONFIG_* symbols.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/Makefile.objs')
-rw-r--r-- | util/Makefile.objs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util/Makefile.objs b/util/Makefile.objs index df124af1c5..63599d62aa 100644 --- a/util/Makefile.objs +++ b/util/Makefile.objs @@ -52,8 +52,7 @@ 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-$(call lnot,$(CONFIG_INOTIFY1)) += filemonitor-stub.o util-obj-$(CONFIG_LINUX) += vfio-helpers.o util-obj-$(CONFIG_POSIX) += drm.o util-obj-y += guest-random.o - -stub-obj-y += filemonitor-stub.o |