diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2015-12-18 10:45:07 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-04-19 15:03:24 -0300 |
commit | 9da4e87c7fd2090dc17f1e6dbaeb44d4364d08b3 (patch) | |
tree | 37accbdbbbb33075ba6f2c5e3f26e18a3d3efbaf | |
parent | 0e70e727685ee64d19a47251e7886d7eaed549f6 (diff) | |
download | meta-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.inc | 48 |
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 | ||
24 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" | 24 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" |
25 | 25 | ||
26 | PACKAGES =+ "libclc-mx6 libclc-mx6-dev libclc-mx6-dbg \ | 26 | PACKAGES =+ "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 | ||
49 | python __anonymous () { | 49 | python __anonymous () { |
@@ -224,17 +224,14 @@ ALLOW_EMPTY_${PN} = "1" | |||
224 | 224 | ||
225 | FILES_libclc-mx6 = "${libdir}/libCLC${SOLIBS}" | 225 | FILES_libclc-mx6 = "${libdir}/libCLC${SOLIBS}" |
226 | FILES_libclc-mx6-dev = "${includedir}/CL ${libdir}/libCLC${SOLIBSDEV}" | 226 | FILES_libclc-mx6-dev = "${includedir}/CL ${libdir}/libCLC${SOLIBSDEV}" |
227 | FILES_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 |
230 | INSANE_SKIP_libegl-mx6 += "dev-so" | 229 | INSANE_SKIP_libegl-mx6 += "dev-so" |
231 | FILES_libegl-mx6 = "${libdir}/libEGL${REALSOLIBS} ${libdir}/libEGL${SOLIBSDEV} " | 230 | FILES_libegl-mx6 = "${libdir}/libEGL${REALSOLIBS} ${libdir}/libEGL${SOLIBSDEV} " |
232 | FILES_libegl-mx6-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc" | 231 | FILES_libegl-mx6-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc" |
233 | FILES_libegl-mx6-dbg = "${libdir}/.debug/libEGL${SOLIBS}" | ||
234 | 232 | ||
235 | FILES_libgal-mx6 = "${libdir}/libGAL${SOLIBS} ${libdir}/libGAL_egl${SOLIBS}" | 233 | FILES_libgal-mx6 = "${libdir}/libGAL${SOLIBS} ${libdir}/libGAL_egl${SOLIBS}" |
236 | FILES_libgal-mx6-dev = "${libdir}/libGAL${SOLIBSDEV} ${includedir}/HAL" | 234 | FILES_libgal-mx6-dev = "${libdir}/libGAL${SOLIBSDEV} ${includedir}/HAL" |
237 | FILES_libgal-mx6-dbg = "${libdir}/.debug/libGAL${SOLIBS}" | ||
238 | RDEPENDS_libgal-mx6 += "kernel-module-imx-gpu-viv" | 235 | RDEPENDS_libgal-mx6 += "kernel-module-imx-gpu-viv" |
239 | INSANE_SKIP_libgal-mx6 += "build-deps" | 236 | INSANE_SKIP_libgal-mx6 += "build-deps" |
240 | 237 | ||
@@ -242,7 +239,6 @@ FILES_libvsc-mx6 = "${libdir}/libVSC${SOLIBS}" | |||
242 | 239 | ||
243 | FILES_libgl-mx6 = "${libdir}/libGL${REALSOLIBS}" | 240 | FILES_libgl-mx6 = "${libdir}/libGL${REALSOLIBS}" |
244 | FILES_libgl-mx6-dev = "${libdir}/libGL${SOLIBSDEV}" | 241 | FILES_libgl-mx6-dev = "${libdir}/libGL${SOLIBSDEV}" |
245 | FILES_libgl-mx6-dbg = "${libdir}/.debug/libGL.${SOLIBS}" | ||
246 | # Includes GL headers from mesa | 242 | # Includes GL headers from mesa |
247 | RDEPENDS_libgl-mx6-dev += "libgl-mesa-dev" | 243 | RDEPENDS_libgl-mx6-dev += "libgl-mesa-dev" |
248 | 244 | ||
@@ -250,13 +246,11 @@ RDEPENDS_libgl-mx6-dev += "libgl-mesa-dev" | |||
250 | INSANE_SKIP_libgles-mx6 += "dev-so" | 246 | INSANE_SKIP_libgles-mx6 += "dev-so" |
251 | FILES_libgles-mx6 = "${libdir}/libGLESv1*${REALSOLIBS} ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${REALSOLIBS} ${libdir}/libGLES_*${SOLIBS}" | 247 | FILES_libgles-mx6 = "${libdir}/libGLESv1*${REALSOLIBS} ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${REALSOLIBS} ${libdir}/libGLES_*${SOLIBS}" |
252 | FILES_libgles-mx6-dev = "${includedir}/GLES ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${SOLIBSDEV} ${libdir}/pkgconfig/glesv1_cm.pc" | 248 | FILES_libgles-mx6-dev = "${includedir}/GLES ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${SOLIBSDEV} ${libdir}/pkgconfig/glesv1_cm.pc" |
253 | FILES_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 |
256 | INSANE_SKIP_libgles2-mx6 += "dev-so" | 251 | INSANE_SKIP_libgles2-mx6 += "dev-so" |
257 | FILES_libgles2-mx6 = "${libdir}/libGLESv2${REALSOLIBS} ${libdir}/libGLESv2${SOLIBS}" | 252 | FILES_libgles2-mx6 = "${libdir}/libGLESv2${REALSOLIBS} ${libdir}/libGLESv2${SOLIBS}" |
258 | FILES_libgles2-mx6-dev = "${includedir}/GLES2 ${libdir}/libGLESv2${SOLIBSDEV} ${libdir}/pkgconfig/glesv2.pc" | 253 | FILES_libgles2-mx6-dev = "${includedir}/GLES2 ${libdir}/libGLESv2${SOLIBSDEV} ${libdir}/pkgconfig/glesv2.pc" |
259 | FILES_libgles2-mx6-dbg = "${libdir}/.debug/libGLESv2${SOLIBS}" | ||
260 | RDEPENDS_libgles2-mx6 = "libglslc-mx6" | 254 | RDEPENDS_libgles2-mx6 = "libglslc-mx6" |
261 | 255 | ||
262 | FILES_libgles3-mx6-dev = "${includedir}/GLES3" | 256 | FILES_libgles3-mx6-dev = "${includedir}/GLES3" |
@@ -266,27 +260,22 @@ RDEPENDS_libgles2-mx6-dev += "libgles3-mx6-dev" | |||
266 | 260 | ||
267 | FILES_libglslc-mx6 = "${libdir}/libGLSLC${SOLIBS}" | 261 | FILES_libglslc-mx6 = "${libdir}/libGLSLC${SOLIBS}" |
268 | FILES_libglslc-mx6-dev = "${includedir}/CL ${libdir}/libGLSLC${SOLIBSDEV}" | 262 | FILES_libglslc-mx6-dev = "${includedir}/CL ${libdir}/libGLSLC${SOLIBSDEV}" |
269 | FILES_libglslc-mx6-dbg = "${libdir}/.debug/libGLSLC${SOLIBS}" | ||
270 | 263 | ||
271 | FILES_libopencl-mx6 = "${libdir}/libOpenCL${SOLIBS} \ | 264 | FILES_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" |
274 | FILES_libopencl-mx6-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}" | 267 | FILES_libopencl-mx6-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}" |
275 | FILES_libopencl-mx6-dbg = "${libdir}/.debug/libOpenCL${SOLIBS}" | ||
276 | RDEPENDS_libopencl-mx6 = "libclc-mx6" | 268 | RDEPENDS_libopencl-mx6 = "libclc-mx6" |
277 | 269 | ||
278 | INSANE_SKIP_libopenvg-mx6 += "dev-so" | 270 | INSANE_SKIP_libopenvg-mx6 += "dev-so" |
279 | FILES_libopenvg-mx6 = "${libdir}/libOpenVG*${SOLIBS}" | 271 | FILES_libopenvg-mx6 = "${libdir}/libOpenVG*${SOLIBS}" |
280 | FILES_libopenvg-mx6-dev = "${includedir}/VG ${libdir}/libOpenVG*${SOLIBSDEV} ${libdir}/pkgconfig/vg.pc" | 272 | FILES_libopenvg-mx6-dev = "${includedir}/VG ${libdir}/libOpenVG*${SOLIBSDEV} ${libdir}/pkgconfig/vg.pc" |
281 | FILES_libopenvg-mx6-dbg = "${libdir}/.debug/libOpenVG*${SOLIBS}" | ||
282 | 273 | ||
283 | FILES_libvdk-mx6 = "${libdir}/libVDK${SOLIBS}" | 274 | FILES_libvdk-mx6 = "${libdir}/libVDK${SOLIBS}" |
284 | FILES_libvdk-mx6-dev = "${includedir}/*vdk*.h ${libdir}/libVDK${SOLIBSDEV}" | 275 | FILES_libvdk-mx6-dev = "${includedir}/*vdk*.h ${libdir}/libVDK${SOLIBSDEV}" |
285 | FILES_libvdk-mx6-dbg = "${libdir}/.debug/libVDK${SOLIBS}" | ||
286 | 276 | ||
287 | FILES_libvivante-mx6 = "${libdir}/libVIVANTE${SOLIBS}" | 277 | FILES_libvivante-mx6 = "${libdir}/libVIVANTE${SOLIBS}" |
288 | FILES_libvivante-mx6-dev = "${libdir}/libVIVANTE${SOLIBSDEV}" | 278 | FILES_libvivante-mx6-dev = "${libdir}/libVIVANTE${SOLIBSDEV}" |
289 | FILES_libvivante-mx6-dbg = "${libdir}/.debug/libVIVANTE${SOLIBS}" | ||
290 | 279 | ||
291 | FILES_libvivante-dri-mx6 = "${libdir}/dri/vivante_dri.so" | 280 | FILES_libvivante-dri-mx6 = "${libdir}/dri/vivante_dri.so" |
292 | RDEPENDS_libvivante-dri-mx6 = "libdrm" | 281 | RDEPENDS_libvivante-dri-mx6 = "libdrm" |
@@ -294,27 +283,22 @@ RDEPENDS_libvivante-dri-mx6 = "libdrm" | |||
294 | INSANE_SKIP_libwayland-viv-mx6 += "dev-so" | 283 | INSANE_SKIP_libwayland-viv-mx6 += "dev-so" |
295 | FILES_libwayland-viv-mx6 = "${libdir}/libwayland-viv${REALSOLIBS} ${libdir}/libwayland-viv${SOLIBS}" | 284 | FILES_libwayland-viv-mx6 = "${libdir}/libwayland-viv${REALSOLIBS} ${libdir}/libwayland-viv${SOLIBS}" |
296 | FILES_libwayland-viv-mx6-dev = "${includedir}/wayland-viv ${libdir})/libwayland-viv${SOLIBSDEV} ${libdir}/pkgconfig/wayland-viv.pc" | 285 | FILES_libwayland-viv-mx6-dev = "${includedir}/wayland-viv ${libdir})/libwayland-viv${SOLIBSDEV} ${libdir}/pkgconfig/wayland-viv.pc" |
297 | FILES_libwayland-viv-mx6-dbg = "${libdir}/.debug/libwayland-viv${SOLIBS}" | ||
298 | 286 | ||
299 | INSANE_SKIP_libgc-wayland-protocol-mx6 += "dev-so" | 287 | INSANE_SKIP_libgc-wayland-protocol-mx6 += "dev-so" |
300 | FILES_libgc-wayland-protocol-mx6 = "${libdir}/libgc_wayland_protocol${REALSOLIBS} ${libdir}/libgc_wayland_protocol${SOLIBS}" | 288 | FILES_libgc-wayland-protocol-mx6 = "${libdir}/libgc_wayland_protocol${REALSOLIBS} ${libdir}/libgc_wayland_protocol${SOLIBS}" |
301 | FILES_libgc-wayland-protocol-mx6-dev = "${libdir}/libgc_wayland_protocol${SOLIBSDEV} ${libdir}/pkgconfig/gc_wayland_protocol.pc" | 289 | FILES_libgc-wayland-protocol-mx6-dev = "${libdir}/libgc_wayland_protocol${SOLIBSDEV} ${libdir}/pkgconfig/gc_wayland_protocol.pc" |
302 | FILES_libgc-wayland-protocol-mx6-dbg = "${libdir}/libgc_wayland_protocol${SOLIBS}" | ||
303 | 290 | ||
304 | FILES_libwayland-egl-mx6-dev = "${libdir}/pkgconfig/wayland-egl.pc" | 291 | FILES_libwayland-egl-mx6-dev = "${libdir}/pkgconfig/wayland-egl.pc" |
305 | 292 | ||
306 | INSANE_SKIP_imx-gpu-viv-g2d += "dev-so" | 293 | INSANE_SKIP_imx-gpu-viv-g2d += "dev-so" |
307 | FILES_imx-gpu-viv-g2d = "${libdir}/libg2d* " | 294 | FILES_imx-gpu-viv-g2d = "${libdir}/libg2d* " |
308 | FILES_imx-gpu-viv-g2d-dev = "${includedir}/g2d.h" | 295 | FILES_imx-gpu-viv-g2d-dev = "${includedir}/g2d.h" |
309 | FILES_imx-gpu-viv-g2d-dbg = "${libdir}/.debug/libg2d${SOLIBS}" | ||
310 | 296 | ||
311 | FILES_imx-gpu-viv-tools = "${bindir}/gmem_info" | 297 | FILES_imx-gpu-viv-tools = "${bindir}/gmem_info" |
312 | 298 | ||
313 | FILES_imx-gpu-viv-tools-apitrace = "${bindir} ${libdir}" | 299 | FILES_imx-gpu-viv-tools-apitrace = "${bindir} ${libdir}" |
314 | FILES_imx-gpu-viv-tools-apitrace-dbg = "${libdir}/*/*/.debug" | ||
315 | 300 | ||
316 | FILES_imx-gpu-viv-demos = "/opt" | 301 | FILES_imx-gpu-viv-demos = "/opt" |
317 | FILES_imx-gpu-viv-demos-dbg = "/opt/viv_samples/*/*/.debug" | ||
318 | INSANE_SKIP_imx-gpu-viv-demos += "rpaths" | 302 | INSANE_SKIP_imx-gpu-viv-demos += "rpaths" |
319 | 303 | ||
320 | COMPATIBLE_MACHINE = "(mx6q|mx6dl|mx6sx|mx6sl)" | 304 | COMPATIBLE_MACHINE = "(mx6q|mx6dl|mx6sx|mx6sl)" |