Skip to contentSkip to conversation

lib/Android.mk: add define of IGT_DATADIR for igt_fb.c

PATCH In review [email protected] 2 participants 2 messages Oct 2, 2014 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/Android.mk: add define of IGT_DATADIR for igt_fb.c

From: Tim Gore <[email protected]>

Since the igt_create_stereo_fb function moved into igt_fb.c we need to add the definition of IGT_DATADIR in the Android makefile in order to build the cairo dependent tests.

---
 lib/Android.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/Android.mk +1 -1
index 5739c80..bd8cf58 100644
@@ -35,7 +35,7 @@ LOCAL_SHARED_LIBRARIES := libpciaccess  \
 ifeq ("${ANDROID_HAS_CAIRO}", "1")
     skip_lib_list :=
     LOCAL_C_INCLUDES += $(ANDROID_BUILD_TOP)/external/cairo-1.12.16/src
-    LOCAL_CFLAGS += -DANDROID_HAS_CAIRO=1
+    LOCAL_CFLAGS += -DANDROID_HAS_CAIRO=1 -DIGT_DATADIR=\".\"
 else
 skip_lib_list := \
     igt_kms.c \
Signature · 1 line
2.1.1
#1 lore raw
Quoted 7 lines · On 2 October 2014 16:26, <[email protected]> wrote:

From: Tim Gore <[email protected]>

Since the igt_create_stereo_fb function moved into igt_fb.c we need to add the definition of IGT_DATADIR in the Android makefile in order to build the cairo dependent tests.

Patch merged, thanks.

Quoted 24 lines
---
 lib/Android.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/Android.mk +1 -2
index 5739c80..bd8cf58 100644
@@ -35,7 +35,7 @@ LOCAL_SHARED_LIBRARIES := libpciaccess  \
 ifeq ("${ANDROID_HAS_CAIRO}", "1")
     skip_lib_list :=
     LOCAL_C_INCLUDES += $(ANDROID_BUILD_TOP)/external/cairo-1.12.16/src
-    LOCAL_CFLAGS += -DANDROID_HAS_CAIRO=1
+    LOCAL_CFLAGS += -DANDROID_HAS_CAIRO=1 -DIGT_DATADIR=\".\"
 else
 skip_lib_list := \
     igt_kms.c \
--

2.1.1

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