aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-03-17 09:39:14 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2012-03-17 09:39:14 +0800
commitc69169a69fc72867717eb1f3c09aa57d9ed405c7 (patch)
treebb244cf402e6b4a2ebcaa0aebd6ccb8b3e064eda /Makefile.common
parentb5419de956567e97226ae5df50d2bdc3a1be5e14 (diff)
downloadexternal_qemu-c69169a69fc72867717eb1f3c09aa57d9ed405c7.zip
external_qemu-c69169a69fc72867717eb1f3c09aa57d9ed405c7.tar.gz
external_qemu-c69169a69fc72867717eb1f3c09aa57d9ed405c7.tar.bz2
Revert to previous prebuilt toolchain until new ones are available in AOSP
The new prebuilt toolchains prebuilts/tools/gcc-sdk points to aren't available in AOSP yet (*). Without it, 64-bit emulator can't be built. Revert to previous prebuilt toochain and disable 64-bit emulator for now. (*) This git auto-sync to AOSP in short-time Change-Id: I7301bcbcbc1d4505d34ad69b562d0b9e5968093a
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.common b/Makefile.common
index a72d719..cecbf28 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -139,11 +139,12 @@ $(call gen-hw-config-defs)
$(call end-emulator-library)
## another for 64-bit
+##### NOTE: disable 64-bit for now until new 64-bit prebuilts/gcc toolchain exist in AOSP
# NOTE: only linux in non-standalone mode is supported, because
# 1) For Windows: amd64-mingw32msvc-gcc doesn't work, see http://b/issue?id=5949152.
# 2) For MacOSX: 64-bit libSDL*.a 1.2.x depends on NSQuickDrawView doesn't exist
# 3) Standalone has --try-64
-ifeq ($(HOST_OS),linux)
+ifeq ($(HOST_OS),)
ifneq ($(BUILD_STANDALONE_EMULATOR),true)
$(call start-emulator-library, emulator64-common)
LOCAL_CFLAGS += $(common_LOCAL_CFLAGS) -m64
@@ -294,7 +295,7 @@ $(call end-emulator-library)
## another for 64-bit, see note in emulator64-common
-ifeq ($(HOST_OS),linux)
+ifeq ($(HOST_OS),)
ifneq ($(BUILD_STANDALONE_EMULATOR),true)
$(call start-emulator-library, emulator64-libui)
LOCAL_CFLAGS += $(common_LOCAL_CFLAGS) -m64
@@ -616,7 +617,7 @@ $(call end-emulator-library)
## another for 64-bit, see note in emulator64-common
-ifeq ($(HOST_OS),linux)
+ifeq ($(HOST_OS),)
ifneq ($(BUILD_STANDALONE_EMULATOR),true)
$(call start-emulator-library, emulator64-libqemu)
# gdbstub-xml.c contains C-compilable arrays corresponding to the content
@@ -710,7 +711,7 @@ $(call end-emulator-library)
## another for 64-bit, see note in emulator64-common
-ifeq ($(HOST_OS),linux)
+ifeq ($(HOST_OS),)
ifneq ($(BUILD_STANDALONE_EMULATOR),true)
$(call start-emulator-library, emulator64-libelff)
LOCAL_CPP_EXTENSION := .cc