blob: 2d3c5fa840fe5ad28d54367bb913a697eea1df95 [file] [log] [blame]
Alexander Martinz38bb8252022-01-07 17:16:46 +01001ifndef TARGET_KERNEL_USE
2TARGET_KERNEL_USE := mainline
3endif
4
5KERNEL_MODS := $(wildcard device/generic/sdm845/prebuilt-kernel/android-$(TARGET_KERNEL_USE)/*.ko)
6
7# Following modules go to vendor partition
8VENDOR_KERN_MODS :=
9BOARD_VENDOR_KERNEL_MODULES := $(filter $(VENDOR_KERN_MODS),$(KERNEL_MODS))
10
11# All other modules go to ramdisk
12BOARD_GENERIC_RAMDISK_KERNEL_MODULES := $(filter-out $(VENDOR_KERN_MODS),$(KERNEL_MODS))
13
14# Inherit the full_base and device configurations
15$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
16$(call inherit-product, device/generic/sdm845/axolotl/device.mk)
17$(call inherit-product, device/generic/sdm845/device-common.mk)
18$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
19
20# Product overrides
21PRODUCT_BRAND := AOSP
22PRODUCT_DEVICE := axolotl
23PRODUCT_NAME := axolotl