m5: Move tablet builds support to the proper tree
authorBruno Martins <bgcngm@gmail.com>
Wed, 25 Oct 2023 13:57:24 +0000 (14:57 +0100)
committerBruno Martins <bgcngm@gmail.com>
Wed, 25 Oct 2023 14:43:19 +0000 (15:43 +0100)
Otherwise EPPE is broken since it expects the following path:
device/*/$(LINEAGE_BUILD)/$(TARGET_PRODUCT).mk

Change-Id: Iadef814f0a3bf4f1948da73b8fe437b10ebba8ed

AndroidProducts.mk
lineage_m5_tab.mk [deleted file]
m5_tab/BoardConfig.mk [deleted file]

index 771827e878d2ab358590a3043feb2c60eac74124..d3df000f050e5392e15988c524e68f8651ebbdbc 100644 (file)
@@ -1,17 +1,13 @@
 #
-# Copyright (C) 2021 The LineageOS Project
+# Copyright (C) 2021-2023 The LineageOS Project
 #
 # SPDX-License-Identifier: Apache-2.0
 #
 
 PRODUCT_MAKEFILES := \
     $(LOCAL_DIR)/lineage_m5.mk \
-    $(LOCAL_DIR)/lineage_m5_tab.mk
 
 COMMON_LUNCH_CHOICES := \
     lineage_m5-eng \
-    lineage_m5_tab-eng \
     lineage_m5-user \
-    lineage_m5_tab-user \
-    lineage_m5-userdebug \
-    lineage_m5_tab-userdebug
+    lineage_m5-userdebug
diff --git a/lineage_m5_tab.mk b/lineage_m5_tab.mk
deleted file mode 100644 (file)
index 44601f5..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# Copyright (C) 2021-2023 The LineageOS Project
-#
-# SPDX-License-Identifier: Apache-2.0
-#
-
-# Inherit some common AOSP stuff
-$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
-
-# Inherit some common Lineage stuff
-$(call inherit-product, vendor/lineage/config/common_mini_tablet_wifionly.mk)
-
-# Inherit device configuration
-$(call inherit-product, $(LOCAL_PATH)/device.mk)
-
-## Device identifier. This must come after all inclusions
-PRODUCT_BRAND := bananapi
-PRODUCT_DEVICE := m5_tab
-PRODUCT_GMS_CLIENTID_BASE := android-askey-tv
-PRODUCT_MANUFACTURER := bananapi
-PRODUCT_MODEL := BPI-M5
-PRODUCT_NAME := lineage_m5_tab
-
-PRODUCT_BUILD_PROP_OVERRIDES += \
-    PRODUCT_NAME=adt3 \
-    PRIVATE_BUILD_DESC="adt3-user 11 RTT1.200909.003.A2 6832896 release-keys"
-
-BUILD_FINGERPRINT := ADT-3/adt3/adt3:11/RTT1.200909.003.A2/6832896:user/release-keys
diff --git a/m5_tab/BoardConfig.mk b/m5_tab/BoardConfig.mk
deleted file mode 100644 (file)
index 68bcee2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-include device/bananapi/m5/BoardConfig.mk