gpu-viv-bin-mx6q: add version in libraries symlinks
Create libraries symbolic links with version numbers. This now matches what is done in Yocto: https://github.com/Freescale/meta-fsl-arm/blob/dizzy/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc#L165 Tested-by: Gary Bisson <gary.bisson@boundarydevices.com> Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
1e739689ec
commit
e1f9466bf9
|
@ -36,13 +36,17 @@ endef
|
|||
# Make sure these commands are idempotent.
|
||||
define GPU_VIV_BIN_MX6Q_BUILD_CMDS
|
||||
$(SED) 's/defined(LINUX)/defined(__linux__)/g' $(@D)/usr/include/*/*.h
|
||||
for lib in EGL GAL VIVANTE GLESv2; do \
|
||||
ln -sf lib$${lib}-$(GPU_VIV_BIN_MX6Q_LIB_TARGET).so \
|
||||
$(@D)/usr/lib/lib$${lib}.so; \
|
||||
done
|
||||
ln -sf libGL.so.1.2 $(@D)/usr/lib/libGL.so
|
||||
ln -sf libGL.so.1.2 $(@D)/usr/lib/libGL.so.1
|
||||
ln -sf libGL.so.1.2 $(@D)/usr/lib/libGL.so.1.2.0
|
||||
ln -sf libEGL-$(GPU_VIV_BIN_MX6Q_LIB_TARGET).so $(@D)/usr/lib/libEGL.so
|
||||
ln -sf libEGL-$(GPU_VIV_BIN_MX6Q_LIB_TARGET).so $(@D)/usr/lib/libEGL.so.1
|
||||
ln -sf libEGL-$(GPU_VIV_BIN_MX6Q_LIB_TARGET).so $(@D)/usr/lib/libEGL.so.1.0
|
||||
ln -sf libGLESv2-$(GPU_VIV_BIN_MX6Q_LIB_TARGET).so $(@D)/usr/lib/libGLESv2.so
|
||||
ln -sf libGLESv2-$(GPU_VIV_BIN_MX6Q_LIB_TARGET).so $(@D)/usr/lib/libGLESv2.so.2
|
||||
ln -sf libGLESv2-$(GPU_VIV_BIN_MX6Q_LIB_TARGET).so $(@D)/usr/lib/libGLESv2.so.2.0.0
|
||||
ln -sf libVIVANTE-$(GPU_VIV_BIN_MX6Q_LIB_TARGET).so $(@D)/usr/lib/libVIVANTE.so
|
||||
ln -sf libGAL-$(GPU_VIV_BIN_MX6Q_LIB_TARGET).so $(@D)/usr/lib/libGAL.so
|
||||
endef
|
||||
|
||||
ifeq ($(GPU_VIV_BIN_MX6Q_LIB_TARGET),fb)
|
||||
|
|
Loading…
Reference in a new issue