From: Nolen Johnson Date: Wed, 12 Jul 2023 21:29:00 +0000 (-0400) Subject: odroidc4: Allow tablet builds X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=391ae2437dcbfeef6fe77830e7dfafc71da48a0a;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_hardkernel_odroidc4.git odroidc4: Allow tablet builds Change-Id: Ib400d6c6d87e4d663335f2fb73b47297462561a6 (cherry picked from commit f95cc4d5ad9ecc91af765d620eef8b9ce28a24e7) --- diff --git a/AndroidProducts.mk b/AndroidProducts.mk index 37671e4..cd63f4f 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -5,9 +5,13 @@ # PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/lineage_odroidc4.mk + $(LOCAL_DIR)/lineage_odroidc4.mk \ + $(LOCAL_DIR)/lineage_odroidc4_tab.mk \ COMMON_LUNCH_CHOICES := \ lineage_odroidc4-eng \ + lineage_odroidc4_tab-eng \ lineage_odroidc4-user \ - lineage_odroidc4-userdebug + lineage_odroidc4_tab-user \ + lineage_odroidc4-userdebug \ + lineage_odroidc4_tab-userdebug diff --git a/lineage_odroidc4.mk b/lineage_odroidc4.mk index 935a4e2..19ba156 100644 --- a/lineage_odroidc4.mk +++ b/lineage_odroidc4.mk @@ -16,7 +16,6 @@ $(call inherit-product, vendor/lineage/config/common_full_tv.mk) $(call inherit-product, $(LOCAL_PATH)/device.mk) ## Device identifier. This must come after all inclusions - PRODUCT_BRAND := hardkernel PRODUCT_DEVICE := odroidc4 PRODUCT_GMS_CLIENTID_BASE := android-askey-tv diff --git a/lineage_odroidc4_tab.mk b/lineage_odroidc4_tab.mk new file mode 100644 index 0000000..c27083d --- /dev/null +++ b/lineage_odroidc4_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 := hardkernel +PRODUCT_DEVICE := odroidc4_tab +PRODUCT_GMS_CLIENTID_BASE := android-askey-tv +PRODUCT_MANUFACTURER := hardkernel +PRODUCT_MODEL := odroid c4 +PRODUCT_NAME := lineage_odroidc4_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