-
Notifications
You must be signed in to change notification settings - Fork 0
/
BoardConfig.mk
32 lines (23 loc) · 774 Bytes
/
BoardConfig.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
#
# Copyright (C) 2022-23 The VoltageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from sm8250-common
include device/xiaomi/sm8250-common/BoardConfigCommon.mk
# Inherit from proprietary files for miuicamera
include vendor/xiaomi/munch-miuicamera/products/board.mk
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true
DEVICE_PATH := device/xiaomi/munch
BUILD_BROKEN_DUP_RULES := true
# Display
TARGET_SCREEN_DENSITY := 440
# Kernel
TARGET_KERNEL_CONFIG := vendor/munch_defconfig
# Init
TARGET_INIT_VENDOR_LIB := //$(DEVICE_PATH):init_xiaomi_munch
TARGET_RECOVERY_DEVICE_MODULES := init_xiaomi_munch
# Properties
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Inherit from the proprietary version
include vendor/xiaomi/munch/BoardConfigVendor.mk