blob: 07b7fa7166d75a23e7c95050f74be4872b960ac7 [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
Dmitry Shmidt71930872016-04-05 12:04:36 -070030BOARD_HOSTAPD_DRIVER := NL80211
Vishal Bhoje72c9202015-10-23 18:10:21 +010031CONFIG_DRIVER_NL80211 := y
Vishal Bhoje72c9202015-10-23 18:10:21 +010032
33BOARD_KERNEL_CMDLINE := k3v2mem hisi_dma_print=0 vmalloc=484M no_irq_affinity loglevel=7 androidboot.hardware=hikey selinux=0
34
35TARGET_NO_BOOTLOADER := true
36TARGET_NO_KERNEL := false
37TARGET_NO_RECOVERY := true
38TARGET_HARDWARE_3D := true
39BOARD_USES_GENERIC_AUDIO := true
40USE_CAMERA_STUB := true
41TARGET_USERIMAGES_USE_EXT4 := true
Dmitry Shmidt3451a8a2016-02-08 11:08:29 -080042BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1610612736
Dmitry Shmidt2fc2fdd2016-01-27 12:59:03 -080043ifeq ($(TARGET_USERDATAIMAGE_4GB), true)
Dmitry Shmidtdbfe6f92016-02-03 10:56:28 -080044BOARD_USERDATAIMAGE_PARTITION_SIZE := 1595915776
Dmitry Shmidt2fc2fdd2016-01-27 12:59:03 -080045else
Dmitry Shmidtdbfe6f92016-02-03 10:56:28 -080046BOARD_USERDATAIMAGE_PARTITION_SIZE := 5588893184
Dmitry Shmidt2fc2fdd2016-01-27 12:59:03 -080047endif
Vishal Bhoje72c9202015-10-23 18:10:21 +010048BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
49BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
50BOARD_FLASH_BLOCK_SIZE := 131072
51TARGET_USE_PAN_DISPLAY := true
52
Yongqin Liu16c8b0a2016-03-23 21:35:50 +080053# enable to use the CPUSETS feature
54ENABLE_CPUSETS := true
55
Vishal Bhoje72c9202015-10-23 18:10:21 +010056BOARD_SEPOLICY_DIRS := device/linaro/hikey/sepolicy
Dmitry Shmidt0f9fb2a2016-01-26 15:57:04 -080057
58ifeq ($(HOST_OS), linux)
59ifeq ($(TARGET_SYSTEMIMAGES_USE_SQUASHFS), true)
60BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := squashfs
61endif
62endif