]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
util: compile drm.o on posix
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 24 May 2019 13:09:41 +0000 (15:09 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 29 May 2019 04:29:07 +0000 (06:29 +0200)
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

index c27a923dbe08c1fcfdd34c86878bbc7d51a2d220..38178201ff65cc85b06d0201e7de4e93c9d48e88 100644 (file)
@@ -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