summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libbt-vendor/Android.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/libbt-vendor/Android.mk b/libbt-vendor/Android.mk
index 8d3f9d4..ad9671c 100644
--- a/libbt-vendor/Android.mk
+++ b/libbt-vendor/Android.mk
@@ -30,8 +30,11 @@ LOCAL_SRC_FILES := \
src/hw_ar3k.c \
src/bt_vendor_persist.cpp
-#Disable this flag in case if FM over UART support not needed
+# By default, "ENABLE_FM_OVER_UART" is un-defined.
+# To enable the feature, set it as "true" in "BoardConfig.mk".
+ifeq ($(ENABLE_FM_OVER_UART), true)
LOCAL_CFLAGS := -DFM_OVER_UART
+endif
ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
LOCAL_CFLAGS += -DPANIC_ON_SOC_CRASH