blob: 977829b3a149652b11a75998c19abb962c66f32c [file] [log] [blame]
Vishal Bhoje72c9202015-10-23 18:10:21 +01001# Primary Arch
2TARGET_ARCH := arm64
3TARGET_ARCH_VARIANT := armv8-a
Vishal Bhoje72c9202015-10-23 18:10:21 +01004TARGET_CPU_ABI := arm64-v8a
Luca Stefanie30fde62017-01-11 22:39:06 +01005TARGET_CPU_VARIANT := cortex-a53
Vishal Bhoje72c9202015-10-23 18:10:21 +01006
7# Secondary Arch
8TARGET_2ND_ARCH := arm
9TARGET_2ND_ARCH_VARIANT := armv7-a-neon
Vishal Bhoje72c9202015-10-23 18:10:21 +010010TARGET_2ND_CPU_ABI := armeabi-v7a
11TARGET_2ND_CPU_ABI2 := armeabi
Luca Stefanie30fde62017-01-11 22:39:06 +010012TARGET_2ND_CPU_VARIANT := cortex-a53
Vishal Bhoje72c9202015-10-23 18:10:21 +010013
14TARGET_USES_64_BIT_BINDER := true
15TARGET_SUPPORTS_32_BIT_APPS := true
16TARGET_SUPPORTS_64_BIT_APPS := true
17
Vishal Bhoje72c9202015-10-23 18:10:21 +010018WITH_DEXPREOPT ?= true
19USE_OPENGL_RENDERER := true
Vishal Bhoje72c9202015-10-23 18:10:21 +010020
21# BT configs
Vishal Bhoje72c9202015-10-23 18:10:21 +010022BOARD_HAVE_BLUETOOTH := true
23
24# generic wifi
25WPA_SUPPLICANT_VERSION := VER_0_8_X
26BOARD_WPA_SUPPLICANT_DRIVER := NL80211
Dmitry Shmidtf4335342016-04-05 12:04:36 -070027BOARD_HOSTAPD_DRIVER := NL80211
Vishal Bhoje72c9202015-10-23 18:10:21 +010028
Vishal Bhoje72c9202015-10-23 18:10:21 +010029TARGET_NO_BOOTLOADER := true
30TARGET_NO_KERNEL := false
31TARGET_NO_RECOVERY := true
32TARGET_HARDWARE_3D := true
33BOARD_USES_GENERIC_AUDIO := true
34USE_CAMERA_STUB := true
35TARGET_USERIMAGES_USE_EXT4 := true
Vishal Bhoje72c9202015-10-23 18:10:21 +010036BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
Vishal Bhoje72c9202015-10-23 18:10:21 +010037TARGET_USE_PAN_DISPLAY := true
38
Chia-I Wue24fae62017-04-24 13:49:38 -070039SF_START_GRAPHICS_ALLOCATOR_SERVICE := true
40
Yongqin Liu416a19b2016-03-23 21:35:50 +080041# enable to use the CPUSETS feature
42ENABLE_CPUSETS := true
John Stultz5a6425a2016-07-05 13:58:00 -070043ENABLE_SCHEDBOOST := true
44# We may want to enable this later
45# but right now it doesn't build.
46#ENABLE_SCHED_BOOST := true
Yongqin Liu416a19b2016-03-23 21:35:50 +080047
Trevor Drake4c3fead2017-02-14 01:19:09 +000048BOARD_SEPOLICY_DIRS += device/linaro/hikey/sepolicy
Dmitry Shmidt0f9fb2a2016-01-26 15:57:04 -080049
Michael Schwartz5eb5e962017-04-06 13:37:15 -070050DEVICE_MANIFEST_FILE := device/linaro/hikey/manifest.xml
Yifan Hongc024f4b2017-05-09 15:37:51 -070051DEVICE_MATRIX_FILE := device/linaro/hikey/compatibility_matrix.xml
Michael Schwartz5eb5e962017-04-06 13:37:15 -070052
Dmitry Shmidt0f9fb2a2016-01-26 15:57:04 -080053ifeq ($(HOST_OS), linux)
54ifeq ($(TARGET_SYSTEMIMAGES_USE_SQUASHFS), true)
55BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := squashfs
56endif
57endif