summaryrefslogtreecommitdiffstats
path: root/libbt/vnd_buildcfg.mk
diff options
context:
space:
mode:
Diffstat (limited to 'libbt/vnd_buildcfg.mk')
-rw-r--r--libbt/vnd_buildcfg.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/libbt/vnd_buildcfg.mk b/libbt/vnd_buildcfg.mk
index 9aa57f0..1343d31 100644
--- a/libbt/vnd_buildcfg.mk
+++ b/libbt/vnd_buildcfg.mk
@@ -6,7 +6,11 @@ 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
+ifeq ($(BLUETOOTH_HCI_USE_USB), true)
+SRC := $(call my-dir)/include/vnd_generic_usb.txt
+else
+ SRC := $(call my-dir)/include/vnd_generic.txt
+endif
endif
endif
GEN := $(intermediates)/vnd_buildcfg.h