• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# config.mk
2#
3# Product-specific compile-time definitions.
4#
5
6# The generic product target doesn't have any hardware-specific pieces.
7TARGET_NO_BOOTLOADER := true
8TARGET_NO_KERNEL := true
9
10TARGET_ARCH := arm64
11TARGET_ARCH_VARIANT := armv8-a
12TARGET_CPU_VARIANT := generic
13TARGET_CPU_ABI := arm64-v8a
14
15TARGET_2ND_ARCH := arm
16TARGET_2ND_ARCH_VARIANT := armv7-a-neon
17TARGET_2ND_CPU_VARIANT := cortex-a15
18TARGET_2ND_CPU_ABI := armeabi-v7a
19TARGET_2ND_CPU_ABI2 := armeabi
20
21TARGET_USES_64_BIT_BINDER := true
22
23SMALLER_FONT_FOOTPRINT := true
24MINIMAL_FONT_FOOTPRINT := true
25# Some framework code requires this to enable BT
26BOARD_HAVE_BLUETOOTH := true
27BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth
28
29BOARD_USES_GENERIC_AUDIO := true
30
31USE_CAMERA_STUB := true
32
33BUILD_EMULATOR_OPENGL := true
34USE_OPENGL_RENDERER := true
35
36BOARD_USE_LEGACY_UI := true
37
38# PDK does not use ext4 image, but it is added here to prevent build break.
39TARGET_USERIMAGES_USE_EXT4 := true
40BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1073741824 # 1 GB
41BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800
42BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
43BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
44BOARD_FLASH_BLOCK_SIZE := 512
45TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
46