Skip to contentSkip to conversation

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

PATCH Superseded [email protected] 2 participants 2 messages Jan 8, 2015 – Jan 9, 2015 Library code

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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

From: Tim Gore <[email protected]>

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.

---
 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
#1 lore raw
Quoted 4 lines · On 8 January 2015 at 14:18, <[email protected]> wrote:

From: Tim Gore <[email protected]>

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?

Quoted 20 lines
---
 lib/Android.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/Android.mk +1 -2
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
 
--
Quoted 2 lines

2.2.1

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