Skip to content

RFC Enable building HAL with autotools

Luiz Augusto von Dentz linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest9 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9android: Add hardware/hardware.handroid/hardware/hardware.h+227 -00 replies
2/9android: Add hardware/bluetooth.handroid/hardware/bluetooth.h+468 -00 replies
3/9android: Add hardware/bt_sock.handroid/hardware/bt_sock.h+58 -00 replies
4/9android: Add cutils/log.handroid/cutils/log.h+34 -00 replies
5/9android: Add cutils/properties.handroid/cutils/properties.h+65 -00 replies
6/9build: Enable building HAL as libbt-internal.laMakefile.android+6 -00 replies
7/9android: Fix building with local cutils/log.handroid/hal_bluetooth.c android/hal_bt_sock.c+27 -272 replies
8/9android: Fix build error when compiling with autotoolsandroid/hal_bt_sock.c+2 -00 replies
9/9android: Fix build error with autotoolsandroid/hal_bluetooth.c+0 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/9] Enable building HAL with autotools

From: Luiz Augusto von Dentz <[email protected]>

This patchset creates a bunch of local headers necessary to implement the android HAL, the headers are modified so just the bare minimal to build is implemented.

This effort is an attempt to enable the possibility to compile and test the HAL interface in non-android environment by linking with libbt-internal.la, for android build and environment nothing changes.

Luiz Augusto von Dentz (9):
android: Add hardware/hardware.h
android: Add hardware/bluetooth.h
android: Add hardware/bt_sock.h
android: Add cutils/log.h
android: Add cutils/properties.h
build: Enable building HAL as libbt-internal.la
android: Fix building with local cutils/log.h
android: Fix build error when compiling with autotools
android: Fix build error with autotools

 Makefile.android             |   6 +
 android/cutils/log.h         |  34 ++++
 android/cutils/properties.h  |  65 ++++++
 android/hal_bluetooth.c      |  53 +++--
 android/hal_bt_sock.c        |   4 +-
 android/hardware/bluetooth.h | 468 +++++++++++++++++++++++++++++++++++++++++++
 android/hardware/bt_sock.h   |  58 ++++++
 android/hardware/hardware.h  | 227 +++++++++++++++++++++
 8 files changed, 887 insertions(+), 28 deletions(-)
 create mode 100644 android/cutils/log.h
 create mode 100644 android/cutils/properties.h
 create mode 100644 android/hardware/bluetooth.h
 create mode 100644 android/hardware/bt_sock.h
 create mode 100644 android/hardware/hardware.h
Signature · 1 line
1.8.3.1