diff options
author | Chris Dearman <chris.dearman@imgtec.com> | 2014-02-03 15:01:24 -0800 |
---|---|---|
committer | Chris Dearman <chris.dearman@imgtec.com> | 2014-02-05 19:07:57 -0800 |
commit | 1efd9e462a157c38d8ce0049582b27b3591c8c45 (patch) | |
tree | a43d211a07dc7be579e2563866b6c0e9237ff46a /target/board | |
parent | afbbce3ff1d2d94e54f48d748d18796ce671fce9 (diff) | |
download | build-1efd9e462a157c38d8ce0049582b27b3591c8c45.zip build-1efd9e462a157c38d8ce0049582b27b3591c8c45.tar.gz build-1efd9e462a157c38d8ce0049582b27b3591c8c45.tar.bz2 |
[MIPS64] Add mips64 target
Change-Id: Ice1621101c0d5a3314db288542ca8020e3f406bf
Signed-off-by: Duane Sand <duane.sand@imgtec.com>
Diffstat (limited to 'target/board')
-rw-r--r-- | target/board/generic_mips64/BoardConfig.mk | 59 | ||||
-rw-r--r-- | target/board/generic_mips64/README.txt | 8 | ||||
-rw-r--r-- | target/board/generic_mips64/device.mk | 34 | ||||
-rw-r--r-- | target/board/generic_mips64/system.prop | 6 |
4 files changed, 107 insertions, 0 deletions
diff --git a/target/board/generic_mips64/BoardConfig.mk b/target/board/generic_mips64/BoardConfig.mk new file mode 100644 index 0000000..26e4d69 --- /dev/null +++ b/target/board/generic_mips64/BoardConfig.mk @@ -0,0 +1,59 @@ +# +# 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. +# +# BoardConfig.mk +# +# Product-specific compile-time definitions. +# + +# The generic product target doesn't have any hardware-specific pieces. +TARGET_NO_BOOTLOADER := true +TARGET_NO_KERNEL := true + +TARGET_ARCH := mips64 +ifeq (,$(TARGET_ARCH_VARIANT)) +TARGET_ARCH_VARIANT := mips64r2 +endif +TARGET_CPU_ABI := mips64 + +# The emulator (qemu) uses the Goldfish devices +HAVE_HTC_AUDIO_DRIVER := true +BOARD_USES_GENERIC_AUDIO := true + +# no hardware camera +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 + +# Build and enable the OpenGL ES View renderer. When running on the emulator, +# the GLES renderer disables itself if host GL acceleration isn't available. +USE_OPENGL_RENDERER := true + +TARGET_USERIMAGES_USE_EXT4 := true +BOARD_SYSTEMIMAGE_PARTITION_SIZE := 576716800 +BOARD_USERDATAIMAGE_PARTITION_SIZE := 209715200 +BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016 +BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 +BOARD_FLASH_BLOCK_SIZE := 512 +TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true diff --git a/target/board/generic_mips64/README.txt b/target/board/generic_mips64/README.txt new file mode 100644 index 0000000..cd4e05b --- /dev/null +++ b/target/board/generic_mips64/README.txt @@ -0,0 +1,8 @@ +The "generic_mips64" product defines a MIPS64 based non-hardware-specific +target without a kernel or bootloader. + +It can be used to build the entire user-level system, and +will work with the emulator. + +It is not a product "base class"; no other products inherit +from it or use it in any way. diff --git a/target/board/generic_mips64/device.mk b/target/board/generic_mips64/device.mk new file mode 100644 index 0000000..58fe976 --- /dev/null +++ b/target/board/generic_mips64/device.mk @@ -0,0 +1,34 @@ +# +# Copyright (C) 2009 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. +# + +# This is a build configuration for the product aspects that +# are specific to the emulator. + +PRODUCT_PROPERTY_OVERRIDES := \ + ro.ril.hsxpa=1 \ + ro.ril.gprsclass=10 \ + ro.adb.qemud=1 + +PRODUCT_COPY_FILES := \ + device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \ + device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml \ + device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml \ + hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf + +PRODUCT_PACKAGES := \ + audio.primary.goldfish \ + power.goldfish \ + libffi diff --git a/target/board/generic_mips64/system.prop b/target/board/generic_mips64/system.prop new file mode 100644 index 0000000..326e4b7 --- /dev/null +++ b/target/board/generic_mips64/system.prop @@ -0,0 +1,6 @@ +# +# system.prop for generic mips64 sdk +# + +rild.libpath=/system/lib/libreference-ril.so +rild.libargs=-d /dev/ttyS0 |