land: Define board platform before inheriting products

Change-Id: I82c3841bf26548e839983c349daeffc2c8c6b908
This commit is contained in:
Zhao Wei Liew 2016-11-01 17:27:20 +08:00
parent 73997e66df
commit 32b802e23f

3
cm.mk
View file

@ -24,6 +24,9 @@ $(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