summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2015-12-18 10:45:07 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2016-04-19 15:03:24 -0300
commit9da4e87c7fd2090dc17f1e6dbaeb44d4364d08b3 (patch)
tree37accbdbbbb33075ba6f2c5e3f26e18a3d3efbaf
parent0e70e727685ee64d19a47251e7886d7eaed549f6 (diff)
downloadmeta-freescale-9da4e87c7fd2090dc17f1e6dbaeb44d4364d08b3.tar.gz
imx-gpu-viv: Use auto package splitting of .debug files
Since OE-Core:da5ec068 there is the possibility of splitting the .debug files automatically. The imx-gpu-viv does not provide very useful debugging information, due its proprietary nature, so splitting the provided info across multiple packages just makes the debugging harder. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc48
1 files changed, 16 insertions, 32 deletions
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
index e2713c9e..86f88240 100644
--- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
+++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
@@ -23,27 +23,27 @@ inherit fsl-eula-unpack
23 23
24SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" 24SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
25 25
26PACKAGES =+ "libclc-mx6 libclc-mx6-dev libclc-mx6-dbg \ 26PACKAGES =+ "libclc-mx6 libclc-mx6-dev \
27 libgl-mx6 libgl-mx6-dev libgl-mx6-dbg \ 27 libgl-mx6 libgl-mx6-dev \
28 libgles-mx6 libgles-mx6-dev libgles-mx6-dbg \ 28 libgles-mx6 libgles-mx6-dev \
29 libgles2-mx6 libgles2-mx6-dev libgles2-mx6-dbg \ 29 libgles2-mx6 libgles2-mx6-dev \
30 libgles3-mx6-dev \ 30 libgles3-mx6-dev \
31 libglslc-mx6 libglslc-mx6-dev libglslc-mx6-dbg \ 31 libglslc-mx6 libglslc-mx6-dev \
32 libopencl-mx6 libopencl-mx6-dev libopencl-mx6-dbg \ 32 libopencl-mx6 libopencl-mx6-dev \
33 libopenvg-mx6 libopenvg-mx6-dev libopenvg-mx6-dbg \ 33 libopenvg-mx6 libopenvg-mx6-dev \
34 libvdk-mx6 libvdk-mx6-dev libvdk-mx6-dbg \ 34 libvdk-mx6 libvdk-mx6-dev \
35 libegl-mx6 libegl-mx6-dev libegl-mx6-dbg \ 35 libegl-mx6 libegl-mx6-dev \
36 libgal-mx6 libgal-mx6-dev libgal-mx6-dbg \ 36 libgal-mx6 libgal-mx6-dev \
37 libvivante-mx6 libvivante-mx6-dev libvivante-mx6-dbg \ 37 libvivante-mx6 libvivante-mx6-dev \
38 libvivante-dri-mx6 \ 38 libvivante-dri-mx6 \
39 libvsc-mx6 \ 39 libvsc-mx6 \
40 libwayland-viv-mx6 libwayland-viv-mx6-dev libwayland-viv-mx6-dbg \ 40 libwayland-viv-mx6 libwayland-viv-mx6-dev \
41 libgc-wayland-protocol-mx6 libgc-wayland-protocol-mx6-dev libgc-wayland-protocol-mx6-dbg \ 41 libgc-wayland-protocol-mx6 libgc-wayland-protocol-mx6-dev \
42 libwayland-egl-mx6-dev \ 42 libwayland-egl-mx6-dev \
43 imx-gpu-viv-g2d imx-gpu-viv-g2d-dev imx-gpu-viv-g2d-dbg \ 43 imx-gpu-viv-g2d imx-gpu-viv-g2d-dev \
44 imx-gpu-viv-tools \ 44 imx-gpu-viv-tools \
45 imx-gpu-viv-tools-apitrace imx-gpu-viv-tools-apitrace-dbg \ 45 imx-gpu-viv-tools-apitrace \
46 imx-gpu-viv-demos imx-gpu-viv-demos-dbg \ 46 imx-gpu-viv-demos \
47" 47"
48 48
49python __anonymous () { 49python __anonymous () {
@@ -224,17 +224,14 @@ ALLOW_EMPTY_${PN} = "1"
224 224
225FILES_libclc-mx6 = "${libdir}/libCLC${SOLIBS}" 225FILES_libclc-mx6 = "${libdir}/libCLC${SOLIBS}"
226FILES_libclc-mx6-dev = "${includedir}/CL ${libdir}/libCLC${SOLIBSDEV}" 226FILES_libclc-mx6-dev = "${includedir}/CL ${libdir}/libCLC${SOLIBSDEV}"
227FILES_libclc-mx6-dbg = "${libdir}/.debug/libCLC${SOLIBS}"
228 227
229# libEGL.so is used by some demo apps from Freescale 228# libEGL.so is used by some demo apps from Freescale
230INSANE_SKIP_libegl-mx6 += "dev-so" 229INSANE_SKIP_libegl-mx6 += "dev-so"
231FILES_libegl-mx6 = "${libdir}/libEGL${REALSOLIBS} ${libdir}/libEGL${SOLIBSDEV} " 230FILES_libegl-mx6 = "${libdir}/libEGL${REALSOLIBS} ${libdir}/libEGL${SOLIBSDEV} "
232FILES_libegl-mx6-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc" 231FILES_libegl-mx6-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc"
233FILES_libegl-mx6-dbg = "${libdir}/.debug/libEGL${SOLIBS}"
234 232
235FILES_libgal-mx6 = "${libdir}/libGAL${SOLIBS} ${libdir}/libGAL_egl${SOLIBS}" 233FILES_libgal-mx6 = "${libdir}/libGAL${SOLIBS} ${libdir}/libGAL_egl${SOLIBS}"
236FILES_libgal-mx6-dev = "${libdir}/libGAL${SOLIBSDEV} ${includedir}/HAL" 234FILES_libgal-mx6-dev = "${libdir}/libGAL${SOLIBSDEV} ${includedir}/HAL"
237FILES_libgal-mx6-dbg = "${libdir}/.debug/libGAL${SOLIBS}"
238RDEPENDS_libgal-mx6 += "kernel-module-imx-gpu-viv" 235RDEPENDS_libgal-mx6 += "kernel-module-imx-gpu-viv"
239INSANE_SKIP_libgal-mx6 += "build-deps" 236INSANE_SKIP_libgal-mx6 += "build-deps"
240 237
@@ -242,7 +239,6 @@ FILES_libvsc-mx6 = "${libdir}/libVSC${SOLIBS}"
242 239
243FILES_libgl-mx6 = "${libdir}/libGL${REALSOLIBS}" 240FILES_libgl-mx6 = "${libdir}/libGL${REALSOLIBS}"
244FILES_libgl-mx6-dev = "${libdir}/libGL${SOLIBSDEV}" 241FILES_libgl-mx6-dev = "${libdir}/libGL${SOLIBSDEV}"
245FILES_libgl-mx6-dbg = "${libdir}/.debug/libGL.${SOLIBS}"
246# Includes GL headers from mesa 242# Includes GL headers from mesa
247RDEPENDS_libgl-mx6-dev += "libgl-mesa-dev" 243RDEPENDS_libgl-mx6-dev += "libgl-mesa-dev"
248 244
@@ -250,13 +246,11 @@ RDEPENDS_libgl-mx6-dev += "libgl-mesa-dev"
250INSANE_SKIP_libgles-mx6 += "dev-so" 246INSANE_SKIP_libgles-mx6 += "dev-so"
251FILES_libgles-mx6 = "${libdir}/libGLESv1*${REALSOLIBS} ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${REALSOLIBS} ${libdir}/libGLES_*${SOLIBS}" 247FILES_libgles-mx6 = "${libdir}/libGLESv1*${REALSOLIBS} ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${REALSOLIBS} ${libdir}/libGLES_*${SOLIBS}"
252FILES_libgles-mx6-dev = "${includedir}/GLES ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${SOLIBSDEV} ${libdir}/pkgconfig/glesv1_cm.pc" 248FILES_libgles-mx6-dev = "${includedir}/GLES ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${SOLIBSDEV} ${libdir}/pkgconfig/glesv1_cm.pc"
253FILES_libgles-mx6-dbg = "${libdir}/.debug/libGLESv1*${SOLIBS} ${libdir}/.debug/libGLES_*${SOLIBS}"
254 249
255# libEGL needs to open libGLESv2.so 250# libEGL needs to open libGLESv2.so
256INSANE_SKIP_libgles2-mx6 += "dev-so" 251INSANE_SKIP_libgles2-mx6 += "dev-so"
257FILES_libgles2-mx6 = "${libdir}/libGLESv2${REALSOLIBS} ${libdir}/libGLESv2${SOLIBS}" 252FILES_libgles2-mx6 = "${libdir}/libGLESv2${REALSOLIBS} ${libdir}/libGLESv2${SOLIBS}"
258FILES_libgles2-mx6-dev = "${includedir}/GLES2 ${libdir}/libGLESv2${SOLIBSDEV} ${libdir}/pkgconfig/glesv2.pc" 253FILES_libgles2-mx6-dev = "${includedir}/GLES2 ${libdir}/libGLESv2${SOLIBSDEV} ${libdir}/pkgconfig/glesv2.pc"
259FILES_libgles2-mx6-dbg = "${libdir}/.debug/libGLESv2${SOLIBS}"
260RDEPENDS_libgles2-mx6 = "libglslc-mx6" 254RDEPENDS_libgles2-mx6 = "libglslc-mx6"
261 255
262FILES_libgles3-mx6-dev = "${includedir}/GLES3" 256FILES_libgles3-mx6-dev = "${includedir}/GLES3"
@@ -266,27 +260,22 @@ RDEPENDS_libgles2-mx6-dev += "libgles3-mx6-dev"
266 260
267FILES_libglslc-mx6 = "${libdir}/libGLSLC${SOLIBS}" 261FILES_libglslc-mx6 = "${libdir}/libGLSLC${SOLIBS}"
268FILES_libglslc-mx6-dev = "${includedir}/CL ${libdir}/libGLSLC${SOLIBSDEV}" 262FILES_libglslc-mx6-dev = "${includedir}/CL ${libdir}/libGLSLC${SOLIBSDEV}"
269FILES_libglslc-mx6-dbg = "${libdir}/.debug/libGLSLC${SOLIBS}"
270 263
271FILES_libopencl-mx6 = "${libdir}/libOpenCL${SOLIBS} \ 264FILES_libopencl-mx6 = "${libdir}/libOpenCL${SOLIBS} \
272 ${libdir}/libVivanteOpenCL${SOLIBS} \ 265 ${libdir}/libVivanteOpenCL${SOLIBS} \
273 ${sysconfdir}/OpenCL/vendors/Vivante.icd" 266 ${sysconfdir}/OpenCL/vendors/Vivante.icd"
274FILES_libopencl-mx6-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}" 267FILES_libopencl-mx6-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}"
275FILES_libopencl-mx6-dbg = "${libdir}/.debug/libOpenCL${SOLIBS}"
276RDEPENDS_libopencl-mx6 = "libclc-mx6" 268RDEPENDS_libopencl-mx6 = "libclc-mx6"
277 269
278INSANE_SKIP_libopenvg-mx6 += "dev-so" 270INSANE_SKIP_libopenvg-mx6 += "dev-so"
279FILES_libopenvg-mx6 = "${libdir}/libOpenVG*${SOLIBS}" 271FILES_libopenvg-mx6 = "${libdir}/libOpenVG*${SOLIBS}"
280FILES_libopenvg-mx6-dev = "${includedir}/VG ${libdir}/libOpenVG*${SOLIBSDEV} ${libdir}/pkgconfig/vg.pc" 272FILES_libopenvg-mx6-dev = "${includedir}/VG ${libdir}/libOpenVG*${SOLIBSDEV} ${libdir}/pkgconfig/vg.pc"
281FILES_libopenvg-mx6-dbg = "${libdir}/.debug/libOpenVG*${SOLIBS}"
282 273
283FILES_libvdk-mx6 = "${libdir}/libVDK${SOLIBS}" 274FILES_libvdk-mx6 = "${libdir}/libVDK${SOLIBS}"
284FILES_libvdk-mx6-dev = "${includedir}/*vdk*.h ${libdir}/libVDK${SOLIBSDEV}" 275FILES_libvdk-mx6-dev = "${includedir}/*vdk*.h ${libdir}/libVDK${SOLIBSDEV}"
285FILES_libvdk-mx6-dbg = "${libdir}/.debug/libVDK${SOLIBS}"
286 276
287FILES_libvivante-mx6 = "${libdir}/libVIVANTE${SOLIBS}" 277FILES_libvivante-mx6 = "${libdir}/libVIVANTE${SOLIBS}"
288FILES_libvivante-mx6-dev = "${libdir}/libVIVANTE${SOLIBSDEV}" 278FILES_libvivante-mx6-dev = "${libdir}/libVIVANTE${SOLIBSDEV}"
289FILES_libvivante-mx6-dbg = "${libdir}/.debug/libVIVANTE${SOLIBS}"
290 279
291FILES_libvivante-dri-mx6 = "${libdir}/dri/vivante_dri.so" 280FILES_libvivante-dri-mx6 = "${libdir}/dri/vivante_dri.so"
292RDEPENDS_libvivante-dri-mx6 = "libdrm" 281RDEPENDS_libvivante-dri-mx6 = "libdrm"
@@ -294,27 +283,22 @@ RDEPENDS_libvivante-dri-mx6 = "libdrm"
294INSANE_SKIP_libwayland-viv-mx6 += "dev-so" 283INSANE_SKIP_libwayland-viv-mx6 += "dev-so"
295FILES_libwayland-viv-mx6 = "${libdir}/libwayland-viv${REALSOLIBS} ${libdir}/libwayland-viv${SOLIBS}" 284FILES_libwayland-viv-mx6 = "${libdir}/libwayland-viv${REALSOLIBS} ${libdir}/libwayland-viv${SOLIBS}"
296FILES_libwayland-viv-mx6-dev = "${includedir}/wayland-viv ${libdir})/libwayland-viv${SOLIBSDEV} ${libdir}/pkgconfig/wayland-viv.pc" 285FILES_libwayland-viv-mx6-dev = "${includedir}/wayland-viv ${libdir})/libwayland-viv${SOLIBSDEV} ${libdir}/pkgconfig/wayland-viv.pc"
297FILES_libwayland-viv-mx6-dbg = "${libdir}/.debug/libwayland-viv${SOLIBS}"
298 286
299INSANE_SKIP_libgc-wayland-protocol-mx6 += "dev-so" 287INSANE_SKIP_libgc-wayland-protocol-mx6 += "dev-so"
300FILES_libgc-wayland-protocol-mx6 = "${libdir}/libgc_wayland_protocol${REALSOLIBS} ${libdir}/libgc_wayland_protocol${SOLIBS}" 288FILES_libgc-wayland-protocol-mx6 = "${libdir}/libgc_wayland_protocol${REALSOLIBS} ${libdir}/libgc_wayland_protocol${SOLIBS}"
301FILES_libgc-wayland-protocol-mx6-dev = "${libdir}/libgc_wayland_protocol${SOLIBSDEV} ${libdir}/pkgconfig/gc_wayland_protocol.pc" 289FILES_libgc-wayland-protocol-mx6-dev = "${libdir}/libgc_wayland_protocol${SOLIBSDEV} ${libdir}/pkgconfig/gc_wayland_protocol.pc"
302FILES_libgc-wayland-protocol-mx6-dbg = "${libdir}/libgc_wayland_protocol${SOLIBS}"
303 290
304FILES_libwayland-egl-mx6-dev = "${libdir}/pkgconfig/wayland-egl.pc" 291FILES_libwayland-egl-mx6-dev = "${libdir}/pkgconfig/wayland-egl.pc"
305 292
306INSANE_SKIP_imx-gpu-viv-g2d += "dev-so" 293INSANE_SKIP_imx-gpu-viv-g2d += "dev-so"
307FILES_imx-gpu-viv-g2d = "${libdir}/libg2d* " 294FILES_imx-gpu-viv-g2d = "${libdir}/libg2d* "
308FILES_imx-gpu-viv-g2d-dev = "${includedir}/g2d.h" 295FILES_imx-gpu-viv-g2d-dev = "${includedir}/g2d.h"
309FILES_imx-gpu-viv-g2d-dbg = "${libdir}/.debug/libg2d${SOLIBS}"
310 296
311FILES_imx-gpu-viv-tools = "${bindir}/gmem_info" 297FILES_imx-gpu-viv-tools = "${bindir}/gmem_info"
312 298
313FILES_imx-gpu-viv-tools-apitrace = "${bindir} ${libdir}" 299FILES_imx-gpu-viv-tools-apitrace = "${bindir} ${libdir}"
314FILES_imx-gpu-viv-tools-apitrace-dbg = "${libdir}/*/*/.debug"
315 300
316FILES_imx-gpu-viv-demos = "/opt" 301FILES_imx-gpu-viv-demos = "/opt"
317FILES_imx-gpu-viv-demos-dbg = "/opt/viv_samples/*/*/.debug"
318INSANE_SKIP_imx-gpu-viv-demos += "rpaths" 302INSANE_SKIP_imx-gpu-viv-demos += "rpaths"
319 303
320COMPATIBLE_MACHINE = "(mx6q|mx6dl|mx6sx|mx6sl)" 304COMPATIBLE_MACHINE = "(mx6q|mx6dl|mx6sx|mx6sl)"