summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Gore <tim.gore@intel.com>2015-01-12 09:50:22 +0000
committerThomas Wood <thomas.wood@intel.com>2015-01-15 11:30:39 +0000
commit07e9f3edb9dd8e99c2511b6b8c4cf750a5dbe536 (patch)
tree44a1bcaffe19d702315d7a825d2a6fc87b382288
parent6e2fd6f64d156e9abdb3f4c51e4589fb77ec74dd (diff)
lib/Android.mk: add -DHAVE_LINUX_KD_H to fix android build
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> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
-rw-r--r--lib/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Android.mk b/lib/Android.mk
index 548bca4c..2251c15a 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