blob: 24462266d2866fa25725a025b710e12a299fad95 [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
BOARD_VENDOR_RAMDISK_KERNEL_MODULES := $(filter-out $(P3_ONLY_VENDOR),$(PIXEL3_MODS))
endif
endif