All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v2] lib/Android.mk: add -DHAVE_LINUX_KD_H to fix android build
@ 2015-01-12  9:50 tim.gore
  0 siblings, 0 replies; only message in thread
From: tim.gore @ 2015-01-12  9:50 UTC (permalink / raw)
  To: intel-gfx; +Cc: thomas.wood

From: Tim Gore <tim.gore@intel.com>

commit cf93bc8df9f5f94a0aedc8b52bad0ad4e036737c by Alan Coopersmith
(introduced to enable solaris builds) reqires HAVE_LINUX_KD_H to be set
in order for kd.h to get picked up in igt_kms.c. This is not currently
set in the Android makefile so Android builds are broken.

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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-12  9:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-12  9:50 [PATCH i-g-t v2] lib/Android.mk: add -DHAVE_LINUX_KD_H to fix android build tim.gore

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.