mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-07-19 21:09:04 +02:00
38 lines
1.5 KiB
BlitzBasic
38 lines
1.5 KiB
BlitzBasic
# Copyright 2018 (C) O.S. Systems Software LTDA.
|
|
SUMMARY = "Samples for OpenGL ES"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50"
|
|
DEPENDS = "imx-gpu-viv zlib libpng procps"
|
|
|
|
SRC_URI = "git://github.com/nxp-imx/apitrace-imx.git;protocol=https;branch=imx_7.1"
|
|
SRCREV = "438c29f7b43c8dd82275f2bac00075f77b9e9699"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit cmake lib_package pkgconfig perlnative pythonnative
|
|
|
|
PACKAGECONFIG ??= ""
|
|
PACKAGECONFIG_append = \
|
|
"${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \
|
|
bb.utils.contains('DISTRO_FEATURES', 'x11', ' x11', \
|
|
'', d), d)}"
|
|
PACKAGECONFIG_append_imxgpu2d = " vivante"
|
|
# For 8M, which has 3D but no 2D, eglretrace is not available
|
|
# on Wayland except through X11 and waffle.
|
|
PACKAGECONFIG_IMXGPU3D = \
|
|
"${@bb.utils.contains('DISTRO_FEATURES', 'wayland x11', ' waffle x11 x11-egl', '', d)}"
|
|
PACKAGECONFIG_IMXGPU3D_imxgpu2d = ""
|
|
PACKAGECONFIG_append_imxgpu3d = "${PACKAGECONFIG_IMXGPU3D}"
|
|
|
|
PACKAGECONFIG[multiarch] = "-DENABLE_MULTIARCH=ON,-DENABLE_MULTIARCH=OFF"
|
|
PACKAGECONFIG[waffle] = "-DENABLE_WAFFLE=ON,-DENABLE_WAFFLE=OFF,waffle"
|
|
PACKAGECONFIG[x11] = "-DENABLE_X11=ON,-DENABLE_X11=OFF"
|
|
PACKAGECONFIG[x11-egl] = "-Dwaffle_has_x11_egl=ON,-Dwaffle_has_x11_egl=OFF"
|
|
PACKAGECONFIG[vivante] = "-DENABLE_VIVANTE=ON,-DENABLE_VIVANTE=OFF,virtual/libg2d"
|
|
|
|
FILES_${PN} = "${bindir} ${libdir}"
|
|
FILES_${PN}-dbg += "${libdir}/*/*/.debug"
|
|
|
|
PACKAGE_ARCH = "${MACHINE_SOCARCH}"
|
|
COMPATIBLE_MACHINE = "(imxgpu)"
|