blob: 24462266d2866fa25725a025b710e12a299fad95 [file] [log] [blame]
John Stultz85f6a8a2020-01-29 00:23:28 +00001PIXEL3_KERNEL_DIR := device/linaro/dragonboard-kernel/pixel3_mainline/
2
Amit Pundir579f6092019-04-18 19:15:05 +05303# Inherit the full_base and device configurations
4$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
5$(call inherit-product, device/linaro/dragonboard/pixel3_mainline/device.mk)
6$(call inherit-product, device/linaro/dragonboard/device-common.mk)
7$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
8
9# Product overrides
10PRODUCT_NAME := pixel3_mainline
11PRODUCT_DEVICE := pixel3_mainline
12PRODUCT_BRAND := Android
John Stultz85f6a8a2020-01-29 00:23:28 +000013
14ifndef PIXEL3_USES_GKI
15PIXEL3_USES_GKI := true
16endif
17
18ifeq ($(PIXEL3_USES_GKI), true)
19PIXEL3_MODS := $(wildcard $(PIXEL3_KERNEL_DIR)/*.ko)
20ifneq ($(PIXEL3_MODS),)
21 BOARD_VENDOR_KERNEL_MODULES += $(PIXEL3_MODS)
22
23 P3_ONLY_VENDOR := %/msm.ko
24 BOARD_VENDOR_RAMDISK_KERNEL_MODULES := $(filter-out $(P3_ONLY_VENDOR),$(PIXEL3_MODS))
25endif
26endif