diff mbox

[i-g-t] lib/Android.mk: add -DHAVE_LINUX_KD_H to fix android build

Message ID 1420726703-15630-1-git-send-email-tim.gore@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

tim.gore@intel.com Jan. 8, 2015, 2:18 p.m. UTC
From: Tim Gore <tim.gore@intel.com>

A recent change to igt_kms.c reqires HAVE_LINUX_KD_H to be set
in order to pick up the kd.h header file.

Signed-off-by: Tim Gore <tim.gore@intel.com>
---
 lib/Android.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Thomas Wood Jan. 9, 2015, 2:43 p.m. UTC | #1
On 8 January 2015 at 14:18,  <tim.gore@intel.com> wrote:
> From: Tim Gore <tim.gore@intel.com>
>
> A recent change to igt_kms.c reqires HAVE_LINUX_KD_H to be set
> in order to pick up the kd.h header file.

Could you include a bit more detail about which commit introduced this
change and why?


>
> Signed-off-by: Tim Gore <tim.gore@intel.com>
> ---
>  lib/Android.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/Android.mk b/lib/Android.mk
> index 548bca4..2251c15 100644
> --- a/lib/Android.mk
> +++ b/lib/Android.mk
> @@ -24,7 +24,7 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
>
>  LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES
>  LOCAL_CFLAGS += -DHAVE_STRUCT_SYSINFO_TOTALRAM
> -LOCAL_CFLAGS += -DANDROID
> +LOCAL_CFLAGS += -DANDROID -DHAVE_LINUX_KD_H
>  LOCAL_CFLAGS += -std=gnu99
>  LOCAL_MODULE:= libintel_gpu_tools
>
> --
> 2.2.1
>
diff mbox

Patch

diff --git a/lib/Android.mk b/lib/Android.mk
index 548bca4..2251c15 100644
--- a/lib/Android.mk
+++ b/lib/Android.mk
@@ -24,7 +24,7 @@  LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
 
 LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES
 LOCAL_CFLAGS += -DHAVE_STRUCT_SYSINFO_TOTALRAM
-LOCAL_CFLAGS += -DANDROID
+LOCAL_CFLAGS += -DANDROID -DHAVE_LINUX_KD_H
 LOCAL_CFLAGS += -std=gnu99
 LOCAL_MODULE:= libintel_gpu_tools