blob: 1b205c2428dda15b7366a8d76a5f2203d611501e [file] [log] [blame]
PIXEL3_KERNEL_DIR := device/linaro/dragonboard-kernel/pixel3_mainline/
# Inherit the full_base and device configurations
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, device/linaro/dragonboard/pixel3_mainline/device.mk)
$(call inherit-product, device/linaro/dragonboard/device-common.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
# Product overrides
PRODUCT_NAME := pixel3_mainline
PRODUCT_DEVICE := pixel3_mainline
PRODUCT_BRAND := Android
ifndef PIXEL3_USES_GKI
PIXEL3_USES_GKI := true
endif
ifeq ($(PIXEL3_USES_GKI), true)
PIXEL3_MODS := $(wildcard $(PIXEL3_KERNEL_DIR)/*.ko)
ifneq ($(PIXEL3_MODS),)
BOARD_VENDOR_KERNEL_MODULES += $(PIXEL3_MODS)
P3_ONLY_VENDOR := %/msm.ko %/dwc3.ko %/dwc3-qcom.ko %/hci_uart.ko %/btqca.ko %/incrementalfs.ko
P3_ONLY_VENDOR += %/ath10k_core.ko %/ath10k_pci.ko %/ath10k_snoc.ko %/ath.ko
BOARD_VENDOR_RAMDISK_KERNEL_MODULES := $(filter-out $(P3_ONLY_VENDOR),$(PIXEL3_MODS))
endif
endif