On 10/30/2019 11:04 AM, Andrew F. Davis wrote:
On 10/29/19 9:53 AM, Eric Ruei wrote:
- Replace pvr_wlegl with wayland-egl in the LDFLAGS string

Signed-off-by: Eric Ruei <[email protected]>
---
  ...am-update-LDFLAGS-for-Mesa-based-EGL.patch | 32 +++++++++++++++++++
  .../omapdrmtest/omapdrmtest_1.0.0.bb          |  3 +-
  2 files changed, 34 insertions(+), 1 deletion(-)
  create mode 100644 
meta-arago-extras/recipes-graphics/omapdrmtest/files/0001-util-Makefile.am-update-LDFLAGS-for-Mesa-based-EGL.patch

diff --git 
a/meta-arago-extras/recipes-graphics/omapdrmtest/files/0001-util-Makefile.am-update-LDFLAGS-for-Mesa-based-EGL.patch
 
b/meta-arago-extras/recipes-graphics/omapdrmtest/files/0001-util-Makefile.am-update-LDFLAGS-for-Mesa-based-EGL.patch
new file mode 100644
index 00000000..4774425f
--- /dev/null
+++ 
b/meta-arago-extras/recipes-graphics/omapdrmtest/files/0001-util-Makefile.am-update-LDFLAGS-for-Mesa-based-EGL.patch
@@ -0,0 +1,32 @@
+From 06b21346d662209f5ea9816f408f9f883b775d60 Mon Sep 17 00:00:00 2001
+From: Eric Ruei <[email protected]>
+Date: Mon, 28 Oct 2019 09:43:47 -0400
+Subject: [PATCH] util: Makefile.am: update LDFLAGS for Mesa-based EGL
+
+- replace pvr_wlegl with wayland-egl
+
+Upstream-Status: Pending


Who owns the omapdrmtest repo? This should be a trivial fix to get in.

Andrew


Agree. I just want to get the initial patch in and I shall work on those issues.

Eric



+Signed-off-by: Eric Ruei <[email protected]>
+---
+ util/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+ mode change 100644 => 100755 util/Makefile.am
+
+diff --git a/util/Makefile.am b/util/Makefile.am
+old mode 100644
+new mode 100755
+index 2bfcb5e..fdeb877
+--- a/util/Makefile.am
++++ b/util/Makefile.am
+@@ -37,7 +37,7 @@ endif
+ if ENABLE_WAYLAND
+ libutil_la_SOURCES += display-wayland.c wayland-drm-protocol.c 
viewporter-protocol.c
+ libutil_la_CFLAGS = @DRM_CFLAGS@
+-libutil_la_LDFLAGS = -lwayland-client -lwayland-cursor -ldrm -ldrm_omap 
-lpthread -lpvr_wlegl -lavcodec
++libutil_la_LDFLAGS = -lwayland-client -lwayland-cursor -ldrm -ldrm_omap 
-lpthread -lwayland-egl -lavcodec
+
+ endif
+
+--
+2.17.1
+
diff --git 
a/meta-arago-extras/recipes-graphics/omapdrmtest/omapdrmtest_1.0.0.bb 
b/meta-arago-extras/recipes-graphics/omapdrmtest/omapdrmtest_1.0.0.bb
index 079663e7..bb166b74 100644
--- a/meta-arago-extras/recipes-graphics/omapdrmtest/omapdrmtest_1.0.0.bb
+++ b/meta-arago-extras/recipes-graphics/omapdrmtest/omapdrmtest_1.0.0.bb
@@ -9,7 +9,7 @@ COMPATIBLE_MACHINE = "omap-a15|ti43x"
inherit autotools pkgconfig -PR = "r28"
+PR = "r29"
  SRCREV = "20338b9f575ffe9c18c12bbed41c16069d27ccf4"
EXTRA_OEMAKE = "CC="${CC}""
@@ -17,6 +17,7 @@ TARGET_CC_ARCH += "${LDFLAGS}"
SRC_URI = "git://git.ti.com/glsdk/omapdrmtest.git;protocol=git \
          file://0001-Makefile.am-lblah-flags-belong-to-LDADD-not-LDFLAGS.patch 
\
+       file://0001-util-Makefile.am-update-LDFLAGS-for-Mesa-based-EGL.patch \
  "
S = "${WORKDIR}/git"


_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to