From 6b56c5128031bbfab3a8d41b3a5165636bd65319 Mon Sep 17 00:00:00 2001 From: Jorge Lucas Date: Sat, 6 Mar 2021 03:02:25 +0000 Subject: [PATCH] msm8953-common: Add support for potter Signed-off-by: Jorge Lucas --- Android.mk | 2 +- README.md | 2 +- bluetooth/bdroid_buildcfg.h | 2 ++ setup-makefiles.sh | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Android.mk b/Android.mk index 6e8eada..3ba1681 100644 --- a/Android.mk +++ b/Android.mk @@ -15,7 +15,7 @@ LOCAL_PATH := $(call my-dir) -ifneq ($(filter ali albus sanders,$(TARGET_DEVICE)),) +ifneq ($(filter ali albus potter sanders,$(TARGET_DEVICE)),) include $(call all-makefiles-under,$(LOCAL_PATH)) diff --git a/README.md b/README.md index af9eea1..0bde6be 100644 --- a/README.md +++ b/README.md @@ -5,4 +5,4 @@ Device configuration for Motorola msm8953 Devices Supported devices : -Ali, Albus, Sanders +Ali, Albus, Potter, Sanders diff --git a/bluetooth/bdroid_buildcfg.h b/bluetooth/bdroid_buildcfg.h index 221a7b0..1899590 100644 --- a/bluetooth/bdroid_buildcfg.h +++ b/bluetooth/bdroid_buildcfg.h @@ -31,6 +31,8 @@ static inline const char* BtmGetDefaultName() return "Moto G(6)"; if (strstr(product_device, "albus")) return "Moto Z2 Play"; + if (strstr(product_device, "potter")) + return "Moto G(5) Plus"; if (strstr(product_device, "sanders")) return "Moto G(5)S"; diff --git a/setup-makefiles.sh b/setup-makefiles.sh index 6d27a96..2598793 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -25,7 +25,7 @@ source "${HELPER}" setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${ANDROID_ROOT}" true # Warning headers and guards -write_headers "albus ali sanders" +write_headers "albus ali potter sanders" # The standard common blobs write_makefiles "${MY_DIR}/proprietary-files.txt" true