diff options
| author | Chunrong Guo <chunrong.guo@nxp.com> | 2019-11-29 13:52:10 +0800 | 
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2019-12-03 09:12:07 -0300 | 
| commit | e075e4c3048a9fe00e70c5bcca96e9d2cb57232a (patch) | |
| tree | 4325c171c712c7cb4b742a04e763d1546e73d9e0 | |
| parent | 73028a95af7c7ad2a8e9b91c2e19244b7203cd3e (diff) | |
| download | meta-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>
| -rw-r--r-- | recipes-extended/gpulib/gpulib_6.2.4.p4.bb | 12 | 
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 1c2ff4c1a..9d31b890d 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" | |||
| 15 | do_configure[noexec] = "1" | 15 | do_configure[noexec] = "1" | 
| 16 | do_compile[noexec] = "1" | 16 | do_compile[noexec] = "1" | 
| 17 | 17 | ||
| 18 | DEPENDS_append = " kernel-module-qoriq-gpu" | ||
| 19 | |||
| 20 | PROVIDES = " \ | ||
| 21 | gpulib \ | ||
| 22 | virtual/egl \ | ||
| 23 | virtual/libgbm \ | ||
| 24 | virtual/libgles2 \ | ||
| 25 | " | ||
| 18 | do_install() { | 26 | do_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 | ||
| 26 | PACKAGES = "${PN}-dbg ${PN}" | 36 | PACKAGES = "${PN}-dbg ${PN}" | 
