1# Primary Arch 2TARGET_ARCH := arm64 3TARGET_ARCH_VARIANT := armv8-a 4TARGET_CPU_ABI := arm64-v8a 5 6# Secondary Arch 7TARGET_2ND_ARCH := arm 8TARGET_2ND_ARCH_VARIANT := armv8-a 9TARGET_2ND_CPU_ABI := armeabi-v7a 10TARGET_2ND_CPU_ABI2 := armeabi 11 12TARGET_USES_64_BIT_BINDER := true 13 14USE_OPENGL_RENDERER := true 15 16# BT configs 17BOARD_HAVE_BLUETOOTH := true 18 19# enable Treble 20PRODUCT_FULL_TREBLE_OVERRIDE := true 21BOARD_VNDK_VERSION := current 22 23TARGET_ENABLE_MEDIADRM_64 := true 24 25# generic wifi 26WPA_SUPPLICANT_VERSION := VER_0_8_X 27BOARD_WPA_SUPPLICANT_DRIVER := NL80211 28BOARD_HOSTAPD_DRIVER := NL80211 29 30TARGET_NO_BOOTLOADER := true 31TARGET_NO_KERNEL := false 32TARGET_NO_RECOVERY ?= true 33TARGET_HARDWARE_3D := true 34BOARD_USES_GENERIC_AUDIO := true 35USE_CAMERA_STUB := true 36TARGET_USERIMAGES_USE_EXT4 := true 37TARGET_USE_PAN_DISPLAY := true 38 39TARGET_USES_HWC2 := true 40 41TARGET_AUX_OS_VARIANT_LIST := neonkey argonkey 42 43BOARD_SEPOLICY_DIRS += device/linaro/hikey/sepolicy 44BOARD_SEPOLICY_DIRS += system/bt/vendor_libs/linux/sepolicy 45 46DEVICE_MANIFEST_FILE := device/linaro/hikey/manifest.xml 47DEVICE_MATRIX_FILE := device/linaro/hikey/compatibility_matrix.xml 48 49ifneq ($(TARGET_SENSOR_MEZZANINE),) 50DEVICE_MANIFEST_FILE += device/linaro/hikey/sensorhal/manifest.xml 51DEVICE_MANIFEST_FILE += device/linaro/hikey/vr/manifest.xml 52endif 53 54ifeq ($(HOST_OS), linux) 55ifeq ($(TARGET_SYSTEMIMAGES_USE_SQUASHFS), true) 56BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := squashfs 57endif 58endif 59 60TARGET_RECOVERY_PIXEL_FORMAT := BGRA_8888 61TARGET_RECOVERY_UI_LIB := librecovery_ui_hikey 62