diff options
author | Sam Hurst <shurst@google.com> | 2015-11-05 14:53:59 -0800 |
---|---|---|
committer | Sam Hurst <shurst@google.com> | 2015-11-10 12:39:00 -0800 |
commit | af38ee08585bcedd169309f3663aec70d0a91856 (patch) | |
tree | b596d87304b75453456888826c2370949dc13ce0 | |
parent | 9a8bddac77b06eb7763d14bef6feefad3b81adaa (diff) | |
download | mips64-af38ee08585bcedd169309f3663aec70d0a91856.tar.gz |
Added pdk mips64 supportandroid-cts-7.0_r9android-cts-7.0_r8android-cts-7.0_r7android-cts-7.0_r6android-cts-7.0_r5android-cts-7.0_r4android-cts-7.0_r33android-cts-7.0_r32android-cts-7.0_r31android-cts-7.0_r30android-cts-7.0_r3android-cts-7.0_r29android-cts-7.0_r28android-cts-7.0_r27android-cts-7.0_r26android-cts-7.0_r25android-cts-7.0_r24android-cts-7.0_r23android-cts-7.0_r22android-cts-7.0_r21android-cts-7.0_r20android-cts-7.0_r2android-cts-7.0_r19android-cts-7.0_r18android-cts-7.0_r17android-cts-7.0_r16android-cts-7.0_r15android-cts-7.0_r14android-cts-7.0_r13android-cts-7.0_r12android-cts-7.0_r11android-cts-7.0_r10android-cts-7.0_r1android-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1android-7.0.0_r9android-7.0.0_r8android-7.0.0_r7android-7.0.0_r6android-7.0.0_r5android-7.0.0_r4android-7.0.0_r36android-7.0.0_r35android-7.0.0_r34android-7.0.0_r33android-7.0.0_r32android-7.0.0_r31android-7.0.0_r30android-7.0.0_r3android-7.0.0_r29android-7.0.0_r28android-7.0.0_r27android-7.0.0_r24android-7.0.0_r21android-7.0.0_r19android-7.0.0_r17android-7.0.0_r15android-7.0.0_r14android-7.0.0_r13android-7.0.0_r12android-7.0.0_r11android-7.0.0_r10android-7.0.0_r1nougat-releasenougat-mr0.5-releasenougat-dr1-releasenougat-devnougat-cts-releasenougat-bugfix-release
Bug: 22046040
For 64-bit support, mini_mips64.mk needed to inerit from core_64_bit.mk
Fixed the copyright date.
Removed useless comment
Change-Id: I5817b9973d34b673cc46e43184a61f658703acee
-rw-r--r-- | AndroidProducts.mk | 18 | ||||
-rw-r--r-- | BoardConfig.mk | 61 | ||||
-rw-r--r-- | mini_mips64.mk | 24 |
3 files changed, 103 insertions, 0 deletions
diff --git a/AndroidProducts.mk b/AndroidProducts.mk new file mode 100644 index 0000000..d5ceae2 --- /dev/null +++ b/AndroidProducts.mk @@ -0,0 +1,18 @@ +# +# Copyright (C) 2015 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_mips64.mk diff --git a/BoardConfig.mk b/BoardConfig.mk new file mode 100644 index 0000000..20f30fb --- /dev/null +++ b/BoardConfig.mk @@ -0,0 +1,61 @@ +# config.mk +# +# Product-specific compile-time definitions. +# + +TARGET_NO_BOOTLOADER := true +TARGET_NO_KERNEL := true + +TARGET_ARCH := mips64 +ifeq (,$(TARGET_ARCH_VARIANT)) +TARGET_ARCH_VARIANT := mips64r6 +endif +TARGET_CPU_ABI := mips64 + +TARGET_2ND_ARCH := mips +ifeq (,$(TARGET_2ND_ARCH_VARIANT)) +ifeq ($(TARGET_ARCH_VARIANT),mips64r6) +TARGET_2ND_ARCH_VARIANT := mips32r6 +else +TARGET_2ND_ARCH_VARIANT := mips32r2-fp +endif +endif +TARGET_2ND_CPU_ABI := mips + +# Make TARGET_XXX_CPU_VARIANT the same as TARGET_XXX_ARCH_VARIANT +TARGET_CPU_VARIANT := $(TARGET_ARCH_VARIANT) +TARGET_2ND_CPU_VARIANT := $(TARGET_2ND_ARCH_VARIANT) + +# The emulator (qemu) uses the Goldfish devices +HAVE_HTC_AUDIO_DRIVER := true +BOARD_USES_GENERIC_AUDIO := true + +USE_CAMERA_STUB := true + +# Enable dex-preoptimization to speed up the first boot sequence +# of an SDK AVD. Note that this operation only works on Linux for now +ifeq ($(HOST_OS),linux) + ifeq ($(WITH_DEXPREOPT),) + WITH_DEXPREOPT := true + endif +endif + +# Build OpenGLES emulation guest and host libraries +BUILD_EMULATOR_OPENGL := true +USE_OPENGL_RENDERER := true + +BOARD_USE_LEGACY_UI := true + +# PDK does not use ext4 image, but it is added here to prevent build break. +BOARD_EGL_CFG := device/generic/goldfish/opengl/system/egl/egl.cfg +TARGET_USERIMAGES_USE_EXT4 := true +BOARD_SYSTEMIMAGE_PARTITION_SIZE := 786432000 +BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800 +BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016 +BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 +BOARD_FLASH_BLOCK_SIZE := 512 +TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true + +BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy + +DEX_PREOPT_DEFAULT := nostripping diff --git a/mini_mips64.mk b/mini_mips64.mk new file mode 100644 index 0000000..da9327e --- /dev/null +++ b/mini_mips64.mk @@ -0,0 +1,24 @@ +# Copyright (C) 2015 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, $(SRC_TARGET_DIR)/product/core_64_bit.mk) +$(call inherit-product, device/generic/armv7-a-neon/mini_common.mk) + +PRODUCT_NAME := mini_mips64 +PRODUCT_DEVICE := mips64 +PRODUCT_BRAND := Android +PRODUCT_MODEL := Mini for mips64 + +# default is nosdcard, S/W button enabled in resource +PRODUCT_CHARACTERISTICS := nosdcard |