diff options
| author | Steve Kondik <shade@chemlab.org> | 2012-12-03 02:34:56 -0800 |
|---|---|---|
| committer | Rashed Abdel-Tawab <rashed@linux.com> | 2015-10-17 23:52:31 -0400 |
| commit | 8e215c33a7357d59a50b20d4127446ffe728736d (patch) | |
| tree | 0228f95da941d86a2d5e6f7e6714d3cc60690a17 | |
| parent | 11ea39f59cf1bbb21f60495a48be6faba9845092 (diff) | |
| download | android_hardware_broadcom_libbt-8e215c33a7357d59a50b20d4127446ffe728736d.tar.gz android_hardware_broadcom_libbt-8e215c33a7357d59a50b20d4127446ffe728736d.tar.bz2 android_hardware_broadcom_libbt-8e215c33a7357d59a50b20d4127446ffe728736d.zip | |
libbt: Add support for board-specific configuration
* Set with BOARD_BLUEDROID_VENDOR_CONF
Change-Id: Ia657da71d0e3dad670def517fe3246556f8f6d5a
| -rw-r--r-- | vnd_buildcfg.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vnd_buildcfg.mk b/vnd_buildcfg.mk index 42349ba..a46a11f 100644 --- a/vnd_buildcfg.mk +++ b/vnd_buildcfg.mk @@ -1,10 +1,14 @@ generated_sources := $(local-generated-sources-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 := $(generated_sources)/vnd_buildcfg.h TOOL := $(LOCAL_PATH)/gen-buildcfg.sh |
