diff options
author | Jesse Hall <jessehall@google.com> | 2012-04-26 15:13:27 -0700 |
---|---|---|
committer | Jesse Hall <jessehall@google.com> | 2012-04-26 16:54:26 -0700 |
commit | 183e927350a14945e13ab217e16ab5dce20349f3 (patch) | |
tree | 190bdb0d954f3dbe952c94895d147c0df2145073 /Makefile.target | |
parent | 0c8a719be79b979a039abaf24432de6fbc9b13e6 (diff) | |
download | external_qemu-183e927350a14945e13ab217e16ab5dce20349f3.zip external_qemu-183e927350a14945e13ab217e16ab5dce20349f3.tar.gz external_qemu-183e927350a14945e13ab217e16ab5dce20349f3.tar.bz2 |
Fix standalone emulator build.
- Allow building with OpenGL ES acceleration disabled, avoiding a
dependency on stuff outside the QEMU project.
- Allow the standalone configure.sh to provide the include/lib path
for the OpenGL ES libraries.
- Update the default OpenGL ES include path for standalone builds.
Change-Id: I03f4627af4c271783b65a116ceb5934385c68cdc
Diffstat (limited to 'Makefile.target')
-rw-r--r-- | Makefile.target | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.target b/Makefile.target index f7122fa..45c8e69 100644 --- a/Makefile.target +++ b/Makefile.target @@ -274,8 +274,11 @@ LOCAL_CFLAGS += \ $(EMULATOR_TARGET_CFLAGS) \ -DCONFIG_STANDALONE_CORE \ -LOCAL_CFLAGS += -Isdk/emulator/opengl/host/include -Wno-missing-field-initializers +ifneq ($(QEMU_OPENGLES_INCLUDE),) + LOCAL_CFLAGS += -I$(QEMU_OPENGLES_INCLUDE) +endif +LOCAL_CFLAGS += -Wno-missing-field-initializers LOCAL_STATIC_LIBRARIES := \ emulator-libqemu \ |