android_recovery_motorola_o.../twrp_odin.mk
Jyotiraditya Panda 1ae73b4597 Adapt for Mi Mix 4
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
2021-09-30 23:28:25 +05:30

32 lines
1.1 KiB
Makefile

#
# Copyright (C) 2021 The TWRP Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk)
# Inherit from odin device
$(call inherit-product, device/xiaomi/odin/device.mk)
# Inherit some common TWRP stuff.
$(call inherit-product, vendor/twrp/config/common.mk)
# Device identifier. This must come after all inclusions
PRODUCT_DEVICE := odin
PRODUCT_NAME := twrp_odin
PRODUCT_BRAND := Xiaomi
PRODUCT_MODEL := Mi Mix 4
PRODUCT_MANUFACTURER := Xiaomi