diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2019-02-18 09:37:10 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2019-03-06 19:03:44 +0100 |
commit | 5036201925da2f4f4d48994d6c20513f683ea0ef (patch) | |
tree | 90bad5c2bb6fb6c9c663b2e1164b727704c2cca7 /recipes-bsp/binary-drivers/cudatoolkit6.5_21.5.0.bb | |
parent | 90dd09c4014acc74791151f2b13281efae6aacd7 (diff) |
tk1: drop meta-jetson-tk1
All of meta-jetson-tk1 has been moved into meta-toradex-tegra as updates
were needed. Drop meta-jetson-tk1.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-bsp/binary-drivers/cudatoolkit6.5_21.5.0.bb')
-rw-r--r-- | recipes-bsp/binary-drivers/cudatoolkit6.5_21.5.0.bb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes-bsp/binary-drivers/cudatoolkit6.5_21.5.0.bb b/recipes-bsp/binary-drivers/cudatoolkit6.5_21.5.0.bb new file mode 100644 index 0000000..6bb8657 --- /dev/null +++ b/recipes-bsp/binary-drivers/cudatoolkit6.5_21.5.0.bb @@ -0,0 +1,41 @@ +DESCRIPTION = "NVIDIA CUDA 6.5 Toolkit for L4T Rel 21.x Packages" +HOMEPAGE = "https://developer.nvidia.com/" +LICENSE = "Proprietary" + +SRC_URI = "http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/005/linux-x64/cuda-repo-l4t-r21.5-6-5-local_6.5-53_armhf.deb" + +LIC_FILES_CHKSUM = "file://usr/share/doc/cuda-repo-l4t-r21.5-6-5-local/copyright;md5=f87877410d6936081b0b8ddd124ca96d" + +SRC_URI[md5sum] = "93b5c6592292565c389c46a16b4cbf5d" +SRC_URI[sha256sum] = "4739c63e16b9a169f988c2b8f175c0182fa118833b49950fe72fe8c039ba1359" + +DEPENDS = "dpkg-native" + +INSANE_SKIP_${PN} = "ldflags" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +S = "${WORKDIR}/cuda6.5" + +INSANE_SKIP_${PN}-dev = "ldflags" + +FILES_${PN} = "${datadir}/lintian/* \ + ${base_prefix}/usr/local/cuda-6.5/* " + +INHIBIT_PACKAGE_STRIP = "1" + +INSANE_SKIP_${PN} += "already-stripped dev-so libdir" + +python do_unpack () { + locals = d.getVar('WORKDIR', True) + s = d.getVar('S', True) + d.setVar('WORKDIR', s) + d.setVar('S', s) + bb.build.exec_func('base_do_unpack', d) + d.setVar('WORKDIR', locals) +} + +do_install () { + cp -r ${WORKDIR}/cuda6.5/usr ${D} + dpkg -x ${WORKDIR}/cuda6.5/var/cuda-repo-6-5-local/cuda-cudart-6-5_6.5-53_armhf.deb ${D} +} |