aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2012-07-25 14:28:40 -0700
committerJoe Onorato <joeo@google.com>2012-07-25 15:03:46 -0700
commitedb86c32883f3407e54575599ec7dc319c32095e (patch)
treeed7c29ab7a914930331dac10a090153356eb83e6
parent9096e372a1bfc2c5b812346047dc25648c7dafb8 (diff)
downloadexternal_qemu-edb86c32883f3407e54575599ec7dc319c32095e.zip
external_qemu-edb86c32883f3407e54575599ec7dc319c32095e.tar.gz
external_qemu-edb86c32883f3407e54575599ec7dc319c32095e.tar.bz2
Don't try to build the emulator on Mac OS if the right tools aren't installed.
Change-Id: I7f8dcec1715657d44c562427d1c3dbd290f14ff8
-rw-r--r--Makefile.android3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.android b/Makefile.android
index 817c562..905622e 100644
--- a/Makefile.android
+++ b/Makefile.android
@@ -1,3 +1,5 @@
+ifeq ($(BUILD_EMULATOR),true)
+
ifneq (,$(filter $(TARGET_ARCH),arm x86 mips))
LOCAL_PATH:= $(call my-dir)
@@ -328,3 +330,4 @@ $(call end-emulator-program)
## VOILA!!
endif # TARGET_ARCH == arm || TARGET_ARCH == x86 || TARGET_ARCH == mips
+endif # BUILD_EMULATOR