John Stultz | bffd63c | 2020-01-29 00:23:28 +0000 | [diff] [blame] | 1 | PIXEL3_KERNEL_DIR := device/linaro/dragonboard-kernel/pixel3_mainline/ |
| 2 | |
Amit Pundir | 579f609 | 2019-04-18 19:15:05 +0530 | [diff] [blame] | 3 | # 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 |
| 10 | PRODUCT_NAME := pixel3_mainline |
| 11 | PRODUCT_DEVICE := pixel3_mainline |
| 12 | PRODUCT_BRAND := Android |
John Stultz | bffd63c | 2020-01-29 00:23:28 +0000 | [diff] [blame] | 13 | |
| 14 | ifndef PIXEL3_USES_GKI |
| 15 | PIXEL3_USES_GKI := true |
| 16 | endif |
| 17 | |
| 18 | ifeq ($(PIXEL3_USES_GKI), true) |
| 19 | PIXEL3_MODS := $(wildcard $(PIXEL3_KERNEL_DIR)/*.ko) |
| 20 | ifneq ($(PIXEL3_MODS),) |
| 21 | BOARD_VENDOR_KERNEL_MODULES += $(PIXEL3_MODS) |
| 22 | P3_ONLY_VENDOR := %/msm.ko %/dwc3.ko %/dwc3-qcom.ko %/hci_uart.ko %/btqca.ko %/incrementalfs.ko |
| 23 | P3_ONLY_VENDOR += %/ath10k_core.ko %/ath10k_pci.ko %/ath10k_snoc.ko %/ath.ko |
| 24 | P3_ONLY_VENDOR += %/apr.ko %/qcom_q6v5_ipa_notify.ko |
| 25 | P3_ONLY_VENDOR += %/ns.ko %/qcom_q6v5.ko %/qrtr.ko %/qcom_q6v5_mss.ko %/qrtr-smd.ko |
| 26 | P3_ONLY_VENDOR += %/qcom_q6v5_pas.ko %/qrtr-tun.ko %/snd-soc-hdmi-codec.ko |
| 27 | P3_ONLY_VENDOR += %/qcom_q6v5_wcss.ko |
| 28 | P3_ONLY_VENDOR += %/rmtfs_mem.ko |
| 29 | P3_ONLY_VENDOR += %/wcn36xx.ko %/wcnss_ctrl.ko |
| 30 | P3_ONLY_VENDOR += %/qcom_wcnss_pil.ko %/mdt_loader.ko |
| 31 | P3_ONLY_VENDOR += %/qcom_q6v5_adsp.ko |
| 32 | P3_ONLY_VENDOR += %/ehci-hcd.ko %/ehci-pci.ko %/ehci-platform.ko %/xhci-hcd.ko %/xhci-pci.ko %/xhci-pci-renesas.ko %/xhci-plat-hcd.ko |
| 33 | P3_ONLY_VENDOR += %/lt9611.ko %/panel-tianma-nt36672a.ko %/ax88179_178a.ko %/msm_serial.ko %/asix.ko |
| 34 | P3_ONLY_VENDOR += %/qcom-wdt.ko %/i2c-qup.ko %/i2c-gpio.ko %/phy-qcom-usb-hs.ko %/ulpi.ko %/extcon-usb-gpio.ko |
| 35 | P3_ONLY_VENDOR += %/nvmem_qfprom.ko %/pm8916_wdt.ko %/llcc-qcom.ko |
| 36 | P3_ONLY_VENDOR += %/i2c-qcom-geni.ko %/qcom-pon.ko %/syscon-reboot-mode.ko %/reboot-mode.ko |
| 37 | P3_ONLY_VENDOR += %/fastrpc.ko %/ohci-hcd.ko %/ohci-pci.ko %/ohci-platform.ko %/phy-qcom-qusb2.ko |
| 38 | P3_ONLY_VENDOR += %/spmi-pmic-arb.ko %/rtc-pm8xxx.ko %/socinfo.ko |
| 39 | P3_ONLY_VENDOR += %/smsm.ko %/smp2p.ko %/smem.ko %/qcom_smd.ko %/qcom_glink_smem.ko %/qcom_glink.ko %/qcom_glink_rpm.ko %/qcom_common.ko |
| 40 | P3_ONLY_VENDOR += %/regmap-spmi.ko %/qcom-spmi-pmic.ko |
| 41 | P3_ONLY_VENDOR += %/qcom_sysmon.ko |
| 42 | P3_ONLY_VENDOR += %/qmi_helpers.ko %/pdr_interface.ko |
| 43 | P3_ONLY_VENDOR += %/icc-bcm-voter.ko %/icc-rpmh.ko %/qnoc-sdm845.ko |
| 44 | P3_ONLY_VENDOR += %/qcom_gsbi.ko %/pm8941-pwrkey.ko |
| 45 | P3_ONLY_VENDOR += %/pinctrl-spmi-mpp.ko %/ocmem.ko %/gcc-msm8998.ko %/clk-scmi.ko |
| 46 | |
| 47 | BOARD_VENDOR_RAMDISK_KERNEL_MODULES := $(filter-out $(P3_ONLY_VENDOR),$(PIXEL3_MODS)) |
| 48 | endif |
| 49 | endif |