From b1d380372f31672da9318431e84e79bccd8ef3bf Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Fri, 13 Jul 2018 15:09:06 +0200 Subject: util: promote qemu_egl_rendernode_open() to libqemuutil vhost-user-gpu will share the same code to open a DRM node. Signed-off-by: Marc-André Lureau Message-Id: <20180713130916.4153-20-marcandre.lureau@redhat.com> [ kraxel: buildfix: util/drm.o must be CONFIG_OPENGL not CONFIG_LINUX ] Signed-off-by: Gerd Hoffmann --- util/Makefile.objs | 1 + 1 file changed, 1 insertion(+) (limited to 'util/Makefile.objs') diff --git a/util/Makefile.objs b/util/Makefile.objs index e1c3fed4dc..4726d262d8 100644 --- a/util/Makefile.objs +++ b/util/Makefile.objs @@ -49,3 +49,4 @@ util-obj-y += stats64.o util-obj-y += systemd.o util-obj-y += iova-tree.o util-obj-$(CONFIG_LINUX) += vfio-helpers.o +util-obj-$(CONFIG_OPENGL) += drm.o -- cgit v1.2.3-55-g7522