From 67a905c345ac225187f4a5e04fc8c99af916eb68 Mon Sep 17 00:00:00 2001 From: Nolen Johnson Date: Sat, 8 Jul 2023 18:28:14 -0400 Subject: [PATCH] radxa0: Allow tablet builds Change-Id: Ib400d6c6d87e4d663335f2fb73b47297462561a6 (cherry picked from commit 0ff00541ee261e7f7d5a0f1923d8583678fe5eac) --- AndroidProducts.mk | 9 +++++++-- lineage_radxa0_tab.mk | 29 +++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 lineage_radxa0_tab.mk diff --git a/AndroidProducts.mk b/AndroidProducts.mk index 4e34cf5..135a0e1 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -5,9 +5,14 @@ # PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/lineage_radxa0.mk + $(LOCAL_DIR)/lineage_radxa0.mk \ + $(LOCAL_DIR)/lineage_radxa0_tab.mk COMMON_LUNCH_CHOICES := \ lineage_radxa0-eng \ + lineage_radxa0_tab-eng \ lineage_radxa0-user \ - lineage_radxa0-userdebug + lineage_radxa0_tab-user \ + lineage_radxa0-userdebug \ + lineage_radxa0_tab-userdebug + diff --git a/lineage_radxa0_tab.mk b/lineage_radxa0_tab.mk new file mode 100644 index 0000000..9045747 --- /dev/null +++ b/lineage_radxa0_tab.mk @@ -0,0 +1,29 @@ +# +# 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 := Radxa +PRODUCT_DEVICE := radxa0_tab +PRODUCT_MANUFACTURER := radxa +PRODUCT_MODEL := Radxa Zero +PRODUCT_NAME := lineage_radxa0_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 -- 2.20.1