Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 1 | # Primary Arch |
| 2 | TARGET_ARCH := arm64 |
| 3 | TARGET_ARCH_VARIANT := armv8-a |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 4 | TARGET_CPU_ABI := arm64-v8a |
Luca Stefani | e30fde6 | 2017-01-11 22:39:06 +0100 | [diff] [blame] | 5 | TARGET_CPU_VARIANT := cortex-a53 |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 6 | |
| 7 | # Secondary Arch |
| 8 | TARGET_2ND_ARCH := arm |
| 9 | TARGET_2ND_ARCH_VARIANT := armv7-a-neon |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 10 | TARGET_2ND_CPU_ABI := armeabi-v7a |
| 11 | TARGET_2ND_CPU_ABI2 := armeabi |
Luca Stefani | e30fde6 | 2017-01-11 22:39:06 +0100 | [diff] [blame] | 12 | TARGET_2ND_CPU_VARIANT := cortex-a53 |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 13 | |
| 14 | TARGET_USES_64_BIT_BINDER := true |
| 15 | TARGET_SUPPORTS_32_BIT_APPS := true |
| 16 | TARGET_SUPPORTS_64_BIT_APPS := true |
| 17 | |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 18 | WITH_DEXPREOPT ?= true |
| 19 | USE_OPENGL_RENDERER := true |
| 20 | ANDROID_ENABLE_RENDERSCRIPT := true |
| 21 | |
| 22 | # BT configs |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 23 | BOARD_HAVE_BLUETOOTH := true |
| 24 | |
| 25 | # generic wifi |
| 26 | WPA_SUPPLICANT_VERSION := VER_0_8_X |
| 27 | BOARD_WPA_SUPPLICANT_DRIVER := NL80211 |
Dmitry Shmidt | f433534 | 2016-04-05 12:04:36 -0700 | [diff] [blame] | 28 | BOARD_HOSTAPD_DRIVER := NL80211 |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 29 | CONFIG_DRIVER_NL80211 := y |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 30 | |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 31 | TARGET_NO_BOOTLOADER := true |
| 32 | TARGET_NO_KERNEL := false |
| 33 | TARGET_NO_RECOVERY := true |
| 34 | TARGET_HARDWARE_3D := true |
| 35 | BOARD_USES_GENERIC_AUDIO := true |
| 36 | USE_CAMERA_STUB := true |
| 37 | TARGET_USERIMAGES_USE_EXT4 := true |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 38 | BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 39 | TARGET_USE_PAN_DISPLAY := true |
| 40 | |
Yongqin Liu | 416a19b | 2016-03-23 21:35:50 +0800 | [diff] [blame] | 41 | # enable to use the CPUSETS feature |
| 42 | ENABLE_CPUSETS := true |
John Stultz | 5a6425a | 2016-07-05 13:58:00 -0700 | [diff] [blame] | 43 | ENABLE_SCHEDBOOST := true |
| 44 | # We may want to enable this later |
| 45 | # but right now it doesn't build. |
| 46 | #ENABLE_SCHED_BOOST := true |
Yongqin Liu | 416a19b | 2016-03-23 21:35:50 +0800 | [diff] [blame] | 47 | |
Trevor Drake | 4c3fead | 2017-02-14 01:19:09 +0000 | [diff] [blame] | 48 | BOARD_SEPOLICY_DIRS += device/linaro/hikey/sepolicy |
Dmitry Shmidt | 0f9fb2a | 2016-01-26 15:57:04 -0800 | [diff] [blame] | 49 | |
| 50 | ifeq ($(HOST_OS), linux) |
| 51 | ifeq ($(TARGET_SYSTEMIMAGES_USE_SQUASHFS), true) |
| 52 | BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := squashfs |
| 53 | endif |
| 54 | endif |