diff options
Diffstat (limited to 'recipes-graphics/imx-gpu-viv')
-rw-r--r-- | recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | 20 | ||||
-rw-r--r-- | recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.3.p4.2-aarch64.bb | 7 |
2 files changed, 24 insertions, 3 deletions
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc index e95761a1..dcfb049b 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc | |||
@@ -25,6 +25,8 @@ DEPENDS:append:mx8-nxp-bsp = " patchelf-native" | |||
25 | # We depend on mesa to fill in what is missing. | 25 | # We depend on mesa to fill in what is missing. |
26 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'mesa', '', d)}" | 26 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'mesa', '', d)}" |
27 | 27 | ||
28 | DEPENDS:append:libc-musl = " gcompat" | ||
29 | |||
28 | PROVIDES += " \ | 30 | PROVIDES += " \ |
29 | imx-gpu-viv \ | 31 | imx-gpu-viv \ |
30 | libgal-imx \ | 32 | libgal-imx \ |
@@ -247,6 +249,24 @@ do_install () { | |||
247 | chown -R root:root "${D}" | 249 | chown -R root:root "${D}" |
248 | } | 250 | } |
249 | 251 | ||
252 | do_install:append:libc-musl() { | ||
253 | # libs | ||
254 | for f in `find ${D}${libdir} -name '*.so*' -type f` | ||
255 | do | ||
256 | patchelf --add-needed libgcompat.so.0 $f | ||
257 | done | ||
258 | # binaries | ||
259 | for f in `find ${D}/opt ${D}${bindir} -name '*' -type f -executable` | ||
260 | do | ||
261 | # prune scripts | ||
262 | if `patchelf --print-interpreter $f 2>&1 > /dev/null` | ||
263 | then | ||
264 | patchelf --set-interpreter ${root_prefix}`patchelf --print-interpreter $f` $f | ||
265 | patchelf --add-needed libgcompat.so.0 $f | ||
266 | fi | ||
267 | done | ||
268 | } | ||
269 | |||
250 | ALLOW_EMPTY:${PN} = "1" | 270 | ALLOW_EMPTY:${PN} = "1" |
251 | 271 | ||
252 | FILES:libclc-imx = "${libdir}/libCLC${SOLIBS} ${includedir}/CL/cl_viv_vx_ext.h" | 272 | FILES:libclc-imx = "${libdir}/libCLC${SOLIBS} ${includedir}/CL/cl_viv_vx_ext.h" |
diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.3.p4.2-aarch64.bb b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.3.p4.2-aarch64.bb index bd584dbe..4136631b 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.3.p4.2-aarch64.bb +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv_6.4.3.p4.2-aarch64.bb | |||
@@ -1,9 +1,10 @@ | |||
1 | require imx-gpu-viv-6.inc | 1 | require imx-gpu-viv-6.inc |
2 | 2 | ||
3 | DEPENDS:append:libc-musl = " gcompat" | ||
4 | INSANE_SKIP:append:libc-musl = " file-rdeps" | ||
5 | |||
6 | SRC_URI[md5sum] = "22de8a5f59a56a7ef499f590d1659b6f" | 3 | SRC_URI[md5sum] = "22de8a5f59a56a7ef499f590d1659b6f" |
7 | SRC_URI[sha256sum] = "52921c0b59529f1598084e991eda1863100754f28a7744ba958158dff8074b3b" | 4 | SRC_URI[sha256sum] = "52921c0b59529f1598084e991eda1863100754f28a7744ba958158dff8074b3b" |
8 | 5 | ||
6 | INSANE_SKIP:append:libc-musl = " file-rdeps" | ||
7 | |||
9 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" | 8 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" |
9 | |||
10 | RDEPENDS:${PN}:append:libc-musl = " gcompat" | ||