* [PATCH v3 BlueZ 1/4] android: Fix build dependency of bluetoothd on target
@ 2013-10-23 8:50 Luiz Augusto von Dentz
2013-10-23 8:50 ` [PATCH v3 BlueZ 2/4] android: Fix build dependency of bluetooth.default.so HAL " Luiz Augusto von Dentz
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Luiz Augusto von Dentz @ 2013-10-23 8:50 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This adds missing headers necessary to build bluetoothd.
---
android/Android.mk | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/android/Android.mk b/android/Android.mk
index 7132279..d67a62d 100644
--- a/android/Android.mk
+++ b/android/Android.mk
@@ -15,9 +15,10 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
main.c \
log.c \
- adapter.c \
- hid.c \
+ adapter.c adapter.h \
+ hid.c hid.h \
ipc.c ipc.h \
+ ../src/sdp.h \
../src/shared/mgmt.c \
../src/shared/util.c \
../src/sdpd-database.c \
--
1.8.3.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH v3 BlueZ 2/4] android: Fix build dependency of bluetooth.default.so HAL on target
2013-10-23 8:50 [PATCH v3 BlueZ 1/4] android: Fix build dependency of bluetoothd on target Luiz Augusto von Dentz
@ 2013-10-23 8:50 ` Luiz Augusto von Dentz
2013-10-23 8:50 ` [PATCH v3 BlueZ 3/4] android: Fix build dependency of haltest " Luiz Augusto von Dentz
2013-10-23 8:50 ` [PATCH v3 BlueZ 4/4] android: Add variable ROOT_PATH to Android.mk Luiz Augusto von Dentz
2 siblings, 0 replies; 4+ messages in thread
From: Luiz Augusto von Dentz @ 2013-10-23 8:50 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This adds missing headers necessary to build bluetooth.default.so
---
android/Android.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/android/Android.mk b/android/Android.mk
index d67a62d..6d707c2 100644
--- a/android/Android.mk
+++ b/android/Android.mk
@@ -66,7 +66,8 @@ include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
- hal-ipc.c \
+ hal.h hal-msg.h hal-log.h \
+ hal-ipc.c hal-ipc.h \
hal-bluetooth.c \
hal-sock.c \
hal-hidhost.c \
--
1.8.3.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v3 BlueZ 3/4] android: Fix build dependency of haltest on target
2013-10-23 8:50 [PATCH v3 BlueZ 1/4] android: Fix build dependency of bluetoothd on target Luiz Augusto von Dentz
2013-10-23 8:50 ` [PATCH v3 BlueZ 2/4] android: Fix build dependency of bluetooth.default.so HAL " Luiz Augusto von Dentz
@ 2013-10-23 8:50 ` Luiz Augusto von Dentz
2013-10-23 8:50 ` [PATCH v3 BlueZ 4/4] android: Add variable ROOT_PATH to Android.mk Luiz Augusto von Dentz
2 siblings, 0 replies; 4+ messages in thread
From: Luiz Augusto von Dentz @ 2013-10-23 8:50 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This adds missing headers necessary to build haltest.
---
android/Android.mk | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/android/Android.mk b/android/Android.mk
index 6d707c2..93dcc23 100644
--- a/android/Android.mk
+++ b/android/Android.mk
@@ -92,11 +92,12 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
client/haltest.c \
- client/pollhandler.c \
- client/terminal.c \
- client/history.c \
- client/textconv.c \
+ client/pollhandler.c client/pollhandler.h \
+ client/terminal.c client/terminal.h \
+ client/history.c client/history.h \
+ client/textconv.c client/textconv.h \
client/tabcompletion.c \
+ client/if-main.h \
client/if-bt.c \
client/if-hh.c \
--
1.8.3.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v3 BlueZ 4/4] android: Add variable ROOT_PATH to Android.mk
2013-10-23 8:50 [PATCH v3 BlueZ 1/4] android: Fix build dependency of bluetoothd on target Luiz Augusto von Dentz
2013-10-23 8:50 ` [PATCH v3 BlueZ 2/4] android: Fix build dependency of bluetooth.default.so HAL " Luiz Augusto von Dentz
2013-10-23 8:50 ` [PATCH v3 BlueZ 3/4] android: Fix build dependency of haltest " Luiz Augusto von Dentz
@ 2013-10-23 8:50 ` Luiz Augusto von Dentz
2 siblings, 0 replies; 4+ messages in thread
From: Luiz Augusto von Dentz @ 2013-10-23 8:50 UTC (permalink / raw)
To: linux-bluetooth
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This makes it simpler to include files from other parts of the code.
---
android/Android.mk | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/android/Android.mk b/android/Android.mk
index 93dcc23..2dffe71 100644
--- a/android/Android.mk
+++ b/android/Android.mk
@@ -1,7 +1,8 @@
LOCAL_PATH := $(call my-dir)
+ROOT_PATH := $(LOCAL_PATH)/..
# Retrieve BlueZ version from configure.ac file
-BLUEZ_VERSION := $(shell grep ^AC_INIT $(LOCAL_PATH)/../configure.ac | cpp -P -D'AC_INIT(_,v)=v')
+BLUEZ_VERSION := $(shell grep ^AC_INIT $(ROOT_PATH)/configure.ac | cpp -P -D'AC_INIT(_,v)=v')
# Specify pathmap for glib
pathmap_INCL += glib:external/bluetooth/glib
@@ -34,9 +35,9 @@ LOCAL_C_INCLUDES := \
$(call include-path-for, glib)/glib \
LOCAL_C_INCLUDES += \
- $(LOCAL_PATH)/../ \
- $(LOCAL_PATH)/../src \
- $(LOCAL_PATH)/../lib \
+ $(ROOT_PATH)/ \
+ $(ROOT_PATH)/src \
+ $(ROOT_PATH)/lib \
LOCAL_CFLAGS := -DVERSION=\"$(BLUEZ_VERSION)\"
@@ -51,9 +52,9 @@ lib_headers := \
sdp_lib.h \
sdp.h \
-$(shell mkdir -p $(LOCAL_PATH)/../lib/bluetooth)
+$(shell mkdir -p $(ROOT_PATH)/lib/bluetooth)
-$(foreach file,$(lib_headers), $(shell ln -sf ../$(file) $(LOCAL_PATH)/../lib/bluetooth/$(file)))
+$(foreach file,$(lib_headers), $(shell ln -sf ../$(file) $(ROOT_PATH)/lib/bluetooth/$(file)))
LOCAL_MODULE := bluetoothd
--
1.8.3.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-10-23 8:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-23 8:50 [PATCH v3 BlueZ 1/4] android: Fix build dependency of bluetoothd on target Luiz Augusto von Dentz
2013-10-23 8:50 ` [PATCH v3 BlueZ 2/4] android: Fix build dependency of bluetooth.default.so HAL " Luiz Augusto von Dentz
2013-10-23 8:50 ` [PATCH v3 BlueZ 3/4] android: Fix build dependency of haltest " Luiz Augusto von Dentz
2013-10-23 8:50 ` [PATCH v3 BlueZ 4/4] android: Add variable ROOT_PATH to Android.mk Luiz Augusto von Dentz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox