summaryrefslogtreecommitdiffstats
path: root/include/buildcfg.mk
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2012-08-16 13:17:55 -0700
committerWink Saville <wink@google.com>2012-08-16 17:05:16 -0700
commit127248594c6b24235aa233237d5cd27cb584d6d8 (patch)
tree5676e8241cc2c798250e24990a9eaf2d438a7ff2 /include/buildcfg.mk
parent815ccf47a118e907372223970cf44024e9689f43 (diff)
downloadexternal_bluetooth_bluedroid-127248594c6b24235aa233237d5cd27cb584d6d8.zip
external_bluetooth_bluedroid-127248594c6b24235aa233237d5cd27cb584d6d8.tar.gz
external_bluetooth_bluedroid-127248594c6b24235aa233237d5cd27cb584d6d8.tar.bz2
Add support for per device bluetooth configuration.
Rather than using a text file and generating each buildcfg.h file per device bdroid_buildcfg.h which supplies device specific values and then bt_target.h will supply common values. Change-Id: I12cb5408729c3e076562a292204f07a0c4b52628
Diffstat (limited to 'include/buildcfg.mk')
-rw-r--r--include/buildcfg.mk16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/buildcfg.mk b/include/buildcfg.mk
deleted file mode 100644
index 7d1562e..0000000
--- a/include/buildcfg.mk
+++ /dev/null
@@ -1,16 +0,0 @@
-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
-
-$(GEN): PRIVATE_PATH := $(call my-dir)
-$(GEN): PRIVATE_CUSTOM_TOOL = $(TOOL) $< $@
-$(GEN): $(SRC) $(TOOL)
- $(transform-generated-source)
-
-LOCAL_GENERATED_SOURCES += $(GEN)