From: Andrei Emeltchenko <Andrei.Emeltchenko.news@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH] android: Add Android Makefile for btmon
Date: Tue, 5 Nov 2013 11:46:52 +0200 [thread overview]
Message-ID: <1383644812-24537-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> (raw)
From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Build btmon for Android image. btmon requires fresh bionic to build.
---
android/Android.mk | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/android/Android.mk b/android/Android.mk
index 77fd5a0..86af7b6 100644
--- a/android/Android.mk
+++ b/android/Android.mk
@@ -145,3 +145,58 @@ LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := haltest
include $(BUILD_EXECUTABLE)
+
+#
+# btmon
+#
+
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := \
+ ../monitor/main.c \
+ ../monitor/bt.h \
+ ../monitor/mainloop.h \
+ ../monitor/mainloop.c \
+ ../monitor/display.h \
+ ../monitor/display.c \
+ ../monitor/hcidump.h \
+ ../monitor/hcidump.c \
+ ../monitor/btsnoop.h \
+ ../monitor/btsnoop.c \
+ ../monitor/control.h \
+ ../monitor/control.c \
+ ../monitor/packet.h \
+ ../monitor/packet.c \
+ ../monitor/l2cap.h \
+ ../monitor/l2cap.c \
+ ../monitor/uuid.h \
+ ../monitor/uuid.c \
+ ../monitor/sdp.h \
+ ../monitor/sdp.c \
+ ../monitor/vendor.h \
+ ../monitor/vendor.c \
+ ../monitor/lmp.h \
+ ../monitor/lmp.c \
+ ../monitor/crc.h \
+ ../monitor/crc.c \
+ ../monitor/ll.h \
+ ../monitor/ll.c \
+ ../lib/hci.c \
+ ../lib/bluetooth.c \
+
+LOCAL_C_INCLUDES := \
+ $(LOCAL_PATH)/.. \
+ $(LOCAL_PATH)/../lib \
+ $(LOCAL_PATH)/../src/shared \
+
+LOCAL_C_INCLUDES += \
+ $(call include-path-for, glib) \
+ $(call include-path-for, glib)/glib \
+
+LOCAL_CFLAGS := $(BLUEZ_COMMON_CFLAGS)
+
+LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
+LOCAL_MODULE_TAGS := eng
+LOCAL_MODULE := btmon
+
+include $(BUILD_EXECUTABLE)
--
1.7.10.4
next reply other threads:[~2013-11-05 9:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-05 9:46 Andrei Emeltchenko [this message]
2013-11-05 10:31 ` [PATCH] android: Add Android Makefile for btmon Johan Hedberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1383644812-24537-1-git-send-email-Andrei.Emeltchenko.news@gmail.com \
--to=andrei.emeltchenko.news@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox