diff options
author | Wink Saville <wink@google.com> | 2012-08-16 13:17:55 -0700 |
---|---|---|
committer | Wink Saville <wink@google.com> | 2012-08-16 17:05:16 -0700 |
commit | 127248594c6b24235aa233237d5cd27cb584d6d8 (patch) | |
tree | 5676e8241cc2c798250e24990a9eaf2d438a7ff2 /Android.mk | |
parent | 815ccf47a118e907372223970cf44024e9689f43 (diff) | |
download | external_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 'Android.mk')
-rw-r--r-- | Android.mk | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -1,3 +1,17 @@ -ifneq ($(TARGET_SIMULATOR),true) - include $(call all-subdir-makefiles) +LOCAL_PATH := $(call my-dir) + +# Setup bdroid local make variables for handling configuration +ifneq ($(BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR),) + bdroid_C_INCLUDES := $(BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR) + bdroid_CFLAGS := -DHAS_BDROID_BUILDCFG +else + $(warning NO BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR, using only generic configuration) + bdroid_C_INCLUDES := + bdroid_CFLAGS := -DHAS_NO_BDROID_BUILDCFG endif + +include $(call all-subdir-makefiles) + +# Cleanup our locals +bdroid_C_INCLUDES := +bdroid_CFLaGS := |