Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 855 Bytes
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://0001-Make-graphic-libs-configurable.patch"
GLX_LIB_NAME ?= "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/libgl', 'broadcom-refsw', 'libv3ddriver.so', 'libGL.so.1', d)}"
EGL_LIB_NAME ?= "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/egl', 'broadcom-refsw', 'libv3ddriver.so', 'libEGL.so.1', d)}"
GLES1_LIB_NAME ?= "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/libgles1', 'broadcom-refsw', 'libv3ddriver.so', 'libGLESv1_CM.so.1', d)}"
GLES2_LIB_NAME ?= "${@bb.utils.contains('PREFERRED_PROVIDER_virtual/libgles2', 'broadcom-refsw', 'libv3ddriver.so', 'libGLESv2.so.2', d)}"
TARGET_CFLAGS += '\
-DGLX_LIB_NAME="${GLX_LIB_NAME}" \
-DEGL_LIB_NAME="${EGL_LIB_NAME}" \
-DGLES1_LIB_NAME="${GLES1_LIB_NAME}" \
-DGLES2_LIB_NAME="${GLES2_LIB_NAME}" \
'
You can’t perform that action at this time.