blob: 8439cbc349f94345cd31ebb3bb513edcf2e27617 [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
Vishal Bhoje72c9202015-10-23 18:10:21 +010018WITH_DEXPREOPT ?= true
19USE_OPENGL_RENDERER := true
20ANDROID_ENABLE_RENDERSCRIPT := true
21
22# BT configs
Jack He4ead46e2017-01-12 02:07:11 -080023BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/linaro/hikey/bluetooth
Vishal Bhoje72c9202015-10-23 18:10:21 +010024BOARD_HAVE_BLUETOOTH := true
25
26# generic wifi
27WPA_SUPPLICANT_VERSION := VER_0_8_X
28BOARD_WPA_SUPPLICANT_DRIVER := NL80211
Dmitry Shmidtf4335342016-04-05 12:04:36 -070029BOARD_HOSTAPD_DRIVER := NL80211
Vishal Bhoje72c9202015-10-23 18:10:21 +010030CONFIG_DRIVER_NL80211 := y
Vishal Bhoje72c9202015-10-23 18:10:21 +010031
Vishal Bhoje72c9202015-10-23 18:10:21 +010032TARGET_NO_BOOTLOADER := true
33TARGET_NO_KERNEL := false
34TARGET_NO_RECOVERY := true
35TARGET_HARDWARE_3D := true
36BOARD_USES_GENERIC_AUDIO := true
37USE_CAMERA_STUB := true
38TARGET_USERIMAGES_USE_EXT4 := true
Vishal Bhoje72c9202015-10-23 18:10:21 +010039BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
Vishal Bhoje72c9202015-10-23 18:10:21 +010040TARGET_USE_PAN_DISPLAY := true
41
Yongqin Liu416a19b2016-03-23 21:35:50 +080042# enable to use the CPUSETS feature
43ENABLE_CPUSETS := true
John Stultz5a6425a2016-07-05 13:58:00 -070044ENABLE_SCHEDBOOST := true
45# We may want to enable this later
46# but right now it doesn't build.
47#ENABLE_SCHED_BOOST := true
Yongqin Liu416a19b2016-03-23 21:35:50 +080048
Trevor Drake4c3fead2017-02-14 01:19:09 +000049BOARD_SEPOLICY_DIRS += device/linaro/hikey/sepolicy
Dmitry Shmidt0f9fb2a2016-01-26 15:57:04 -080050
51ifeq ($(HOST_OS), linux)
52ifeq ($(TARGET_SYSTEMIMAGES_USE_SQUASHFS), true)
53BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := squashfs
54endif
55endif