From b0fe1ba093570428f88769d0ee6dd1fafe040e5e Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Wed, 26 Sep 2018 09:48:12 +0100 Subject: [PATCH] sdm845-common: Add support for ursa Change-Id: I7fecff228b7a400d5987268c139bc4bd8e495f67 --- Android.mk | 2 +- bluetooth/include/bdroid_buildcfg.h | 1 + setup-makefiles.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Android.mk b/Android.mk index 2cb1c9011..8e2e05130 100644 --- a/Android.mk +++ b/Android.mk @@ -6,6 +6,6 @@ LOCAL_PATH := $(call my-dir) -ifneq ($(filter dipper polaris,$(TARGET_DEVICE)),) +ifneq ($(filter dipper polaris ursa,$(TARGET_DEVICE)),) include $(call all-makefiles-under,$(LOCAL_PATH)) endif diff --git a/bluetooth/include/bdroid_buildcfg.h b/bluetooth/include/bdroid_buildcfg.h index ca159fad1..2a6b7b6e8 100644 --- a/bluetooth/include/bdroid_buildcfg.h +++ b/bluetooth/include/bdroid_buildcfg.h @@ -36,6 +36,7 @@ typedef struct { static const device_t devices[] = { {"dipper", "Xiaomi Mi 8"}, {"polaris", "Xiaomi Mi MIX 2S"}, + {"ursa", "Xiaomi Mi 8 Explorer Edition"}, }; static inline const char *BtmGetDefaultName() diff --git a/setup-makefiles.sh b/setup-makefiles.sh index 8d675ba02..eae482a83 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -26,7 +26,7 @@ fi setup_vendor "$DEVICE_COMMON" "$VENDOR" "$LINEAGE_ROOT" true # Copyright headers and guards -write_headers "dipper polaris" +write_headers "dipper polaris ursa" # The standard common blobs write_makefiles "$MY_DIR"/proprietary-files.txt true