clover: Lineage-ify
This commit is contained in:
parent
6db462c23f
commit
a905cd695d
3 changed files with 13 additions and 34 deletions
|
@ -23,9 +23,9 @@
|
||||||
|
|
||||||
# inherit MI PAD 4 lineage-OS device config
|
# inherit MI PAD 4 lineage-OS device config
|
||||||
PRODUCT_MAKEFILES := \
|
PRODUCT_MAKEFILES := \
|
||||||
$(LOCAL_DIR)/carbon_clover.mk
|
$(LOCAL_DIR)/lineage_clover.mk
|
||||||
|
|
||||||
COMMON_LUNCH_CHOICES := \
|
COMMON_LUNCH_CHOICES := \
|
||||||
carbon_clover-eng \
|
lineage_clover-eng \
|
||||||
carbon_clover-userdebug \
|
lineage_clover-userdebug \
|
||||||
carbon_clover-user
|
lineage_clover-user
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
[
|
|
||||||
{
|
|
||||||
"repository": "CarbonROM/android_device_xiaomi_sdm660-common",
|
|
||||||
"target_path": "device/xiaomi/sdm660-common",
|
|
||||||
"revision": "cr-8.0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"repository": "CarbonROM/android_kernel_xiaomi_sdm660",
|
|
||||||
"target_path": "kernel/xiaomi/sdm660",
|
|
||||||
"revision": "cr-8.0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"remote": "gh",
|
|
||||||
"repository": "xiaomi-sdm660/android_vendor_xiaomi_Miuicamera",
|
|
||||||
"target_path": "vendor/xiaomi/MiuiCamera",
|
|
||||||
"revision": "master"
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -21,26 +21,23 @@
|
||||||
# definition file).
|
# definition file).
|
||||||
#
|
#
|
||||||
|
|
||||||
# Inherit device configuration
|
# Inherit from those products. Most specific first.
|
||||||
$(call inherit-product, device/xiaomi/clover/device.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
||||||
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
||||||
# Inherit Carbon GSM telephony parts
|
|
||||||
$(call inherit-product, vendor/carbon/config/gsm.mk)
|
|
||||||
|
|
||||||
# Inherit Carbon product configuration
|
|
||||||
$(call inherit-product, vendor/carbon/config/common.mk)
|
|
||||||
|
|
||||||
# Define first api level
|
# Define first api level
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_o_mr1.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_o_mr1.mk)
|
||||||
|
|
||||||
# CarbonRom Maintainer
|
# Inherit some common Lineage stuff
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
||||||
ro.carbon.maintainer="Rcstar6696"
|
|
||||||
|
# Inherit device configuration
|
||||||
|
$(call inherit-product, device/xiaomi/clover/device.mk)
|
||||||
|
|
||||||
# Device identifier
|
# Device identifier
|
||||||
PRODUCT_BRAND := Xiaomi
|
PRODUCT_BRAND := Xiaomi
|
||||||
PRODUCT_MANUFACTURER := Xiaomi
|
PRODUCT_MANUFACTURER := Xiaomi
|
||||||
PRODUCT_NAME := carbon_clover
|
PRODUCT_NAME := lineage_clover
|
||||||
PRODUCT_CHARACTERISTICS := tablet
|
PRODUCT_CHARACTERISTICS := tablet
|
||||||
PRODUCT_DEVICE := clover
|
PRODUCT_DEVICE := clover
|
||||||
PRODUCT_MODEL := MI PAD 4
|
PRODUCT_MODEL := MI PAD 4
|
Loading…
Reference in a new issue