summaryrefslogtreecommitdiffstats
path: root/recipes-extended
diff options
context:
space:
mode:
authorChunrong Guo <chunrong.guo@nxp.com>2019-11-29 13:52:10 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2019-12-03 09:12:07 -0300
commite075e4c3048a9fe00e70c5bcca96e9d2cb57232a (patch)
tree4325c171c712c7cb4b742a04e763d1546e73d9e0 /recipes-extended
parent73028a95af7c7ad2a8e9b91c2e19244b7203cd3e (diff)
downloadmeta-freescale-e075e4c3048a9fe00e70c5bcca96e9d2cb57232a.tar.gz
gpulib: update recipes
* depends on kernel-module-qoriq-gpu * set PROVIDES * remove libwayland-egl.so and vulkan heads file Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Diffstat (limited to 'recipes-extended')
-rw-r--r--recipes-extended/gpulib/gpulib_6.2.4.p4.bb12
1 files changed, 11 insertions, 1 deletions
diff --git a/recipes-extended/gpulib/gpulib_6.2.4.p4.bb b/recipes-extended/gpulib/gpulib_6.2.4.p4.bb
index 1c2ff4c1..9d31b890 100644
--- a/recipes-extended/gpulib/gpulib_6.2.4.p4.bb
+++ b/recipes-extended/gpulib/gpulib_6.2.4.p4.bb
@@ -15,12 +15,22 @@ do_patch[noexec] = "1"
15do_configure[noexec] = "1" 15do_configure[noexec] = "1"
16do_compile[noexec] = "1" 16do_compile[noexec] = "1"
17 17
18DEPENDS_append = " kernel-module-qoriq-gpu"
19
20PROVIDES = " \
21 gpulib \
22 virtual/egl \
23 virtual/libgbm \
24 virtual/libgles2 \
25"
18do_install() { 26do_install() {
19 install -d ${D}/opt ${D}${libdir} ${D}/usr/include 27 install -d ${D}/opt ${D}${libdir} ${D}/usr/include
20 cd ls1028a/linux 28 cd ls1028a/linux
21 cp -a gpu-demos/opt/viv_samples/* ${D}/opt 29 cp -a gpu-demos/opt/viv_samples/* ${D}/opt
22 cp -a gpu-core/usr/include/* ${D}/usr/include 30 cp -a gpu-core/usr/include/* ${D}/usr/include
31 rm -rf gpu-core/usr/lib/libwayland-egl.so*
23 cp -a gpu-core/usr/lib/* ${D}/usr/lib 32 cp -a gpu-core/usr/lib/* ${D}/usr/lib
33 rm -rf gpu-core/${includedir}/vulkan/
24} 34}
25 35
26PACKAGES = "${PN}-dbg ${PN}" 36PACKAGES = "${PN}-dbg ${PN}"