diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2013-03-14 14:50:50 -0300 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2013-03-26 09:20:45 -0300 |
| commit | b00ad51b3f15143efcce6f77de810a004ef859a8 (patch) | |
| tree | 1224579858e7a6223fbd12fe2cfa09d05e7a95ce | |
| parent | 36a0d042377aadc3f8cea4baf42080f57a1929eb (diff) | |
| download | meta-fsl-arm-b00ad51b3f15143efcce6f77de810a004ef859a8.tar.gz | |
gpu-viv-bin-mx6q: Fix conflicting type definition in HAL header
Change-Id: I37567a888ee02bfb55a34f36fe623938f7a07c18
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| -rw-r--r-- | recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 6 | ||||
| -rw-r--r-- | recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/fix-conflicting-TLS-definition.patch | 31 |
2 files changed, 32 insertions, 5 deletions
diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc index e0a8fb9..80ab5e4 100644 --- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc +++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | |||
| @@ -14,6 +14,7 @@ inherit fsl-eula-unpack | |||
| 14 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true \ | 14 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true \ |
| 15 | file://0001-change-header-path-to-HAL.patch \ | 15 | file://0001-change-header-path-to-HAL.patch \ |
| 16 | file://gc_hal_eglplatform-remove-xlib-undefs.patch \ | 16 | file://gc_hal_eglplatform-remove-xlib-undefs.patch \ |
| 17 | file://fix-conflicting-TLS-definition.patch \ | ||
| 17 | " | 18 | " |
| 18 | 19 | ||
| 19 | GPU_XLIBS = "libegl-x11-mx6 libegl-x11-mx6-dev libegl-x11-mx6-dbg \ | 20 | GPU_XLIBS = "libegl-x11-mx6 libegl-x11-mx6-dev libegl-x11-mx6-dbg \ |
| @@ -30,7 +31,6 @@ GPU_DFBLIBS = "libegl-dfb-mx6 libegl-dfb-mx6-dev libegl-dfb-mx6-dbg \ | |||
| 30 | PACKAGES =+ "libclc-mx6 libclc-mx6-dev libclc-mx6-dbg \ | 31 | PACKAGES =+ "libclc-mx6 libclc-mx6-dev libclc-mx6-dbg \ |
| 31 | libgles-mx6 libgles-mx6-dev libgles-mx6-dbg \ | 32 | libgles-mx6 libgles-mx6-dev libgles-mx6-dbg \ |
| 32 | libgles2-mx6 libgles2-mx6-dev libgles2-mx6-dbg \ | 33 | libgles2-mx6 libgles2-mx6-dev libgles2-mx6-dbg \ |
| 33 | libgl-mx6 libgl-mx6-dev libgl-mx6-dbg \ | ||
| 34 | libglslc-mx6 libglslc-mx6-dev libglslc-mx6-dbg \ | 34 | libglslc-mx6 libglslc-mx6-dev libglslc-mx6-dbg \ |
| 35 | libopencl-mx6 libopencl-mx6-dev libopencl-mx6-dbg \ | 35 | libopencl-mx6 libopencl-mx6-dev libopencl-mx6-dbg \ |
| 36 | libopenvg-mx6 libopenvg-mx6-dev libopenvg-mx6-dbg \ | 36 | libopenvg-mx6 libopenvg-mx6-dev libopenvg-mx6-dbg \ |
| @@ -134,10 +134,6 @@ FILES_libgles2-mx6-dev = "${includedir}/GLES2 ${libdir}/libGLESv2${SOLIBSDEV}" | |||
| 134 | FILES_libgles2-mx6-dbg = "${libdir}/.debug/libGLESv2${SOLIBS}" | 134 | FILES_libgles2-mx6-dbg = "${libdir}/.debug/libGLESv2${SOLIBS}" |
| 135 | RDEPENDS_libgles2-mx6 = "libglslc-mx6" | 135 | RDEPENDS_libgles2-mx6 = "libglslc-mx6" |
| 136 | 136 | ||
| 137 | FILES_libgl-mx6 = "${libdir}/libGL${REALSOLIBS}" | ||
| 138 | FILES_libgl-mx6-dev = "${includedir}/GL ${libdir}/libGL${SOLIBSDEV}" | ||
| 139 | FILES_libgl-mx6-dbg = "${libdir}/.debug/libGL${SOLIBS}" | ||
| 140 | |||
| 141 | FILES_libglslc-mx6 = "${libdir}/libGLSLC${SOLIBS}" | 137 | FILES_libglslc-mx6 = "${libdir}/libGLSLC${SOLIBS}" |
| 142 | FILES_libglslc-mx6-dev = "${includedir}/CL ${libdir}/libGLSLC${SOLIBSDEV}" | 138 | FILES_libglslc-mx6-dev = "${includedir}/CL ${libdir}/libGLSLC${SOLIBSDEV}" |
| 143 | FILES_libglslc-mx6-dbg = "${libdir}/.debug/libGLSLC${SOLIBS}" | 139 | FILES_libglslc-mx6-dbg = "${libdir}/.debug/libGLSLC${SOLIBS}" |
diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/fix-conflicting-TLS-definition.patch b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/fix-conflicting-TLS-definition.patch new file mode 100644 index 0000000..3eac116 --- /dev/null +++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/fix-conflicting-TLS-definition.patch | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | Avoid conflicting types with Xorg newer code | ||
| 2 | |||
| 3 | Upstream-Status: Pending | ||
| 4 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
| 5 | |||
| 6 | Index: gpu-viv-bin-mx6q-1.1.0/usr/include/HAL/gc_hal_base.h | ||
| 7 | =================================================================== | ||
| 8 | --- gpu-viv-bin-mx6q-1.1.0.orig/usr/include/HAL/gc_hal_base.h | ||
| 9 | +++ gpu-viv-bin-mx6q-1.1.0/usr/include/HAL/gc_hal_base.h | ||
| 10 | @@ -101,7 +101,7 @@ extern gcsPLS gcPLS; | ||
| 11 | typedef struct _gcsTLS * gcsTLS_PTR; | ||
| 12 | |||
| 13 | typedef void (* gctTLS_DESTRUCTOR) ( | ||
| 14 | - gcsTLS_PTR TLS | ||
| 15 | + gcsTLS_PTR pTLS | ||
| 16 | ); | ||
| 17 | |||
| 18 | typedef struct _gcsTLS | ||
| 19 | @@ -648,10 +648,10 @@ gcoOS_SetPLSValue( | ||
| 20 | /* Get access to the thread local storage. */ | ||
| 21 | gceSTATUS | ||
| 22 | gcoOS_GetTLS( | ||
| 23 | - OUT gcsTLS_PTR * TLS | ||
| 24 | + OUT gcsTLS_PTR * pTLS | ||
| 25 | ); | ||
| 26 | |||
| 27 | - /* Copy the TLS from a source thread. */ | ||
| 28 | + /* Copy the pTLS from a source thread. */ | ||
| 29 | gceSTATUS gcoOS_CopyTLS(IN gcsTLS_PTR Source); | ||
| 30 | |||
| 31 | /* Destroy the objects associated with the current thread. */ | ||
