-
Notifications
You must be signed in to change notification settings - Fork 3
/
aosp_xenvm_trout_arm64.mk
50 lines (40 loc) · 2 KB
/
aosp_xenvm_trout_arm64.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# TARGET_PREBUILT_KERNEL - environment variable which could contain path to the prebuilt kernel.
ifneq ($(TARGET_PREBUILT_KERNEL),)
# Set TARGET_KERNEL_PATH variable which defines which kernel will be used in trout device.
TARGET_KERNEL_PATH := $(TARGET_PREBUILT_KERNEL)
# Flag to supress errors in case of usage of the new kernel
# which is not mentioned in original configs and compatibility matrices.
PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := false
TARGET_KERNEL_USE := 6.1
endif
# TARGET_PREBUILT_MODULES_DIR - environment variable which could contain path to the prebuilt kernel modules.
ifneq ($(TARGET_PREBUILT_MODULES_DIR),)
# Set BOARD_VENDOR_RAMDISK_KERNEL_MODULES variable which defines which kernel modules will be used in trout device.
BOARD_VENDOR_RAMDISK_KERNEL_MODULES := $(filter-out $(TARGET_PREBUILT_MODULES_DIR),$(shell find $(TARGET_PREBUILT_MODULES_DIR) -type f -name *.ko))
# Flag to disable stripping kernel modules during AOSP build.
BOARD_DO_NOT_STRIP_VENDOR_RAMDISK_MODULES := true
endif
# BOARD_KERNEL_CMDLINE += \
# androidboot.qemu=1 \
# androidboot.selinux=permissive \
# androidboot.fstab_suffix=trout \
# androidboot.hardware=cutf_cvm \
# androidboot.slot_suffix=_a \
# androidboot.hardware.gralloc=minigbm \
# androidboot.hardware.hwcomposer=drm_minigbm \
# androidboot.hardware.egl=mesa \
# androidboot.logcat=*:V \
# androidboot.vendor.vehiclehal.server.cid=2 \
# androidboot.vendor.vehiclehal.server.port=9300 \
# androidboot.vendor.vehiclehal.server.psf=/data/data/power.file \
# androidboot.vendor.vehiclehal.server.pss=/data/data/power.socket \
# androidboot.boot_devices=4010000000.pcie \
# loglevel=7 \
# console=ttyAMA0
$(call inherit-product, device/google/trout/aosp_trout_arm64.mk)
include device/epam/aosp-xenvm-trout/aosp_xenvm_trout_common.mk
LOCAL_BT_PROPERTIES = \
vendor.ser.bt-uart=/dev/hvc5 \
PRODUCT_NAME := aosp_xenvm_trout_arm64
PRODUCT_DEVICE := xenvm_trout_arm64
PRODUCT_MODEL := xenvm arm64 trout