some devices not support alarm,and bay trail will remove /sys/class/rtc/rtc0/wakealarm in the future,this will help suspend,
so let us Bluetooth default use CLOCK_BOOTTIME .
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 1fa0091..0f7755a 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -7,6 +7,7 @@ TARGET_BOARD_PLATFORM := android-x86
# Some framework code requires this to enable BT
BOARD_HAVE_BLUETOOTH := true
BOARD_HAVE_BLUETOOTH_LINUX := true
+BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth
BOARD_USE_LEGACY_UI := true
diff --git a/bluetooth/bdroid_buildcfg.h b/bluetooth/bdroid_buildcfg.h
index df91a8a..a6a788d 100644
--- a/bluetooth/bdroid_buildcfg.h
+++ b/bluetooth/bdroid_buildcfg.h
@@ -22,5 +22,6 @@
#define BLUETOOTH_HCI_USE_USB TRUE
// Bluetooth Low Power Mode is supported on BT4.0
#define HCILP_INCLUDED FALSE
+#define KERNEL_MISSING_CLOCK_BOOTTIME_ALARM TRUE
#endif
--
2.17.1