diff options
-rw-r--r-- | AndroidProducts.mk | 18 | ||||
-rw-r--r-- | BoardConfig.mk | 14 | ||||
-rw-r--r-- | mini_emulator_mips.mk | 26 |
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 + |