diff mbox series

[PULL,4/9] util: compile drm.o on posix

Message ID 20190529044020.27003-5-kraxel@redhat.com
State New
Headers show
Series [PULL,1/9] vhost-user: add vhost_user_gpu_set_socket() | expand

Commit Message

Gerd Hoffmann May 29, 2019, 4:40 a.m. UTC
From: Marc-André Lureau <marcandre.lureau@redhat.com>

OpenGL isn't required to use DRM rendernodes. The following patches
uses it for 2d resources for ex.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20190524130946.31736-5-marcandre.lureau@redhat.com

[ kraxel s/LINUX/POSIX/ (fixes openbsd build failure) ]

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 util/Makefile.objs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/util/Makefile.objs b/util/Makefile.objs
index c27a923dbe08..38178201ff65 100644
--- a/util/Makefile.objs
+++ b/util/Makefile.objs
@@ -53,7 +53,7 @@  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
+util-obj-$(CONFIG_POSIX) += drm.o
 util-obj-y += guest-random.o
 
 stub-obj-y += filemonitor-stub.o