From: Nolen Johnson Date: Wed, 12 Jul 2023 21:30:28 +0000 (-0400) Subject: m5: Allow tablet builds X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bb398a85c0c942fafe73124401b720bc01ca9e94;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_bananapi_m5.git m5: Allow tablet builds Change-Id: Ib400d6c6d87e4d663335f2fb73b47297462561a6 (cherry picked from commit eac91bde8b15ecb9778211de7fa1747d078ffccf) --- diff --git a/AndroidProducts.mk b/AndroidProducts.mk index 7257844..771827e 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -5,9 +5,13 @@ # PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/lineage_m5.mk + $(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-userdebug + lineage_m5_tab-user \ + lineage_m5-userdebug \ + lineage_m5_tab-userdebug diff --git a/lineage_m5_tab.mk b/lineage_m5_tab.mk new file mode 100644 index 0000000..6371795 --- /dev/null +++ b/lineage_m5_tab.mk @@ -0,0 +1,30 @@ +# +# Copyright (C) 2021 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# + +TARGET_HAS_TEE := false + +# 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