From 741dc13597ac064e6a48bb2a6ec069cbc1cd0dbb Mon Sep 17 00:00:00 2001 From: Bhanu Chetlapalli Date: Tue, 8 May 2012 17:16:03 -0700 Subject: [MIPS] Add Goldfish target support Basic Goldfish support for MIPS. Also, Fix host CPU consumption when guest is idle When the CPU is in wait state, do not wake-up if an interrupt can't be taken. This avoid host CPU running at 100% if a device (e.g. timer) has an interrupt line left enabled. Also factorize code to check if interrupts are enabled in cpu_mips_hw_interrupts_pending(). CPU consumption based on a patch from Edgar E. Iglesias Change-Id: Ie8371c8d0c9af1e0c8ba4cac419979350de0f5d9 Signed-off-by: yajin Signed-off-by: Douglas Leung Signed-off-by: Bhanu Chetlapalli Signed-off-by: Chris Dearman --- android-configure.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'android-configure.sh') diff --git a/android-configure.sh b/android-configure.sh index 9510ece..38af78e 100755 --- a/android-configure.sh +++ b/android-configure.sh @@ -22,7 +22,6 @@ OPTION_IGNORE_AUDIO=no OPTION_NO_PREBUILTS=no OPTION_TRY_64=no OPTION_HELP=no -OPTION_DEBUG=no OPTION_STATIC=no OPTION_MINGW=no @@ -60,8 +59,6 @@ for opt do ;; --no-strip) OPTION_NO_STRIP=yes ;; - --debug) OPTION_DEBUG=yes - ;; --ignore-audio) OPTION_IGNORE_AUDIO=yes ;; --no-prebuilts) OPTION_NO_PREBUILTS=yes @@ -541,6 +538,10 @@ if [ $TARGET_ARCH = x86 ] ; then echo "TARGET_ARCH := x86" >> $config_mk fi +if [ $TARGET_ARCH = mips ] ; then +echo "TARGET_ARCH := mips" >> $config_mk +fi + echo "HOST_PREBUILT_TAG := $TARGET_OS" >> $config_mk echo "HOST_EXEEXT := $TARGET_EXEEXT" >> $config_mk echo "PREBUILT := $ANDROID_PREBUILT" >> $config_mk -- cgit v1.1