diff options
author | Steve Kondik <shade@chemlab.org> | 2012-12-03 02:34:56 -0800 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2012-12-03 02:34:56 -0800 |
commit | 201208b201b9dfe79d7469b73c1b48b6a3e8b21f (patch) | |
tree | c5a075f53e0be821547366139a2ffc2175e656d0 /libbt | |
parent | 105961ebfd8349e3789d23086b84640b5100e43e (diff) | |
download | device_common-201208b201b9dfe79d7469b73c1b48b6a3e8b21f.zip device_common-201208b201b9dfe79d7469b73c1b48b6a3e8b21f.tar.gz device_common-201208b201b9dfe79d7469b73c1b48b6a3e8b21f.tar.bz2 |
libbt: Add support for board-specific configuration
* Set with BOARD_BLUEDROID_VENDOR_CONF
Change-Id: Ia657da71d0e3dad670def517fe3246556f8f6d5a
Diffstat (limited to 'libbt')
-rw-r--r-- | libbt/vnd_buildcfg.mk | 4 |
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 |