From: Nolen Johnson Date: Mon, 10 Jun 2024 05:35:29 +0000 (-0400) Subject: m5: Split g12a/sm1 proprietary files X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9b715a7f5bbb916eae31517533e884991738b703;p=GitHub%2FLineageOS%2FG12%2Fandroid_device_bananapi_m5.git m5: Split g12a/sm1 proprietary files Change-Id: Ifb6554802f32809c93110a492393f6c3bd8122d8 --- diff --git a/BoardConfig.mk b/BoardConfig.mk index e99ff6e..f888056 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -31,3 +31,6 @@ PRODUCT_CFI_INCLUDE_PATHS += hardware/realtek/wlan/wpa_supplicant_8_lib ## Include the common tree BoardConfig makefile include device/amlogic/g12-common/BoardConfigCommon.mk + +## Include the proprietary BoardConfig makefile +include vendor/amlogic/m5/BoardConfigVendor.mk diff --git a/device.mk b/device.mk index 591f4e0..9129efb 100644 --- a/device.mk +++ b/device.mk @@ -25,8 +25,14 @@ PRODUCT_PACKAGES += \ DEVICE_PACKAGE_OVERLAYS += \ $(LOCAL_PATH)/overlay +## Platform +TARGET_AMLOGIC_SOC := sm1 + ## TEE TARGET_HAS_TEE := false ## Inherit from the common tree product makefile $(call inherit-product, device/amlogic/g12-common/g12.mk) + +## Inherit from the proprietary files makefile +$(call inherit-product, vendor/amlogic/m5/m5-vendor.mk) diff --git a/extract-files.sh b/extract-files.sh index 19765e6..c93ab1a 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -16,7 +16,9 @@ set -e export DEVICE=m5 export DEVICE_COMMON=g12-common -export VENDOR=bananapi +export TARGET_SOC=sm1 +export VENDOR=amlogic +export VENDOR_BRAND=bananapi export VENDOR_COMMON=amlogic "./../../${VENDOR_COMMON}/${DEVICE_COMMON}/extract-files.sh" "$@" 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 index 4ecfd34..69707cf 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -10,7 +10,9 @@ set -e export DEVICE=m5 export DEVICE_COMMON=g12-common -export VENDOR=bananapi +export TARGET_SOC=sm1 +export VENDOR=amlogic +export VENDOR_BRAND=bananapi export VENDOR_COMMON=amlogic "./../../${VENDOR_COMMON}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"