mirror of
https://github.com/Evolution-X-Devices/device_lenovo_zippo
synced 2026-01-27 14:21:16 +00:00
In order to properly support ZuiCamera, we must set our device model to match what is used in our stock ZUI ROM for zippo. We must also set some specific props that is needed for zippo's ZuiCamera too. Change-Id: I82e189bd9229cd7431fce1f8079ea90518b52af4
30 lines
651 B
Makefile
30 lines
651 B
Makefile
|
|
# Copyright (C) 2019-2021 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
-include device/lenovo/sm8150-common/BoardConfigCommon.mk
|
|
|
|
BOARD_VENDOR := lenovo
|
|
|
|
DEVICE_PATH := device/lenovo/zippo
|
|
|
|
# Assert
|
|
TARGET_OTA_ASSERT_DEVICE := zippo
|
|
|
|
# HIDL
|
|
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
|
|
|
|
# Kernel
|
|
ifeq ($(TARGET_PREBUILT_KERNEL),)
|
|
TARGET_KERNEL_CONFIG := lineage_zippo_defconfig
|
|
TARGET_KERNEL_CLANG_COMPILE := true
|
|
TARGET_KERNEL_SOURCE := kernel/lenovo/sm8150
|
|
endif
|
|
|
|
# Properties
|
|
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
|
|
|
|
# Inherit from the proprietary version
|
|
-include vendor/lenovo/zippo/BoardConfigVendor.mk
|