diff options
author | keunyoung <keunyoung@google.com> | 2013-03-07 16:04:48 -0800 |
---|---|---|
committer | keunyoung <keunyoung@google.com> | 2013-03-07 16:51:32 -0800 |
commit | 35d4cca6d2ddb58e36ee10bb94d590f553c20df9 (patch) | |
tree | ee1f94eec9506c683ffa1536174bd5ebe7658a4d | |
parent | a0a2ab1ab364af4a1349bb906563998db6f3257b (diff) | |
download | mini-emulator-x86-35d4cca6d2ddb58e36ee10bb94d590f553c20df9.tar.gz |
initial configuration for min_emulator_x86 for mini x86 emulator support
- some files are shared with mini_emulator_armv7a_neon
Change-Id: I77fd1d74a522b7a481fdd03d07416b03375c5963
-rw-r--r-- | AndroidProducts.mk | 18 | ||||
-rw-r--r-- | BoardConfig.mk | 14 | ||||
-rw-r--r-- | mini_emulator_x86.mk | 25 |
3 files changed, 57 insertions, 0 deletions
diff --git a/AndroidProducts.mk b/AndroidProducts.mk new file mode 100644 index 0000000..c739d36 --- /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_x86.mk diff --git a/BoardConfig.mk b/BoardConfig.mk new file mode 100644 index 0000000..9353b40 --- /dev/null +++ b/BoardConfig.mk @@ -0,0 +1,14 @@ +# BoardConfig.mk +# +# Product-specific compile-time definitions. +# + +# same as x86 except HAL +include device/generic/x86/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_x86.mk b/mini_emulator_x86.mk new file mode 100644 index 0000000..fa845f7 --- /dev/null +++ b/mini_emulator_x86.mk @@ -0,0 +1,25 @@ +# 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/x86/mini_x86.mk) + +$(call inherit-product, device/generic/mini-emulator-armv7-a-neon/mini_emulator_common.mk) + +PRODUCT_NAME := mini_emulator_x86 +PRODUCT_DEVICE := mini-emulator-x86 +PRODUCT_BRAND := Android +PRODUCT_MODEL := mini-emulator-x86 + +# share the same goldfish kernel, but should have fuse support +LOCAL_KERNEL := prebuilts/qemu-kernel/x86/kernel-qemu |