summaryrefslogtreecommitdiff
path: root/recipes-graphics/mesa/mesa/0001-pkg-config-files-add-tegra-paths.patch
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2019-01-04 13:45:49 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2019-03-06 19:03:31 +0100
commitab205d9308f3f869432d002412a0b11e28606696 (patch)
tree70094628d1f1a53840c62553d81f4f498081be89 /recipes-graphics/mesa/mesa/0001-pkg-config-files-add-tegra-paths.patch
parentb86261ad84a017494219d4e8d6be3162d674ab6d (diff)
apalis/colibri-t20 -t30: drop machines
These machines use an old Nvidia provided downstream kernel 3.1.10. They are no longer compatible with more recent sysroot components, e.g. libc, xserver et. al. The maintenance burden to keep the userspace components in their old version becomes simply too high. Keep using the rocko based 2.8 BSP for these machines. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-graphics/mesa/mesa/0001-pkg-config-files-add-tegra-paths.patch')
-rw-r--r--recipes-graphics/mesa/mesa/0001-pkg-config-files-add-tegra-paths.patch67
1 files changed, 67 insertions, 0 deletions
diff --git a/recipes-graphics/mesa/mesa/0001-pkg-config-files-add-tegra-paths.patch b/recipes-graphics/mesa/mesa/0001-pkg-config-files-add-tegra-paths.patch
new file mode 100644
index 0000000..0637c7f
--- /dev/null
+++ b/recipes-graphics/mesa/mesa/0001-pkg-config-files-add-tegra-paths.patch
@@ -0,0 +1,67 @@
+From 376a4dc8af02b45a79c44000e9d172fd0169d89a Mon Sep 17 00:00:00 2001
+From: Max Krummenacher <max.krummenacher@toradex.com>
+Date: Wed, 19 Sep 2018 15:43:34 +0200
+Subject: [PATCH] pkg config files: add tegra paths
+
+Add the paths to the tegra specific libraries.
+
+Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
+---
+ src/egl/main/egl.pc.in | 2 +-
+ src/mapi/es1api/glesv1_cm.pc.in | 2 +-
+ src/mapi/es2api/glesv2.pc.in | 2 +-
+ src/mesa/gl.pc.in | 2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/egl/main/egl.pc.in b/src/egl/main/egl.pc.in
+index fd6904b..ceaff42 100644
+--- a/src/egl/main/egl.pc.in
++++ b/src/egl/main/egl.pc.in
+@@ -7,6 +7,6 @@ Name: egl
+ Description: Mesa EGL library
+ Requires.private: @GL_PC_REQ_PRIV@
+ Version: @PACKAGE_VERSION@
+-Libs: -L${libdir} -lEGL
++Libs: -L${libdir}/arm-linux-gnueabihf/tegra-egl -L${libdir} -lEGL
+ Libs.private: @GL_PC_LIB_PRIV@
+ Cflags: -I${includedir} @GL_PC_CFLAGS@
+diff --git a/src/mapi/es1api/glesv1_cm.pc.in b/src/mapi/es1api/glesv1_cm.pc.in
+index 0c2fed7..d76f418 100644
+--- a/src/mapi/es1api/glesv1_cm.pc.in
++++ b/src/mapi/es1api/glesv1_cm.pc.in
+@@ -7,6 +7,6 @@ Name: glesv1_cm
+ Description: Mesa OpenGL ES 1.1 CM library
+ Requires.private:
+ Version: @VERSION@
+-Libs: -L${libdir} -lGLESv1_CM
++Libs: -L${libdir}/arm-linux-gnueabihf/tegra-egl -L${libdir} -lGLESv1_CM
+ Libs.private: @GLESv1_CM_PC_LIB_PRIV@
+ Cflags: -I${includedir}
+diff --git a/src/mapi/es2api/glesv2.pc.in b/src/mapi/es2api/glesv2.pc.in
+index e5bf12f..fd1fccc 100644
+--- a/src/mapi/es2api/glesv2.pc.in
++++ b/src/mapi/es2api/glesv2.pc.in
+@@ -7,6 +7,6 @@ Name: glesv2
+ Description: Mesa OpenGL ES 2.0 library
+ Requires.private:
+ Version: @VERSION@
+-Libs: -L${libdir} -lGLESv2
++Libs: -L${libdir}/arm-linux-gnueabihf/tegra-egl -L${libdir} -lGLESv2
+ Libs.private: @GLESv2_PC_LIB_PRIV@
+ Cflags: -I${includedir}
+diff --git a/src/mesa/gl.pc.in b/src/mesa/gl.pc.in
+index 680f742..1416def 100644
+--- a/src/mesa/gl.pc.in
++++ b/src/mesa/gl.pc.in
+@@ -7,7 +7,7 @@ Name: gl
+ Description: Mesa OpenGL library
+ Requires.private: @GL_PC_REQ_PRIV@
+ Version: @PACKAGE_VERSION@
+-Libs: -L${libdir} -l@GL_PKGCONF_LIB@
++Libs: -L${libdir}/arm-linux-gnueabihf/tegra -L${libdir} -l@GL_PKGCONF_LIB@
+ Libs.private: @GL_PC_LIB_PRIV@
+ Cflags: -I${includedir} @GL_PC_CFLAGS@
+ glx_tls: @GLX_TLS@
+--
+2.13.6
+