Consider lineage_ttab product via the AOSP way
authorBruno Martins <bgcngm@gmail.com>
Fri, 10 Aug 2018 11:47:04 +0000 (13:47 +0200)
committerJan Altensen <info@stricted.net>
Sun, 24 Feb 2019 12:31:18 +0000 (13:31 +0100)
Change-Id: Ibdeb62f0aa30933a09ac12ca825025e5f18574ab

AndroidProducts.mk
full_ttab.mk [deleted file]
lineage.mk [deleted file]
lineage_ttab.mk [new file with mode: 0644]

index 3d16f938b59d71baf4ba41c9a89fd18c7dea0368..10f7adc165d8ebd4697d4ea1cbe9c709fb05e59a 100644 (file)
@@ -1,2 +1,2 @@
 PRODUCT_MAKEFILES := \
-    $(LOCAL_DIR)/full_ttab.mk
+    $(LOCAL_DIR)/lineage_ttab.mk
diff --git a/full_ttab.mk b/full_ttab.mk
deleted file mode 100644 (file)
index ccc6583..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-DEVICE_DIR := device/alcatel/ttab
-
-# Inherit from those products. Most specific first.
-$(call inherit-product, $(DEVICE_DIR)/device.mk)
-
-$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
-
-PRODUCT_CHARACTERISTICS := tablet
-
-PRODUCT_DEVICE := ttab
-PRODUCT_NAME :ttab
-PRODUCT_BRAND := alcatel
-PRODUCT_MANUFACTURER := alcatel
-PRODUCT_MODEL := ttab
diff --git a/lineage.mk b/lineage.mk
deleted file mode 100644 (file)
index 3288586..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-# Release name
-PRODUCT_RELEASE_NAME := ttab
-
-# Inherit device configuration
-$(call inherit-product, device/alcatel/ttab/full_ttab.mk)
-
-# Inherit some common Lineage stuff.
-$(call inherit-product, vendor/lineage/config/common_full_tablet_wifionly.mk)
-
-
-## Device identifier. This must come after all inclusions
-PRODUCT_DEVICE := ttab
-PRODUCT_NAME := lineage_ttab
-PRODUCT_BRAND := alcatel
-PRODUCT_MODEL := ttab
-PRODUCT_MANUFACTURER := alcatel
-PRODUCT_RELEASE_NAME := ttab
-PRODUCT_GMS_CLIENTID_BASE := android-alcatel
diff --git a/lineage_ttab.mk b/lineage_ttab.mk
new file mode 100644 (file)
index 0000000..78d58d6
--- /dev/null
@@ -0,0 +1,21 @@
+
+# Inherit from those products. Most specific first.
+$(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk)
+$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
+
+# Inherit device configuration
+$(call inherit-product, device/alcatel/ttab/device.mk)
+
+# Inherit some common Lineage stuff.
+$(call inherit-product, vendor/lineage/config/common_full_tablet_wifionly.mk)
+
+PRODUCT_CHARACTERISTICS := tablet
+
+## Device identifier. This must come after all inclusions
+PRODUCT_DEVICE := ttab
+PRODUCT_NAME := lineage_ttab
+PRODUCT_BRAND := alcatel
+PRODUCT_MODEL := ttab
+PRODUCT_MANUFACTURER := alcatel
+
+PRODUCT_GMS_CLIENTID_BASE := android-alcatel