From: Nolen Johnson Date: Thu, 17 Jun 2021 04:43:04 +0000 (-0400) Subject: deadpool: Initial Commit X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7d46ede8577c4362315ba26fe2549d474c10229d;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_askey_deadpool.git deadpool: Initial Commit Change-Id: I5bbc92935d81897929edf3daefb27a9e09691f60 --- 7d46ede8577c4362315ba26fe2549d474c10229d diff --git a/AndroidProducts.mk b/AndroidProducts.mk new file mode 100644 index 0000000..9819825 --- /dev/null +++ b/AndroidProducts.mk @@ -0,0 +1,13 @@ +# +# Copyright (C) 2021 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# + +PRODUCT_MAKEFILES := \ + $(LOCAL_DIR)/lineage_deadpool.mk + +COMMON_LUNCH_CHOICES := \ + lineage_deadpool-eng \ + lineage_deadpool-user \ + lineage_deadpool-userdebug diff --git a/BoardConfig.mk b/BoardConfig.mk new file mode 100644 index 0000000..cbac9e1 --- /dev/null +++ b/BoardConfig.mk @@ -0,0 +1,14 @@ +# +# Copyright (C) 2021 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# + +include vendor/askey/deadpool/BoardConfigVendor.mk + +include device/amlogic/g12-common/BoardConfigCommon.mk + +DEVICE_PATH := device/askey/deadpool + +## Bootloader +TARGET_BOOTLOADER_BOARD_NAME := deadpool diff --git a/device.mk b/device.mk new file mode 100644 index 0000000..3e0df65 --- /dev/null +++ b/device.mk @@ -0,0 +1,11 @@ +# +# Copyright (C) 2021 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# + +DEVICE_PATH := device/askey/deadpool + +$(call inherit-product, vendor/askey/deadpool/deadpool-vendor.mk) + +$(call inherit-product, device/amlogic/g12-common/g12.mk) diff --git a/extract-files.sh b/extract-files.sh new file mode 100755 index 0000000..c3c342f --- /dev/null +++ b/extract-files.sh @@ -0,0 +1,22 @@ +#!/bin/bash +# +# Copyright (C) 2016 The CyanogenMod Project +# Copyright (C) 2017-2020 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# + +# If we're being sourced by the common script that we called, +# stop right here. No need to go down the rabbit hole. +if [ "${BASH_SOURCE[0]}" != "${0}" ]; then + return +fi + +set -e + +export DEVICE=deadpool +export DEVICE_COMMON=g12-common +export VENDOR_COMMON=amlogic +export VENDOR_DEVICE=askey + +"./../../${VENDOR_COMMON}/${DEVICE_COMMON}/extract-files.sh" "$@" diff --git a/lineage.dependencies b/lineage.dependencies new file mode 100644 index 0000000..257b036 --- /dev/null +++ b/lineage.dependencies @@ -0,0 +1,6 @@ +[ + { + "repository": "android_device_amlogic_g12-common", + "target_path": "device/amlogic/g12-common" + } +] diff --git a/lineage_deadpool.mk b/lineage_deadpool.mk new file mode 100644 index 0000000..9c66094 --- /dev/null +++ b/lineage_deadpool.mk @@ -0,0 +1,28 @@ +# +# Copyright (C) 2021 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# + +# Inherit some common AOSP stuff +$(call inherit-product, device/google/atv/products/atv_base.mk) + +# Inherit some common Lineage stuff +$(call inherit-product, vendor/lineage/config/common_full_tv.mk) + +# Inherit device configuration +$(call inherit-product, $(LOCAL_PATH)/device.mk) + +## Device identifier. This must come after all inclusions +PRODUCT_BRAND := ADT-3 +PRODUCT_DEVICE := deadpool +PRODUCT_GMS_CLIENTID_BASE := android-askey-tv +PRODUCT_MANUFACTURER := askey +PRODUCT_MODEL := ADT-3 +PRODUCT_NAME := lineage_deadpool + +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/proprietary-files.txt b/proprietary-files.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/proprietary-files.txt @@ -0,0 +1 @@ + diff --git a/setup-makefiles.sh b/setup-makefiles.sh new file mode 100755 index 0000000..46be1f6 --- /dev/null +++ b/setup-makefiles.sh @@ -0,0 +1,16 @@ +#!/bin/bash +# +# Copyright (C) 2016 The CyanogenMod Project +# Copyright (C) 2017-2020 The LineageOS Project +# +# SPDX-License-Identifier: Apache-2.0 +# + +set -e + +export DEVICE=deadpool +export DEVICE_COMMON=g12-common +export VENDOR_COMMON=amlogic +export VENDOR_DEVICE=askey + +"./../../${VENDOR_COMMON}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"