mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-07-19 12:59:04 +02:00

The series [1] changed the way sources are fetched/unpacked and S needs to follow that. Additionally for git repos it moved away from having 'git/' as the checkout directory. This has been partly tested by building weston based image for imx6/imx6ull/imx7/imx8/imx8mm/imx8mp/imx95 based images. E.g. none of the recipes specific for qoriq is built time tested. As walnascar is no longer compatible with master/whinlatter drop it from LAYERSERIES_COMPAT. [1] https://lore.kernel.org/openembedded-core/20250616095000.2918921-1-alex.kanavin@gmail.com/ Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
50 lines
1.7 KiB
BlitzBasic
50 lines
1.7 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 = "zlib libpng procps"
|
|
|
|
SRC_URI = "git://github.com/nxp-imx/apitrace-imx.git;protocol=https;branch=imx_10.0 \
|
|
file://0001-dlsym-workaround-glibc-2.34-build-failure.patch \
|
|
"
|
|
SRCREV = "522cb2981289b7ba20d6dd4b4bf75097e079815b"
|
|
|
|
inherit cmake pkgconfig perlnative python3native
|
|
|
|
PACKAGECONFIG ??= " \
|
|
egl \
|
|
${PACKAGECONFIG_BACKEND} \
|
|
${PACKAGECONFIG_GPU2D} \
|
|
"
|
|
PACKAGECONFIG_BACKEND = " \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'waffle', \
|
|
bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \
|
|
'', d), d)} \
|
|
"
|
|
PACKAGECONFIG_GPU2D = ""
|
|
PACKAGECONFIG_GPU2D:imxviv:imxgpu2d = "vivante"
|
|
|
|
PACKAGECONFIG[egl] = "-DENABLE_EGL=ON,-DENABLE_EGL=OFF,virtual/egl"
|
|
PACKAGECONFIG[gui] = "-DENABLE_GUI=ON,-DENABLE_GUI=OFF"
|
|
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[vivante] = "-DENABLE_VIVANTE=ON,-DENABLE_VIVANTE=OFF,virtual/libg2d"
|
|
|
|
SOLIBS = ".so"
|
|
FILES_SOLIBSDEV = ""
|
|
FILES:${PN} += " \
|
|
${libdir}/apitrace/scripts/* \
|
|
${libdir}/apitrace/wrappers/* \
|
|
"
|
|
EXTRA_OECMAKE += "\
|
|
-DENABLE_GUI=OFF \
|
|
-DENABLE_STATIC_LIBGCC=OFF \
|
|
-DENABLE_STATIC_LIBSTDCXX=OFF \
|
|
-DPython3_ROOT_DIR=/usr/bin/python3-native \
|
|
"
|
|
PACKAGE_ARCH = "${MACHINE_SOCARCH}"
|
|
COMPATIBLE_MACHINE = "(imxgpu)"
|
|
SECURITY_CFLAGS:toolchain-clang = ""
|
|
|