Skip to contentSkip to conversation

lib/Android.mk: add -DHAVE_LINUX_KD_H to fix android build

PATCH New [email protected] 1 participant 1 message Jan 12, 2015 Library code

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 lib/Android.mk: add -DHAVE_LINUX_KD_H to fix android build

From: Tim Gore <[email protected]>

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.

---
 lib/Android.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/Android.mk +1 -1
index 548bca4..2251c15 100644
@@ -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
 
Signature · 6 lines
2.2.1

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx