aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-extended
diff options
context:
space:
mode:
authorChunrong Guo <chunrong.guo@nxp.com>2019-10-15 15:15:33 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2019-10-21 09:07:06 -0300
commit79756a65a27ef165729b6a6592def14da769773a (patch)
tree818e7d73e04e86770a3033460cee5e18935ad3ab /recipes-extended
parent5acc00bf16900b59a49f8804bda5a5ce507d1917 (diff)
downloadmeta-freescale-79756a65a27ef165729b6a6592def14da769773a.tar.gz
meta-freescale-79756a65a27ef165729b6a6592def14da769773a.tar.bz2
meta-freescale-79756a65a27ef165729b6a6592def14da769773a.zip
gpulib: add recipes
*update to lsdk 1909 tag include the following changes: 5a4f7df - gpulib: update to 6.2.4.p4 verstion bea4503 - gpu: remove gpu kernel module from library tree f175bc1 - Add GPU libraries for ls1028a 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.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-extended/gpulib/gpulib_6.2.4.p4.bb b/recipes-extended/gpulib/gpulib_6.2.4.p4.bb
new file mode 100644
index 00000000..1c2ff4c1
--- /dev/null
+++ b/recipes-extended/gpulib/gpulib_6.2.4.p4.bb
@@ -0,0 +1,29 @@
+SUMMARY = "GPU libraries"
+DESCRIPTION = "GPU libraries for Linux"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6c12031a11b81db21cdfe0be88cac4b3"
+
+SRC_URI = "http://www.nxp.com/lgfiles/sdk/lsdk1909/gpulib-lsdk1909.bin;fsl-eula=true"
+SRC_URI[md5sum] = "a68ba3b91a12dd7da0d573891e20db78"
+SRC_URI[sha256sum] = "0fcbf785dfe7402bc03a808e6ced754daeddd387391ebf6e15131187ff6e7bc1"
+
+S = "${WORKDIR}/gpulib-lsdk1909"
+
+inherit fsl-eula-unpack
+
+do_patch[noexec] = "1"
+do_configure[noexec] = "1"
+do_compile[noexec] = "1"
+
+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/lib/* ${D}/usr/lib
+}
+
+PACKAGES = "${PN}-dbg ${PN}"
+FILES_${PN} = "${libdir}/* /opt/* /usr/include/*"
+INSANE_SKIP_${PN} += "already-stripped file-rdeps dev-so host-user-contaminated"
+COMPATIBLE_MACHINE = "(qoriq)"