msm8953-common: Add support for potter
Signed-off-by: Jorge Lucas <jorgelucas@pixelexperience.org>
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
LOCAL_PATH := $(call my-dir)
|
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))
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||||
|
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ Device configuration for Motorola msm8953 Devices
|
|||||||
|
|
||||||
Supported devices :
|
Supported devices :
|
||||||
|
|
||||||
Ali, Albus, Sanders
|
Ali, Albus, Potter, Sanders
|
||||||
|
|||||||
@@ -31,6 +31,8 @@ static inline const char* BtmGetDefaultName()
|
|||||||
return "Moto G(6)";
|
return "Moto G(6)";
|
||||||
if (strstr(product_device, "albus"))
|
if (strstr(product_device, "albus"))
|
||||||
return "Moto Z2 Play";
|
return "Moto Z2 Play";
|
||||||
|
if (strstr(product_device, "potter"))
|
||||||
|
return "Moto G(5) Plus";
|
||||||
if (strstr(product_device, "sanders"))
|
if (strstr(product_device, "sanders"))
|
||||||
return "Moto G(5)S";
|
return "Moto G(5)S";
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ source "${HELPER}"
|
|||||||
setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${ANDROID_ROOT}" true
|
setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${ANDROID_ROOT}" true
|
||||||
|
|
||||||
# Warning headers and guards
|
# Warning headers and guards
|
||||||
write_headers "albus ali sanders"
|
write_headers "albus ali potter sanders"
|
||||||
|
|
||||||
# The standard common blobs
|
# The standard common blobs
|
||||||
write_makefiles "${MY_DIR}/proprietary-files.txt" true
|
write_makefiles "${MY_DIR}/proprietary-files.txt" true
|
||||||
|
|||||||
Reference in New Issue
Block a user