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 |
| 5 | |
| 6 | # Secondary Arch |
| 7 | TARGET_2ND_ARCH := arm |
| 8 | TARGET_2ND_ARCH_VARIANT := armv7-a-neon |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 9 | TARGET_2ND_CPU_ABI := armeabi-v7a |
| 10 | TARGET_2ND_CPU_ABI2 := armeabi |
| 11 | |
| 12 | TARGET_USES_64_BIT_BINDER := true |
| 13 | TARGET_SUPPORTS_32_BIT_APPS := true |
| 14 | TARGET_SUPPORTS_64_BIT_APPS := true |
| 15 | |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 16 | WITH_DEXPREOPT ?= true |
| 17 | USE_OPENGL_RENDERER := true |
| 18 | ANDROID_ENABLE_RENDERSCRIPT := true |
| 19 | |
| 20 | # BT configs |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 21 | BOARD_HAVE_BLUETOOTH := true |
| 22 | |
| 23 | # generic wifi |
| 24 | WPA_SUPPLICANT_VERSION := VER_0_8_X |
| 25 | BOARD_WPA_SUPPLICANT_DRIVER := NL80211 |
Dmitry Shmidt | f433534 | 2016-04-05 12:04:36 -0700 | [diff] [blame] | 26 | BOARD_HOSTAPD_DRIVER := NL80211 |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 27 | |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 28 | TARGET_NO_BOOTLOADER := true |
| 29 | TARGET_NO_KERNEL := false |
| 30 | TARGET_NO_RECOVERY := true |
| 31 | TARGET_HARDWARE_3D := true |
| 32 | BOARD_USES_GENERIC_AUDIO := true |
| 33 | USE_CAMERA_STUB := true |
| 34 | TARGET_USERIMAGES_USE_EXT4 := true |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 35 | BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 |
Vishal Bhoj | e72c920 | 2015-10-23 18:10:21 +0100 | [diff] [blame] | 36 | TARGET_USE_PAN_DISPLAY := true |
| 37 | |
Trevor Drake | 4c3fead | 2017-02-14 01:19:09 +0000 | [diff] [blame] | 38 | BOARD_SEPOLICY_DIRS += device/linaro/hikey/sepolicy |
John Stultz | d497f63 | 2017-05-30 23:51:33 -0700 | [diff] [blame^] | 39 | BOARD_SEPOLICY_DIRS += system/bt/vendor_libs/linux/sepolicy |
Dmitry Shmidt | 0f9fb2a | 2016-01-26 15:57:04 -0800 | [diff] [blame] | 40 | |
| 41 | ifeq ($(HOST_OS), linux) |
| 42 | ifeq ($(TARGET_SYSTEMIMAGES_USE_SQUASHFS), true) |
| 43 | BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := squashfs |
| 44 | endif |
| 45 | endif |