blob: 4cf82224f142cff13ea6a26b313c3140874c3df8 [file] [log] [blame]
Vishal Bhoje72c9202015-10-23 18:10:21 +01001# Primary Arch
2TARGET_ARCH := arm64
3TARGET_ARCH_VARIANT := armv8-a
4TARGET_CPU_VARIANT := generic
5TARGET_CPU_ABI := arm64-v8a
6
7# Secondary Arch
8TARGET_2ND_ARCH := arm
9TARGET_2ND_ARCH_VARIANT := armv7-a-neon
10TARGET_2ND_CPU_VARIANT := cortex-a15
11TARGET_2ND_CPU_ABI := armeabi-v7a
12TARGET_2ND_CPU_ABI2 := armeabi
13
14TARGET_USES_64_BIT_BINDER := true
15TARGET_SUPPORTS_32_BIT_APPS := true
16TARGET_SUPPORTS_64_BIT_APPS := true
17
18TARGET_BOARD_PLATFORM := hikey
19WITH_DEXPREOPT ?= true
20USE_OPENGL_RENDERER := true
21ANDROID_ENABLE_RENDERSCRIPT := true
22
23# BT configs
24BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := "device/linaro/hikey/bluetooth"
25BOARD_HAVE_BLUETOOTH := true
26
27# generic wifi
28WPA_SUPPLICANT_VERSION := VER_0_8_X
29BOARD_WPA_SUPPLICANT_DRIVER := NL80211
30CONFIG_DRIVER_NL80211 := y
Vishal Bhoje72c9202015-10-23 18:10:21 +010031
32BOARD_KERNEL_CMDLINE := k3v2mem hisi_dma_print=0 vmalloc=484M no_irq_affinity loglevel=7 androidboot.hardware=hikey selinux=0
33
34TARGET_NO_BOOTLOADER := true
35TARGET_NO_KERNEL := false
36TARGET_NO_RECOVERY := true
37TARGET_HARDWARE_3D := true
38BOARD_USES_GENERIC_AUDIO := true
39USE_CAMERA_STUB := true
40TARGET_USERIMAGES_USE_EXT4 := true
41BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1342177280
Dmitry Shmidt2fc2fdd2016-01-27 12:59:03 -080042ifeq ($(TARGET_USERDATAIMAGE_4GB), true)
Dmitry Shmidtdbfe6f92016-02-03 10:56:28 -080043BOARD_USERDATAIMAGE_PARTITION_SIZE := 1595915776
Dmitry Shmidt2fc2fdd2016-01-27 12:59:03 -080044else
Dmitry Shmidtdbfe6f92016-02-03 10:56:28 -080045BOARD_USERDATAIMAGE_PARTITION_SIZE := 5588893184
Dmitry Shmidt2fc2fdd2016-01-27 12:59:03 -080046endif
Vishal Bhoje72c9202015-10-23 18:10:21 +010047BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
48BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
49BOARD_FLASH_BLOCK_SIZE := 131072
50TARGET_USE_PAN_DISPLAY := true
51
52BOARD_SEPOLICY_DIRS := device/linaro/hikey/sepolicy
Dmitry Shmidt0f9fb2a2016-01-26 15:57:04 -080053
54ifeq ($(HOST_OS), linux)
55ifeq ($(TARGET_SYSTEMIMAGES_USE_SQUASHFS), true)
56BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := squashfs
57endif
58endif