2013-10-30 14:47:22

by Jerzy Kasenberg

[permalink] [raw]
Subject: [PATCH] android/client: Define Android version for host

This patch defines PLATFORM_SDK_VERSION like it is handled in
Android.mk. This value corresponds to current copy of headers
from Android committed to bluez.
---
android/Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/android/Makefile.am b/android/Makefile.am
index 5690e93..de27dcf 100644
--- a/android/Makefile.am
+++ b/android/Makefile.am
@@ -61,7 +61,8 @@ android_haltest_SOURCES = android/client/haltest.c \

android_haltest_LDADD = android/libhal-internal.la

-android_haltest_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/android
+android_haltest_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/android \
+ -DPLATFORM_SDK_VERSION=18

android_haltest_LDFLAGS = -pthread

--
1.7.9.5



2013-10-30 15:05:40

by Johan Hedberg

[permalink] [raw]
Subject: Re: [PATCH] android/client: Define Android version for host

Hi Jerzy,

On Wed, Oct 30, 2013, Jerzy Kasenberg wrote:
> This patch defines PLATFORM_SDK_VERSION like it is handled in
> Android.mk. This value corresponds to current copy of headers
> from Android committed to bluez.
> ---
> android/Makefile.am | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)

Applied. Thanks.

Johan