BoardConfig.mk revision 3cf3d78600f327cd57c2ae3bc936309f15cbe5c1
1# 2# Copyright (C) 2011 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 := mips 26ifeq (,$(TARGET_ARCH_VARIANT)) 27TARGET_ARCH_VARIANT := mips32r2-fp 28endif 29TARGET_CPU_ABI := mips 30 31# Make TARGET_CPU_VARIANT the same as TARGET_ARCH_VARIANT 32TARGET_CPU_VARIANT := $(TARGET_ARCH_VARIANT) 33 34HAVE_HTC_AUDIO_DRIVER := true 35BOARD_USES_GENERIC_AUDIO := true 36 37# no hardware camera 38USE_CAMERA_STUB := true 39 40# Enable dex-preoptimization to speed up the first boot sequence 41# of an SDK AVD. Note that this operation only works on Linux for now 42ifeq ($(HOST_OS),linux) 43 ifeq ($(WITH_DEXPREOPT),) 44 WITH_DEXPREOPT := true 45 endif 46endif 47 48# Build OpenGLES emulation guest and host libraries 49BUILD_EMULATOR_OPENGL := true 50 51# Build and enable the OpenGL ES View renderer. When running on the emulator, 52# the GLES renderer disables itself if host GL acceleration isn't available. 53USE_OPENGL_RENDERER := true 54 55TARGET_USERIMAGES_USE_EXT4 := true 56BOARD_SYSTEMIMAGE_PARTITION_SIZE := 786432000 57BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800 58BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016 59BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 60BOARD_FLASH_BLOCK_SIZE := 512 61TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true 62 63BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy 64BOARD_SEPOLICY_UNION += \ 65 bootanim.te \ 66 device.te \ 67 domain.te \ 68 file.te \ 69 file_contexts \ 70 goldfish_setup.te \ 71 goldfish_logcat.te \ 72 property.te \ 73 property_contexts \ 74 qemu_props.te \ 75 qemud.te \ 76 rild.te \ 77 shell.te \ 78 surfaceflinger.te \ 79 system_server.te 80