Alexander Martinz | 38bb825 | 2022-01-07 17:16:46 +0100 | [diff] [blame] | 1 | ifndef TARGET_KERNEL_USE |
| 2 | TARGET_KERNEL_USE := mainline |
| 3 | endif |
| 4 | |
| 5 | KERNEL_MODS := $(wildcard device/generic/sdm845/prebuilt-kernel/android-$(TARGET_KERNEL_USE)/*.ko) |
| 6 | |
| 7 | # Following modules go to vendor partition |
| 8 | VENDOR_KERN_MODS := |
| 9 | BOARD_VENDOR_KERNEL_MODULES := $(filter $(VENDOR_KERN_MODS),$(KERNEL_MODS)) |
| 10 | |
| 11 | # All other modules go to ramdisk |
| 12 | BOARD_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 |
| 21 | PRODUCT_BRAND := AOSP |
| 22 | PRODUCT_DEVICE := axolotl |
| 23 | PRODUCT_NAME := axolotl |