android_device_motorola_rhodep/BoardConfig.mk
Anand S 3737732902
fogos: Initial tree conversion from xpeng
* Drop light hal and recovery scripts.
* All configs updated from fogos U1UG34M.23-82-2 build.

Change-Id: Ia889f2af05ec08937a3d64954c40e7e24d9a6025
2024-07-03 12:56:42 +05:30

43 lines
1.2 KiB
Makefile

#
# Copyright (C) 2022-2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PATH := device/motorola/fogos
# Inherit from motorola sm6375-common
include device/motorola/sm6375-common/BoardConfigCommon.mk
# Bootloader
TARGET_BOOTLOADER_BOARD_NAME := fogos
# HIDL
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest_fogos.xml
# Kernel
BOARD_KERNEL_CMDLINE += androidboot.hab.product=fogos
TARGET_KERNEL_CONFIG += vendor/fogos_defconfig
# Kernel Modules
BOARD_VENDOR_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/modules.load))
BOARD_VENDOR_KERNEL_MODULES_BLOCKLIST_FILE := $(DEVICE_PATH)/modules.blocklist
BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/modules.load.recovery))
BOOT_KERNEL_MODULES := $(BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD)
# Partitions
BOARD_MOT_DP_GROUP_SIZE := 5901385728 # (BOARD_SUPER_PARTITION_SIZE - 4MB)
BOARD_SUPER_PARTITION_SIZE := 5905580032
# Properties
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Recovery
TARGET_RECOVERY_UI_MARGIN_HEIGHT := 90
# Security patch level
VENDOR_SECURITY_PATCH := 2024-05-01
# inherit from the proprietary version
include vendor/motorola/fogos/BoardConfigVendor.mk