aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.target
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-07-24 16:06:28 -0700
committerAndrew Hsieh <andrewhsieh@google.com>2012-07-25 10:27:37 -0700
commit83df59cef8e9bb631efec48c8baedce1647e90c1 (patch)
treef567a053182e813666a4b440a79bfd839b34278b /Makefile.target
parentfd86ec1a03668d3187790de940cbd0fba41640dd (diff)
downloadexternal_qemu-83df59cef8e9bb631efec48c8baedce1647e90c1.zip
external_qemu-83df59cef8e9bb631efec48c8baedce1647e90c1.tar.gz
external_qemu-83df59cef8e9bb631efec48c8baedce1647e90c1.tar.bz2
Enable 64-bit emulator for MacOSX host
64-bit emulator can now be enabled for MacOSX host because the newly upgraded sdl-1.2.15 no longer depends on NSQuickDrawView lacking 64-bit implementation. Also rename makefile variable MSDK to OSX_VERSION Change-Id: Ia36863f7708d281f90f5fa40a1507b52b1b68a79
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.target b/Makefile.target
index 608761c..dcf9a80 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -281,7 +281,7 @@ $(call gen-hx-header,qemu-options.hx,qemu-options.def,os-posix.c os-win32.c)
$(call end-emulator-library)
## another for 64-bit, see note in file Makefile.common emulator64-common
-ifeq ($(HOST_OS),linux)
+ifneq ($(filter linux darwin,$(HOST_OS)),)
ifneq ($(BUILD_STANDALONE_EMULATOR),true)
$(call start-emulator-library, emulator64-target-$(EMULATOR_TARGET_CPU))
LOCAL_CFLAGS += $(common_LOCAL_CFLAGS) -m64
@@ -290,7 +290,7 @@ ifeq ($(HOST_OS),linux)
$(call gen-hx-header,qemu-options.hx,qemu-options.def,os-posix.c os-win32.c)
$(call end-emulator-library)
endif # BUILD_STANDALONE_EMULATOR == nil
-endif # HOST_OS == linux
+endif # HOST_OS == linux || darwin
@@ -475,7 +475,7 @@ $(call end-emulator-program)
## another for 64-bit, see note in file Makefile.common emulator64-common
-ifeq ($(HOST_OS),linux)
+ifneq ($(filter linux darwin,$(HOST_OS)),)
ifneq ($(BUILD_STANDALONE_EMULATOR),true)
$(call start-emulator-program, emulator64-$(EMULATOR_TARGET_ARCH))
LOCAL_STATIC_LIBRARIES += \
@@ -493,5 +493,5 @@ ifeq ($(HOST_OS),linux)
$(call gen-hw-config-defs)
$(call end-emulator-program)
endif # BUILD_STANDALONE_EMULATOR == nil
-endif # HOST_OS == linux
+endif # HOST_OS == linux || darwin