summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}"