From f8517afc7a5ada4538b3b7d397fa32586d57ffe5 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Wed, 15 Jul 2015 17:14:27 -0300 Subject: Move meta-fsl-arm content to layer root The meta-fsl-arm is going to be used as the base for this layer. It contains a clean history and allowing a more granullar set of changes. This commit is just a rename of all contents of meta-fsl-arm subdirectory to this layer's root, subsequent changes are based on top of that. Signed-off-by: Otavio Salvador --- recipes-graphics/amd-gpu-x11-bin/files/egl.pc | 11 +++++ .../files/fix-linux-build-check.patch | 54 ++++++++++++++++++++++ recipes-graphics/amd-gpu-x11-bin/files/glesv2.pc | 11 +++++ 3 files changed, 76 insertions(+) create mode 100644 recipes-graphics/amd-gpu-x11-bin/files/egl.pc create mode 100644 recipes-graphics/amd-gpu-x11-bin/files/fix-linux-build-check.patch create mode 100644 recipes-graphics/amd-gpu-x11-bin/files/glesv2.pc (limited to 'recipes-graphics/amd-gpu-x11-bin/files') diff --git a/recipes-graphics/amd-gpu-x11-bin/files/egl.pc b/recipes-graphics/amd-gpu-x11-bin/files/egl.pc new file mode 100644 index 00000000..3d2ab5db --- /dev/null +++ b/recipes-graphics/amd-gpu-x11-bin/files/egl.pc @@ -0,0 +1,11 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=/usr/lib +includedir=/usr/include + +Name: egl +Description: AMD EGL library +Requires.private: +Version: 8.0 +Libs: -L${libdir} -lEGL +Cflags: -I${includedir} diff --git a/recipes-graphics/amd-gpu-x11-bin/files/fix-linux-build-check.patch b/recipes-graphics/amd-gpu-x11-bin/files/fix-linux-build-check.patch new file mode 100644 index 00000000..946bfac7 --- /dev/null +++ b/recipes-graphics/amd-gpu-x11-bin/files/fix-linux-build-check.patch @@ -0,0 +1,54 @@ +diff -Nur amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/EGL/eglext.h amd-gpu-x11-bin-mx51-11.09.01/usr/include/EGL/eglext.h +--- amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/EGL/eglext.h 2012-08-18 12:43:19.431788396 -0300 ++++ amd-gpu-x11-bin-mx51-11.09.01/usr/include/EGL/eglext.h 2012-08-18 12:43:50.799909873 -0300 +@@ -164,11 +164,11 @@ + * nanoseconds (unadjusted standard time). Here, it is defined as + * appropriate for an ISO C compiler. + */ +-#ifndef _LINUX ++#ifndef __linux__ + typedef uint64_t EGLTimeKHR; +-#else // _LINUX ++#else // __linux__ + typedef unsigned long long EGLTimeKHR; +-#endif // _LINUX ++#endif // __linux__ + + #define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR 0xFFF8 + #define EGL_SYNC_STATUS_KHR 0xFFF7 +diff -Nur amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/EGL/eglfslext.h amd-gpu-x11-bin-mx51-11.09.01/usr/include/EGL/eglfslext.h +--- amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/EGL/eglfslext.h 2012-08-18 12:43:19.431788396 -0300 ++++ amd-gpu-x11-bin-mx51-11.09.01/usr/include/EGL/eglfslext.h 2012-08-18 12:43:50.759785714 -0300 +@@ -65,7 +65,7 @@ + } eglYUVInfo; + #endif + +-#ifdef _LINUX ++#ifdef __linux__ + struct EGLImageInfoFSL + { + void *mem_virt[3]; //virtual addresses for Y/U/V planes +diff -Nur amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/VG/ext.h amd-gpu-x11-bin-mx51-11.09.01/usr/include/VG/ext.h +--- amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/VG/ext.h 2012-08-18 12:43:19.431788396 -0300 ++++ amd-gpu-x11-bin-mx51-11.09.01/usr/include/VG/ext.h 2012-08-18 12:43:50.799909873 -0300 +@@ -15,7 +15,7 @@ + extern "C" { + #endif + +-#ifndef _LINUX ++#ifndef __linux__ + #include + #else + #include "openvg.h" +diff -Nur amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/VG/openvg.h amd-gpu-x11-bin-mx51-11.09.01/usr/include/VG/openvg.h +--- amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/VG/openvg.h 2012-08-18 12:43:19.431788396 -0300 ++++ amd-gpu-x11-bin-mx51-11.09.01/usr/include/VG/openvg.h 2012-08-18 12:43:50.799909873 -0300 +@@ -449,7 +449,7 @@ + # endif + # elif defined(__APPLE__) + # define VG_API_CALL extern +-# elif defined(_LINUX) ++# elif defined(__linux__) + # if defined (OPENVG_DLL_EXPORTS) + # define VG_API_CALL extern + # else diff --git a/recipes-graphics/amd-gpu-x11-bin/files/glesv2.pc b/recipes-graphics/amd-gpu-x11-bin/files/glesv2.pc new file mode 100644 index 00000000..62e1cb65 --- /dev/null +++ b/recipes-graphics/amd-gpu-x11-bin/files/glesv2.pc @@ -0,0 +1,11 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=/usr/lib +includedir=/usr/include + +Name: glesv2 +Description: AMD OpenGL ES 2.0 library +Requires.private: +Version: 8.0 +Libs: -L${libdir} -lGLESv2 -lEGL +Cflags: -I${includedir} -- cgit v1.2.3-54-g00ecf