BoardConfig.mk revision 00fdec8dc6385f9ca90c849d9c54fed4eda52119
100fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas Sauer# config.mk
200fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas Sauer#
300fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas Sauer# Product-specific compile-time definitions.
400fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas Sauer#
500fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas Sauer
600fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas Sauer# The generic product target doesn't have any hardware-specific pieces.
700fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerTARGET_NO_BOOTLOADER := true
800fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerTARGET_NO_KERNEL := true
900fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas Sauer
1000fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerTARGET_ARCH := arm64
1100fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerTARGET_ARCH_VARIANT := armv8-a
1200fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerTARGET_CPU_ABI := arm64-v8a
1300fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerTARGET_CPU_ABI2 :=
1400fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerTARGET_CPU_VARIANT := generic
1500fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas Sauer
1600fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerTARGET_2ND_ARCH := arm
1700fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerTARGET_2ND_ARCH_VARIANT := armv7-a-neon
1800fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerTARGET_2ND_CPU_ABI := armeabi-v7a
1900fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerTARGET_2ND_CPU_ABI2 := armeabi
2000fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerTARGET_2ND_CPU_VARIANT := cortex-a9
2100fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas Sauer
2200fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas Sauer# Disable emulator for "make dist" until there is a 64-bit qemu kernel
2300fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerBUILD_EMULATOR := false
2400fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas Sauer
2500fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas Sauer
2600fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerMINIMAL_FONT_FOOTPRINT := true
2700fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas Sauer# Some framework code requires this to enable BT
2800fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerBOARD_HAVE_BLUETOOTH := true
2900fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerBOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth
3000fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas Sauer
3100fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerUSE_OPENGL_RENDERER := true
3200fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas Sauer
3300fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerBOARD_USE_LEGACY_UI := true
3400fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas Sauer
3500fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas Sauer# PDK does not use ext4 image, but it is added here to prevent build break.
3600fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerTARGET_USERIMAGES_USE_EXT4 := true
3700fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerBOARD_SYSTEMIMAGE_PARTITION_SIZE := 576716800
3800fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerBOARD_USERDATAIMAGE_PARTITION_SIZE := 419430400
3900fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerBOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
4000fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerBOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
4100fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerBOARD_FLASH_BLOCK_SIZE := 512
4200fdec8dc6385f9ca90c849d9c54fed4eda52119Nicholas SauerTARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
43