summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libbt/vnd_buildcfg.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbt/vnd_buildcfg.mk b/libbt/vnd_buildcfg.mk
index b65033a..9aa57f0 100644
--- a/libbt/vnd_buildcfg.mk
+++ b/libbt/vnd_buildcfg.mk
@@ -1,10 +1,14 @@
intermediates := $(local-intermediates-dir)
+ifneq ($(BOARD_BLUEDROID_VENDOR_CONF),)
+SRC := $(BOARD_BLUEDROID_VENDOR_CONF)
+else
SRC := $(call my-dir)/include/$(addprefix vnd_, $(addsuffix .txt,$(basename $(TARGET_DEVICE))))
ifeq (,$(wildcard $(SRC)))
# configuration file does not exist. Use default one
SRC := $(call my-dir)/include/vnd_generic.txt
endif
+endif
GEN := $(intermediates)/vnd_buildcfg.h
TOOL := $(TOP_DIR)external/bluetooth/bluedroid/tools/gen-buildcfg.sh