BoardConfig.mk revision 360b8510343b5efcfb67b6c654a0e912f1e3a3cd
1# 2# Copyright (C) 2013 The Android Open Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16# BoardConfig.mk 17# 18# Product-specific compile-time definitions. 19# 20 21# The generic product target doesn't have any hardware-specific pieces. 22TARGET_NO_BOOTLOADER := true 23TARGET_NO_KERNEL := true 24 25TARGET_ARCH := mips64 26ifeq (,$(TARGET_ARCH_VARIANT)) 27TARGET_ARCH_VARIANT := mips64r6 28endif 29TARGET_CPU_ABI := mips64 30 31TARGET_2ND_ARCH := mips 32ifeq (,$(TARGET_2ND_ARCH_VARIANT)) 33ifeq ($(TARGET_ARCH_VARIANT),mips64r6) 34TARGET_2ND_ARCH_VARIANT := mips32r6 35else 36TARGET_2ND_ARCH_VARIANT := mips32r2-fp 37endif 38endif 39TARGET_2ND_CPU_ABI := mips 40 41# The emulator (qemu) uses the Goldfish devices 42HAVE_HTC_AUDIO_DRIVER := true 43BOARD_USES_GENERIC_AUDIO := true 44 45# no hardware camera 46USE_CAMERA_STUB := true 47 48# Enable dex-preoptimization to speed up the first boot sequence 49# of an SDK AVD. Note that this operation only works on Linux for now 50ifeq ($(HOST_OS),linux) 51 ifeq ($(WITH_DEXPREOPT),) 52 WITH_DEXPREOPT := true 53 endif 54endif 55 56# Build OpenGLES emulation guest and host libraries 57BUILD_EMULATOR_OPENGL := true 58 59# Build and enable the OpenGL ES View renderer. When running on the emulator, 60# the GLES renderer disables itself if host GL acceleration isn't available. 61USE_OPENGL_RENDERER := true 62 63TARGET_USERIMAGES_USE_EXT4 := true 64BOARD_SYSTEMIMAGE_PARTITION_SIZE := 786432000 65BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800 66BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016 67BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 68BOARD_FLASH_BLOCK_SIZE := 512 69TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true 70