blob: 71d0564de35d84083b1b6205c0ca8443b182e3fa [file] [log] [blame]
Amit Pundir8e3de692020-02-01 18:25:51 +05301DB845C_KERNEL_DIR := device/linaro/dragonboard-kernel/android-5.4
2LOCAL_KERNEL_DIR := device/xiaomi/beryllium/prebuilt-kernel/android-5.4
Amit Pundired4440b2020-01-27 14:48:09 +05303
Amit Pundir8e3de692020-02-01 18:25:51 +05304DB845C_MODS := $(wildcard $(DB845C_KERNEL_DIR)/*.ko)
5# Local modules are built from following tree:
6# https://github.com/pundiramit/linux/tree/android-5.4-modules
7LOCAL_MODS := $(wildcard $(LOCAL_KERNEL_DIR)/*.ko)
8BOARD_VENDOR_RAMDISK_KERNEL_MODULES := $(DB845C_MODS)
9BOARD_VENDOR_RAMDISK_KERNEL_MODULES += $(LOCAL_MODS)
Amit Pundirc738b812019-06-19 16:13:49 +053010
11# Inherit the full_base and device configurations
12$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
13$(call inherit-product, device/xiaomi/beryllium/aosp_beryllium/device.mk)
14$(call inherit-product, device/xiaomi/beryllium/device-common.mk)
15$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
16
17# Product overrides
18PRODUCT_NAME := aosp_beryllium
19PRODUCT_DEVICE := aosp_beryllium
20PRODUCT_BRAND := AOSP