android_device_lenovo_msm89.../cm.mk
Zhao Wei Liew 32b802e23f land: Define board platform before inheriting products
Change-Id: I82c3841bf26548e839983c349daeffc2c8c6b908
2016-11-01 17:27:20 +08:00

42 lines
1.5 KiB
Makefile

#
# Copyright (C) 2016 The CyanogenMod 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/full_base_telephony.mk)
# Inherit some common CM stuff
$(call inherit-product, vendor/cm/config/common_full_phone.mk)
# Inherit from land device
$(call inherit-product, device/xiaomi/land/device.mk)
# Must define platform before including any common things
$(call inherit-product, device/xiaomi/land/board/00-qcom-platform-msm8937.mk)
PRODUCT_BRAND := Xiaomi
PRODUCT_DEVICE := land
PRODUCT_MANUFACTURER := Xiaomi
PRODUCT_MODEL := Redmi 3S
PRODUCT_NAME := cm_land
PRODUCT_GMS_CLIENTID_BASE := android-xiaomi
TARGET_VENDOR_PRODUCT_NAME := land
PRODUCT_BUILD_PROP_OVERRIDES += \
BUILD_FINGERPRINT=Xiaomi/land/land:6.0.1/MMB29M/V8.0.3.0.MALMIDG:user/release-keys \
PRIVATE_BUILD_DESC="land-user 6.0.1 MMB29M V8.0.3.0.MALMIDG release-keys"