diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-03-06 10:09:48 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-03-12 09:00:34 +0100 |
commit | 2f92f37c9ecaa2a51f75455046b4d1b665db5c12 (patch) | |
tree | 82a071c94ec2a9190f1c270230901ba61a289c10 /ui | |
parent | c923cbedb20d5d4153a02d474ea710d634720622 (diff) | |
download | qemu-2f92f37c9ecaa2a51f75455046b4d1b665db5c12.zip qemu-2f92f37c9ecaa2a51f75455046b4d1b665db5c12.tar.gz qemu-2f92f37c9ecaa2a51f75455046b4d1b665db5c12.tar.bz2 |
ui/opengl: Makefile cleanup
With gtk.mo bits moved away we don't need the ifeq any more.
Also add missing opengl libs for some objects.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20180306090951.22932-4-kraxel@redhat.com
Diffstat (limited to 'ui')
-rw-r--r-- | ui/Makefile.objs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/Makefile.objs b/ui/Makefile.objs index b560ee1..cc78434 100644 --- a/ui/Makefile.objs +++ b/ui/Makefile.objs @@ -51,14 +51,14 @@ curses.mo-objs := curses.o curses.mo-cflags := $(CURSES_CFLAGS) curses.mo-libs := $(CURSES_LIBS) -ifeq ($(CONFIG_OPENGL),y) -common-obj-y += shader.o -common-obj-y += console-gl.o -common-obj-y += egl-helpers.o -common-obj-y += egl-context.o +common-obj-$(CONFIG_OPENGL) += shader.o +common-obj-$(CONFIG_OPENGL) += console-gl.o +common-obj-$(CONFIG_OPENGL) += egl-helpers.o +common-obj-$(CONFIG_OPENGL) += egl-context.o common-obj-$(CONFIG_OPENGL_DMABUF) += egl-headless.o -endif shader.o-libs += $(OPENGL_LIBS) console-gl.o-libs += $(OPENGL_LIBS) egl-helpers.o-libs += $(OPENGL_LIBS) +egl-context.o-libs += $(OPENGL_LIBS) +egl-headless.o-libs += $(OPENGL_LIBS) |