#
-# Copyright (C) 2020 The LineageOS Project
+# Copyright (C) 2020-2021 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-# inherit from common
--include device/motorola/exynos9610-common/BoardConfigCommon.mk
+## Inherit from the common tree
+include device/motorola/exynos9610-common/BoardConfigCommon.mk
+
+## Inherit from the proprietary configuration
+include vendor/motorola/kane/BoardConfigVendor.mk
DEVICE_PATH := device/motorola/kane
-# Assert
+## Assert
TARGET_OTA_ASSERT_DEVICE := kane,one_vision
-# Kernel
+## Kernel
TARGET_KERNEL_CONFIG := kane_defconfig
-# Properties
+## Properties
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
-
-# inherit from the proprietary version
-include vendor/motorola/kane/BoardConfigVendor.mk
#
-# Copyright (C) 2020 The LineageOS Project
+# Copyright (C) 2020-2021 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# limitations under the License.
#
-# Inherit from common
+# Inherit from the common tree
$(call inherit-product, device/motorola/exynos9610-common/common.mk)
+# Inherit proprietary files
$(call inherit-product, vendor/motorola/kane/kane-vendor.mk)
#
-# Copyright (C) 2020 The LineageOS Project
+# Copyright (C) 2020-2021 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# limitations under the License.
#
-# Inherit from those products. Most specific first.
+## Inherit from generic products, most specific first
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
-# Inherit from kane device
+## Inherit from kane device
$(call inherit-product, device/motorola/kane/device.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
-# Inherit some common Lineage stuff.
+## Inherit some common Lineage stuff
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
-# Device identifier. This must come after all inclusions
+## Device identifier, this must come after all inclusions
PRODUCT_DEVICE := kane
PRODUCT_NAME := lineage_kane
PRODUCT_BRAND := Motorola
PRODUCT_GMS_CLIENTID_BASE := android-motorola
-# Use the latest approved GMS identifiers
+## Use the latest CTS approved build identifiers
PRODUCT_BUILD_PROP_OVERRIDES += \
PRODUCT_NAME=kane_sprout \
PRIVATE_BUILD_DESC="10/QSAS30.62-33-4/2d332:user/release-keys"
-# Device proprietary files - from motorola/kane_retail/kane_sprout:10/QSAS30.62-33-12/e6aee, unless pinned
+## Device proprietary files - from motorola/kane_retail/kane_sprout:10/QSAS30.62-33-12/e6aee, unless pinned
-# camera
+## Camera
vendor/lib/hw/camera.exynos9610.so
vendor/lib/libexynoscamera3.so
vendor/lib64/hw/camera.exynos9610.so
vendor/lib64/libexynoscamera3.so
-# firmware
+## Firmware
vendor/firmware/fimc_is_lib.bin
vendor/firmware/fimc_is_rta.bin
vendor/firmware/himax-hix83112a-hx83112a-0C00-208-kane.bin
vendor/firmware/setfile_6b2.bin
vendor/firmware/setfile_gm1sp.bin
-# NFC
+## NFC
vendor/etc/sec_s3nrn81_rfreg.bin
-# sensors
+## Sensors
vendor/lib/hw/sensors.kane_sprout.so
vendor/lib/sensors.chub.so
vendor/lib64/hw/sensors.kane_sprout.so
vendor/lib64/sensors.chub.so
-# ril
+## RIL
vendor/lib/libril_sitril.so
vendor/lib/libsitril.so
vendor/lib64/libril_sitril.so
-ro.hardware.sensors=kane_sprout
+## IMEI
ro.radio.imei.sv=18
+
+## Sensors
+ro.hardware.sensors=kane_sprout