mirror of
https://github.com/nxp-imx/meta-imx.git
synced 2025-12-14 14:36:02 +01:00
19 lines
640 B
Plaintext
19 lines
640 B
Plaintext
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
|
|
|
SRC_URI:append:imxgpu = " \
|
|
file://0001-Prefer-to-create-GLES2-context-for-glamor-EGL.patch \
|
|
"
|
|
|
|
OPENGL_PKGCONFIGS:remove:imxgpu = "${OPENGL_PKGCONFIGS_REMOVE_IMXGPU}"
|
|
OPENGL_PKGCONFIGS_REMOVE_IMXGPU = ""
|
|
OPENGL_PKGCONFIGS_REMOVE_IMXGPU:imx-nxp-bsp = "glamor glx"
|
|
OPENGL_PKGCONFIGS_REMOVE_IMXGPU:mx8-nxp-bsp = "glx"
|
|
|
|
# links with imx-gpu libs which are pre-built for glibc
|
|
# gcompat will address it during runtime
|
|
LDFLAGS:append:imxgpu:libc-musl = " -Wl,--allow-shlib-undefined"
|
|
|
|
RDEPENDS:${PN}:append:imxgpu:libc-musl = " gcompat"
|
|
|
|
PACKAGE_ARCH:imxgpu = "${MACHINE_SOCARCH}"
|