1# Target defaults to 64- and 32-bit 2TARGET_64BIT_ONLY ?= false 3 4# Target can boot 16K kernels - defaults to false 5# If BOOTS_16K is set, enable 64BIT_ONLY as well 6# since that's a prerequisite 7TARGET_BOOTS_16K ?= false 8ifeq ($(TARGET_BOOTS_16K), true) 9 TARGET_64BIT_ONLY := true 10endif 11 12$(call inherit-product, device/linaro/dragonboard/full.mk) 13ifeq ($(TARGET_64BIT_ONLY), true) 14 $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk) 15else 16 $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) 17endif 18$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk) 19$(call inherit-product, device/linaro/dragonboard/shared/graphics/drm_hwcomposer/device.mk) 20$(call inherit-product, device/linaro/dragonboard/shared/graphics/mesa/device.mk) 21$(call inherit-product, device/linaro/dragonboard/shared/graphics/minigbm_msm/device.mk) 22$(call inherit-product, device/linaro/dragonboard/db845c/device.mk) 23 24#Boot with Android boot image header v3 25ifeq ($(TARGET_KERNEL_USE),5.4) 26 TARGET_USES_BOOT_HDR_V3 := true 27else 28 TARGET_USES_BOOT_HDR_V3 ?= false 29endif 30 31#Boot from mmc-sdcard 32TARGET_SDCARD_BOOT ?= false 33 34#Load kernel modules in parallel 35ifneq ($(filter 5.15 6.1 6.6, $(TARGET_KERNEL_USE)),) 36 TARGET_USES_LMP ?= false 37else 38 TARGET_USES_LMP := false 39endif 40 41# Product overrides 42PRODUCT_NAME := db845c 43PRODUCT_DEVICE := db845c 44PRODUCT_BRAND := Android 45