blob: 033da37c7451c74caed0b92673ded1b0f760c3c5 [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
5
6# Secondary Arch
7TARGET_2ND_ARCH := arm
Dmitry Shmidt0b1d49a2017-08-29 09:46:27 -07008TARGET_2ND_ARCH_VARIANT := armv8-a
Vishal Bhoje72c9202015-10-23 18:10:21 +01009TARGET_2ND_CPU_ABI := armeabi-v7a
10TARGET_2ND_CPU_ABI2 := armeabi
11
Vishal Bhoje72c9202015-10-23 18:10:21 +010012
Vishal Bhoje72c9202015-10-23 18:10:21 +010013USE_OPENGL_RENDERER := true
Vishal Bhoje72c9202015-10-23 18:10:21 +010014
15# BT configs
Vishal Bhoje72c9202015-10-23 18:10:21 +010016BOARD_HAVE_BLUETOOTH := true
17
John Stultz3424dc32018-04-11 15:37:34 -070018# enable Treble
19PRODUCT_FULL_TREBLE_OVERRIDE := true
20BOARD_VNDK_VERSION := current
21
Yongqin Liu00573262019-01-04 00:23:39 +080022TARGET_ENABLE_MEDIADRM_64 := true
23
Vishal Bhoje72c9202015-10-23 18:10:21 +010024# 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
Alistair Strachan10c509c2018-11-20 18:09:27 -080031TARGET_NO_RECOVERY ?= true
Vishal Bhoje72c9202015-10-23 18:10:21 +010032TARGET_HARDWARE_3D := true
33BOARD_USES_GENERIC_AUDIO := true
34USE_CAMERA_STUB := true
35TARGET_USERIMAGES_USE_EXT4 := true
Vishal Bhoje72c9202015-10-23 18:10:21 +010036TARGET_USE_PAN_DISPLAY := true
37
Chia-I Wu2b614442017-10-19 15:07:35 -070038TARGET_USES_HWC2 := true
Chia-I Wue24fae62017-04-24 13:49:38 -070039
Amit Pundire0b34ce2023-10-19 18:29:28 +053040BOARD_SEPOLICY_DIRS += device/linaro/hikey960/sepolicy
John Stultzd497f632017-05-30 23:51:33 -070041BOARD_SEPOLICY_DIRS += system/bt/vendor_libs/linux/sepolicy
Dmitry Shmidt0f9fb2a2016-01-26 15:57:04 -080042
Amit Pundire0b34ce2023-10-19 18:29:28 +053043DEVICE_MANIFEST_FILE := device/linaro/hikey960/manifest.xml
44DEVICE_MATRIX_FILE := device/linaro/hikey960/compatibility_matrix.xml
Michael Schwartz5eb5e962017-04-06 13:37:15 -070045
Ben Fennema52301e42017-10-17 12:24:04 -070046ifneq ($(TARGET_SENSOR_MEZZANINE),)
Amit Pundire0b34ce2023-10-19 18:29:28 +053047DEVICE_MANIFEST_FILE += device/linaro/hikey960/sensorhal/manifest.xml
48DEVICE_MANIFEST_FILE += device/linaro/hikey960/vr/manifest.xml
Ben Fennema52301e42017-10-17 12:24:04 -070049endif
50
Dmitry Shmidt0f9fb2a2016-01-26 15:57:04 -080051ifeq ($(HOST_OS), linux)
52ifeq ($(TARGET_SYSTEMIMAGES_USE_SQUASHFS), true)
53BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := squashfs
54endif
55endif
Alistair Strachan10c509c2018-11-20 18:09:27 -080056
57TARGET_RECOVERY_PIXEL_FORMAT := BGRA_8888
Amit Pundire0b34ce2023-10-19 18:29:28 +053058TARGET_RECOVERY_UI_LIB := librecovery_ui_hikey960