aboutsummaryrefslogtreecommitdiffstats
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
meta-freescale-e075e4c3048a9fe00e70c5bcca96e9d2cb57232a.tar.bz2
meta-freescale-e075e4c3048a9fe00e70c5bcca96e9d2cb57232a.zip
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"
do_configure[noexec] = "1"
do_compile[noexec] = "1"
+DEPENDS_append = " kernel-module-qoriq-gpu"
+
+PROVIDES = " \
+ gpulib \
+ virtual/egl \
+ virtual/libgbm \
+ virtual/libgles2 \
+"
do_install() {
install -d ${D}/opt ${D}${libdir} ${D}/usr/include
cd ls1028a/linux
cp -a gpu-demos/opt/viv_samples/* ${D}/opt
- cp -a gpu-core/usr/include/* ${D}/usr/include
+ cp -a gpu-core/usr/include/* ${D}/usr/include
+ rm -rf gpu-core/usr/lib/libwayland-egl.so*
cp -a gpu-core/usr/lib/* ${D}/usr/lib
+ rm -rf gpu-core/${includedir}/vulkan/
}
PACKAGES = "${PN}-dbg ${PN}"