blob: 27b4ea6a610143c9ee835f64be84a9b8f3e01453 [file] [log] [blame]
Amit Pundirfb9cf9b2022-03-27 21:52:15 +05301ifndef TARGET_KERNEL_USE
2TARGET_KERNEL_USE := mainline
3endif
4
5KERNEL_MODS := $(wildcard device/generic/sdm845/shared/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/shared/device.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