wade: Initial Commit
authorNolen Johnson <johnsonnolen@gmail.com>
Thu, 17 Jun 2021 04:43:04 +0000 (00:43 -0400)
committerNolen Johnson <johnsonnolen@gmail.com>
Tue, 27 Jul 2021 15:35:34 +0000 (11:35 -0400)
Change-Id: I5bbc92935d81897929edf3daefb27a9e09691f60

AndroidProducts.mk [new file with mode: 0644]
BoardConfig.mk [new file with mode: 0644]
device.mk [new file with mode: 0644]
extract-files.sh [new file with mode: 0755]
lineage.dependencies [new file with mode: 0644]
lineage_wade.mk [new file with mode: 0644]
proprietary-files.txt [new file with mode: 0644]
setup-makefiles.sh [new file with mode: 0755]

diff --git a/AndroidProducts.mk b/AndroidProducts.mk
new file mode 100644 (file)
index 0000000..5e2ce56
--- /dev/null
@@ -0,0 +1,13 @@
+#
+# Copyright (C) 2021 The LineageOS Project
+#
+# SPDX-License-Identifier: Apache-2.0
+#
+
+PRODUCT_MAKEFILES := \
+    $(LOCAL_DIR)/lineage_wade.mk
+
+COMMON_LUNCH_CHOICES := \
+    lineage_wade-eng \
+    lineage_wade-user \
+    lineage_wade-userdebug
diff --git a/BoardConfig.mk b/BoardConfig.mk
new file mode 100644 (file)
index 0000000..936896f
--- /dev/null
@@ -0,0 +1,14 @@
+#
+# Copyright (C) 2021 The LineageOS Project
+#
+# SPDX-License-Identifier: Apache-2.0
+#
+
+include vendor/askey/wade/BoardConfigVendor.mk
+
+include device/amlogic/g12-common/BoardConfigCommon.mk
+
+DEVICE_PATH := device/askey/wade
+
+## Bootloader
+TARGET_BOOTLOADER_BOARD_NAME := wade
diff --git a/device.mk b/device.mk
new file mode 100644 (file)
index 0000000..4a864ab
--- /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/wade
+
+$(call inherit-product, vendor/askey/wade/wade-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 (executable)
index 0000000..9d112ce
--- /dev/null
@@ -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=wade
+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 (file)
index 0000000..257b036
--- /dev/null
@@ -0,0 +1,6 @@
+[  
+  {
+    "repository": "android_device_amlogic_g12-common",
+    "target_path": "device/amlogic/g12-common"
+  }
+]
diff --git a/lineage_wade.mk b/lineage_wade.mk
new file mode 100644 (file)
index 0000000..88be350
--- /dev/null
@@ -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 := Askey
+PRODUCT_DEVICE := wade
+PRODUCT_GMS_CLIENTID_BASE := android-askey-tv
+PRODUCT_MANUFACTURER := Askey
+PRODUCT_MODEL := Dynalink TV Box
+PRODUCT_NAME := lineage_wade
+
+PRODUCT_BUILD_PROP_OVERRIDES += \
+    PRODUCT_NAME=wade \
+    PRIVATE_BUILD_DESC="asti6130d350-user 10 QT 20210326 release-keys"
+
+BUILD_FINGERPRINT := Dynalink/sti6130d350/sti6130d350:10/QT/20210326:user/release-keys
diff --git a/proprietary-files.txt b/proprietary-files.txt
new file mode 100644 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+
diff --git a/setup-makefiles.sh b/setup-makefiles.sh
new file mode 100755 (executable)
index 0000000..b9e8531
--- /dev/null
@@ -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=wade
+export DEVICE_COMMON=g12-common
+export VENDOR_COMMON=amlogic
+export VENDOR_DEVICE=askey
+
+"./../../${VENDOR_COMMON}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"