diff options
-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 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" | |||
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}" |