aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraudahadi <wan.audahadi@gmail.com>2016-11-28 22:55:53 +0800
committeraudahadi <wan.audahadi@gmail.com>2016-11-29 13:01:33 +0800
commita0f9256d9f3907acf659a5d8b835e56ee39672c9 (patch)
tree03d5d613634fa6184e32c1213e098d47320e25fd
parent6b4df3a84c4b375d5560fc9d2f8cce9174b8c383 (diff)
call platfrom base config last
Change-Id: I5dbb1b91e8158084430e0ce3598e22f27dacb1ef
-rw-r--r--cm.mk5
-rw-r--r--full_Z010D.mk4
2 files changed, 5 insertions, 4 deletions
diff --git a/cm.mk b/cm.mk
index 3a04583..706aa86 100644
--- a/cm.mk
+++ b/cm.mk
@@ -1,8 +1,13 @@
+# Inherit from device specific
$(call inherit-product, device/asus/Z010D/full_Z010D.mk)
# Inherit some common CM stuff.
$(call inherit-product, vendor/cm/config/common_full_phone.mk)
+# 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)
+
PRODUCT_NAME := cm_Z010D
PRODUCT_BRAND := asus
PRODUCT_MANUFACTURER := asus
diff --git a/full_Z010D.mk b/full_Z010D.mk
index 1d25127..2e2adcd 100644
--- a/full_Z010D.mk
+++ b/full_Z010D.mk
@@ -14,10 +14,6 @@
# 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 from Z010D device
$(call inherit-product, device/asus/Z010D/device.mk)