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 41BOARD_SEPOLICY_DIRS += device/linaro/hikey/sepolicy 42BOARD_SEPOLICY_DIRS += system/bt/vendor_libs/linux/sepolicy 43 44DEVICE_MANIFEST_FILE := device/linaro/hikey/manifest.xml 45DEVICE_MATRIX_FILE := device/linaro/hikey/compatibility_matrix.xml 46 47ifneq ($(TARGET_SENSOR_MEZZANINE),) 48DEVICE_MANIFEST_FILE += device/linaro/hikey/sensorhal/manifest.xml 49DEVICE_MANIFEST_FILE += device/linaro/hikey/vr/manifest.xml 50endif 51 52ifeq ($(HOST_OS), linux) 53ifeq ($(TARGET_SYSTEMIMAGES_USE_SQUASHFS), true) 54BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := squashfs 55endif 56endif 57 58TARGET_RECOVERY_PIXEL_FORMAT := BGRA_8888 59TARGET_RECOVERY_UI_LIB := librecovery_ui_hikey 60