mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-14 01:08:23 +01:00
b4357af03b
The sunxi-mali repository includes a test application, enable support for building and generating a new package (sunxi-mali-test) so it can be included in an image at the user's discretion. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
29 lines
725 B
Diff
29 lines
725 B
Diff
From 054886253f4f559b351a94e1e6ebfd5eb504461f Mon Sep 17 00:00:00 2001
|
|
From: Trevor Woerner <twoerner@gmail.com>
|
|
Date: Thu, 24 Sep 2015 23:38:11 -0400
|
|
Subject: [PATCH] fix test build
|
|
|
|
Allow the test application to build and link successfully.
|
|
|
|
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
|
|
---
|
|
test/Makefile | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/test/Makefile b/test/Makefile
|
|
index 700416e..51481c9 100644
|
|
--- a/test/Makefile
|
|
+++ b/test/Makefile
|
|
@@ -5,7 +5,7 @@ CFLAGS ?= -Wall
|
|
all: test
|
|
|
|
test: ../config.mk test.c
|
|
- $(CC) $(CFLAGS) -o $@ test.c -lEGL -lGLESv2
|
|
+ $(CC) $(CFLAGS) -I../include -L../../image/usr/lib -o $@ test.c -lEGL -lGLESv2 -lX11
|
|
|
|
clean:
|
|
rm -f test
|
|
--
|
|
2.6.0.rc3
|
|
|