gl should be common

This commit is contained in:
espes 2015-09-08 09:47:57 +10:00
parent 6cfc0f518e
commit 935221bf22
3 changed files with 7 additions and 7 deletions

View File

@ -98,6 +98,9 @@ common-obj-y += hw/
common-obj-y += qom/
common-obj-y += disas/
# OpenGl Support
common-obj-$(CONFIG_OPENGL) += gl/
######################################################################
# Resource file for Windows executables
version-obj-$(CONFIG_WIN32) += $(BUILD_DIR)/version.o

View File

@ -130,13 +130,6 @@ else
obj-y += hw/$(TARGET_BASE_ARCH)/
endif
# OpenGl Support
obj-gl-y += gl/gloffscreen_common.o gl/glextensions.o
obj-gl-$(CONFIG_WIN32) += gl/gloffscreen_wgl.o
obj-gl-$(CONFIG_DARWIN) += gl/gloffscreen_cgl.o
obj-gl-$(CONFIG_LINUX) += gl/gloffscreen_glx.o
obj-$(CONFIG_OPENGL) += $(obj-gl-y)
main.o: QEMU_CFLAGS+=$(GPROF_CFLAGS)
GENERATED_HEADERS += hmp-commands.h qmp-commands-old.h

4
gl/Makefile.objs Normal file
View File

@ -0,0 +1,4 @@
common-obj-y += gloffscreen_common.o glextensions.o
common-obj-$(CONFIG_WIN32) += gloffscreen_wgl.o
common-obj-$(CONFIG_DARWIN) += gloffscreen_cgl.o
common-obj-$(CONFIG_LINUX) += gloffscreen_glx.o