diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-01-14 17:24:21 +0800 |
---|---|---|
committer | Jaikumar Ganesh <jaikumar@google.com> | 2011-05-31 20:38:31 -0700 |
commit | 7b7c766845e9c9c190a0b278d882fd61fbdaac03 (patch) | |
tree | 384deb1edb56c117c7769a54ab85a11ffbdb34ab | |
parent | b858c29f77cbcfa93d0bde5f3392d1604e0f43ec (diff) | |
download | bluez-7b7c766845e9c9c190a0b278d882fd61fbdaac03.tar.gz |
Add make file to build bccmd utility for CSR bluetooth modules
This patch adds make file to support building bccmd utility,
which is needed by CSR bluetooth modules.
To build bccmd utility, set BOARD_HAVE_BLUETOOTH_CSR to be true.
Change-Id: I8012688cdbc3846c500eafce5831e4c74d3b3095
-rwxr-xr-x | tools/Android.mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tools/Android.mk b/tools/Android.mk index 0ccc9f5a..ac4c2e78 100755 --- a/tools/Android.mk +++ b/tools/Android.mk @@ -185,3 +185,33 @@ LOCAL_MODULE:=rfcomm include $(BUILD_EXECUTABLE) +ifeq ($(BOARD_HAVE_BLUETOOTH_CSR),true) +# +# bccmd +# + +include $(CLEAR_VARS) + +LOCAL_SRC_FILES:= \ + bccmd.c \ + csr.c \ + csr_hci.c \ + csr_bcsp.c \ + csr_h4.c \ + csr_3wire.c \ + ubcsp.c + +LOCAL_CFLAGS:= \ + -DVERSION=\"4.93\" + +LOCAL_C_INCLUDES:=\ + $(LOCAL_PATH)/../lib \ + $(LOCAL_PATH)/../src \ + +LOCAL_SHARED_LIBRARIES := \ + libbluetooth libbluetoothd + +LOCAL_MODULE:=bccmd + +include $(BUILD_EXECUTABLE) +endif |