Skip to content

Commit

Permalink
mali450-userland: workaround - use hardlinks instead of symlinks
Browse files Browse the repository at this point in the history
rpm doesn't set the correct arch for symlinks:
96boards#156

Signed-off-by: Andrey Konovalov <[email protected]>
  • Loading branch information
andrey-konovalov committed Jun 27, 2017
1 parent b521ae9 commit c364a01
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions recipes-graphics/mali-userland/mali450-userland_r6p0_01rel0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,18 @@ do_compile[noexec] = "1"
do_install() {
install -m 755 -d ${D}/${libdir}
install ${S}/libMali.so ${D}/${libdir}
(cd ${D}/${libdir} && ln -sf libMali.so libEGL.so.1.4 \
&& ln -sf libEGL.so.1.4 libEGL.so.1 \
&& ln -sf libEGL.so.1 libEGL.so)
(cd ${D}/${libdir} && ln -sf libMali.so libGLESv1_CM.so.1.1 \
&& ln -sf libGLESv1_CM.so.1.1 libGLESv1_CM.so.1 \
&& ln -sf libGLESv1_CM.so.1 libGLESv1_CM.so)
(cd ${D}/${libdir} && ln -sf libMali.so libGLESv2.so.2.0 \
&& ln -sf libGLESv2.so.2.0 libGLESv2.so.2 \
&& ln -sf libGLESv2.so.2 libGLESv2.so)
(cd ${D}/${libdir} && ln -sf libMali.so libgbm.so.1 \
&& ln -sf libgbm.so.1 libgbm.so)
(cd ${D}/${libdir} && ln -sf libMali.so libwayland-egl.so)
(cd ${D}/${libdir} && ln -f libMali.so libEGL.so.1.4 \
&& ln -f libEGL.so.1.4 libEGL.so.1 \
&& ln -f libEGL.so.1 libEGL.so)
(cd ${D}/${libdir} && ln -f libMali.so libGLESv1_CM.so.1.1 \
&& ln -f libGLESv1_CM.so.1.1 libGLESv1_CM.so.1 \
&& ln -f libGLESv1_CM.so.1 libGLESv1_CM.so)
(cd ${D}/${libdir} && ln -f libMali.so libGLESv2.so.2.0 \
&& ln -f libGLESv2.so.2.0 libGLESv2.so.2 \
&& ln -f libGLESv2.so.2 libGLESv2.so)
(cd ${D}/${libdir} && ln -f libMali.so libgbm.so.1 \
&& ln -f libgbm.so.1 libgbm.so)
(cd ${D}/${libdir} && ln -f libMali.so libwayland-egl.so)

install -D -m0644 ${WORKDIR}/50-mali.rules \
${D}/${base_prefix}/lib/udev/rules.d/50-mali.rules
Expand Down

0 comments on commit c364a01

Please sign in to comment.