summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkeunyoung <keunyoung@google.com>2013-03-07 16:52:40 -0800
committerkeunyoung <keunyoung@google.com>2013-03-07 16:56:43 -0800
commita98660fcbfdfd1794fafb8af1183984e29553ac0 (patch)
tree9da63e080491a044459dcea6da22d94a0b37bad4
parent1664876c89684ee38c8add555e2fd082221538f2 (diff)
downloadmini-emulator-mips-a98660fcbfdfd1794fafb8af1183984e29553ac0.tar.gz
initial configuration for min_emulator_mips for mini mips emulator support
- some files are shared with mini_emulator_armv7a_neon Change-Id: Iaf3c89bc2767b82e36c3fe04aec0fbe91dbab9ca
-rw-r--r--AndroidProducts.mk18
-rw-r--r--BoardConfig.mk14
-rw-r--r--mini_emulator_mips.mk26
3 files changed, 58 insertions, 0 deletions
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
new file mode 100644
index 0000000..bb7ba71
--- /dev/null
+++ b/AndroidProducts.mk
@@ -0,0 +1,18 @@
+#
+# Copyright (C) 2013 The Android Open-Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+PRODUCT_MAKEFILES := \
+ $(LOCAL_DIR)/mini_emulator_mips.mk
diff --git a/BoardConfig.mk b/BoardConfig.mk
new file mode 100644
index 0000000..2fcc495
--- /dev/null
+++ b/BoardConfig.mk
@@ -0,0 +1,14 @@
+# BoardConfig.mk
+#
+# Product-specific compile-time definitions.
+#
+
+# same as mips except HAL
+include device/generic/mips/BoardConfig.mk
+
+# Build OpenGLES emulation libraries
+BUILD_EMULATOR_OPENGL := true
+
+# share the same one across all mini-emulators
+BOARD_EGL_CFG := device/generic/mini-emulator-armv7-a-neon/egl.cfg
+
diff --git a/mini_emulator_mips.mk b/mini_emulator_mips.mk
new file mode 100644
index 0000000..36a0107
--- /dev/null
+++ b/mini_emulator_mips.mk
@@ -0,0 +1,26 @@
+# Copyright (C) 2013 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+$(call inherit-product, device/generic/mips/mini_mips.mk)
+
+$(call inherit-product, device/generic/mini-emulator-armv7-a-neon/mini_emulator_common.mk)
+
+PRODUCT_NAME := mini_emulator_mips
+PRODUCT_DEVICE := mini-emulator-mips
+PRODUCT_BRAND := Android
+PRODUCT_MODEL := mini-emulator-mips
+
+# share the same goldfish kernel, but should have fuse support
+LOCAL_KERNEL := prebuilts/qemu-kernel/mips/kernel-qemu
+