aboutsummaryrefslogtreecommitdiffstats
path: root/android/config
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-05-26 03:03:18 +0200
committerDavid 'Digit' Turner <digit@android.com>2011-05-26 03:03:18 +0200
commite3273920a073db0f124f08bfd950e7ad0ae41b0c (patch)
tree9a6953c38c559fa9c7e323c16d05efd182afa261 /android/config
parentd11138baea901ca223155f10ef22ceffee0822bc (diff)
downloadexternal_qemu-e3273920a073db0f124f08bfd950e7ad0ae41b0c.zip
external_qemu-e3273920a073db0f124f08bfd950e7ad0ae41b0c.tar.gz
external_qemu-e3273920a073db0f124f08bfd950e7ad0ae41b0c.tar.bz2
Fix Mac and Windows builds.
Silly me, KVM is only available on Linux hosts. Change-Id: I983c87b1f5473e92823398b7812a574f56fc3a68
Diffstat (limited to 'android/config')
-rw-r--r--android/config/target-x86/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/config/target-x86/config.h b/android/config/target-x86/config.h
index 862f3d4..242d45d 100644
--- a/android/config/target-x86/config.h
+++ b/android/config/target-x86/config.h
@@ -1,4 +1,7 @@
/* x86-specific configuration */
#include "android/config/config.h"
#define TARGET_I386 1
+/* For now, KVM is only supported on Linux hosts */
+#ifdef CONFIG_LINUX
#define CONFIG_KVM 1
+#endif