summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeun young Park <keunyoung@google.com>2012-08-01 14:14:34 -0700
committerKeun young Park <keunyoung@google.com>2012-08-01 14:18:47 -0700
commit52765116ccd66f63d132dc8fa50d367bd0f3cb0f (patch)
treee9b9e0e4f021ecd763b975441e7cde56c2b4d699
parent80a0ccffa9ca12baa94006f2ccd6c5080fe9ceb5 (diff)
downloadexternal_bluetooth_bluedroid-52765116ccd66f63d132dc8fa50d367bd0f3cb0f.zip
external_bluetooth_bluedroid-52765116ccd66f63d132dc8fa50d367bd0f3cb0f.tar.gz
external_bluetooth_bluedroid-52765116ccd66f63d132dc8fa50d367bd0f3cb0f.tar.bz2
choose generic one if there is no board specific configuration
- fix PDK mini builds Change-Id: Ic5cd4975210f70d028938b1f306ea38de27191a4
-rw-r--r--include/buildcfg.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/buildcfg.mk b/include/buildcfg.mk
index 1623c95..7d1562e 100644
--- a/include/buildcfg.mk
+++ b/include/buildcfg.mk
@@ -1,6 +1,10 @@
intermediates := $(local-intermediates-dir)
SRC := $(call my-dir)/$(addprefix bdroid_, $(addsuffix .txt,$(basename $(TARGET_DEVICE))))
+ifeq (,$(wildcard $(SRC)))
+# configuration file does not exist. Use default one
+SRC := $(call my-dir)/bdroid_generic.txt
+endif
GEN := $(intermediates)/buildcfg.h
TOOL := $(call my-dir)/../tools/gen-buildcfg.sh