diff options
Diffstat (limited to 'recipes-bsp/binary-drivers')
-rw-r--r-- | recipes-bsp/binary-drivers/cudatoolkit6.5_21.5.0.bb | 41 | ||||
-rwxr-xr-x | recipes-bsp/binary-drivers/linux-driver-package/nv | 87 | ||||
-rw-r--r-- | recipes-bsp/binary-drivers/linux-driver-package/nv.service | 17 | ||||
-rwxr-xr-x | recipes-bsp/binary-drivers/linux-driver-package/nvfb | 25 | ||||
-rw-r--r-- | recipes-bsp/binary-drivers/linux-driver-package/nvfb.service | 17 | ||||
-rw-r--r-- | recipes-bsp/binary-drivers/linux-driver-package/tegra_xusb_firmware | bin | 124416 -> 0 bytes | |||
-rw-r--r-- | recipes-bsp/binary-drivers/linux-driver-package/xorg.conf | 22 | ||||
-rw-r--r-- | recipes-bsp/binary-drivers/linux-driver-package/xorg.conf.add | 11 | ||||
-rwxr-xr-x | recipes-bsp/binary-drivers/linux-driver-package_21.7.0.bb | 194 | ||||
-rw-r--r-- | recipes-bsp/binary-drivers/opencv4tegra_21.5.0.bb | 45 |
10 files changed, 0 insertions, 459 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 deleted file mode 100644 index 6bb8657..0000000 --- a/recipes-bsp/binary-drivers/cudatoolkit6.5_21.5.0.bb +++ /dev/null @@ -1,41 +0,0 @@ -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} -} diff --git a/recipes-bsp/binary-drivers/linux-driver-package/nv b/recipes-bsp/binary-drivers/linux-driver-package/nv deleted file mode 100755 index 2221688..0000000 --- a/recipes-bsp/binary-drivers/linux-driver-package/nv +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/sh -#"NVIDIA specific init script" - -nvexec() { - # power state - if [ -e /sys/power/state ]; then - chmod 0666 /sys/power/state - fi - - # Set minimum cpu freq. - if [ -e /sys/devices/soc0/family ]; then - SOCFAMILY="`cat /sys/devices/soc0/family`" - fi - - if [ "$SOCFAMILY" = "Tegra13" ] && - [ -e /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq ]; then - sudo bash -c "echo -n 510000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq" - fi - - # CPU hotplugging - if [ -d /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet ] ; then - echo 500 > /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet/down_delay - echo 1 > /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet/enable - elif [ -w /sys/module/cpu_tegra3/parameters/auto_hotplug ] ; then - # compatibility for prior kernels without cpuquiet support - echo 1 > /sys/module/cpu_tegra3/parameters/auto_hotplug - fi - - # lp2 idle state - if [ -e /sys/module/cpuidle/parameters/power_down_in_idle ] ; then - echo "Y" > /sys/module/cpuidle/parameters/power_down_in_idle - elif [ -e /sys/module/cpuidle/parameters/lp2_in_idle ] ; then - # compatibility for prior kernels - echo "Y" > /sys/module/cpuidle/parameters/lp2_in_idle - fi - - #FIXME remove once kernel CL merges into main Bug 1231069 - for uartInst in 0 1 2 3 - do - uartNode="/dev/ttyHS$uartInst" - if [ -e "$uartNode" ]; then - ln -s /dev/ttyHS$uartInst /dev/ttyTHS$uartInst - fi - done - # remove power to dc.0 for jetson-tk1 - machine=`cat /sys/devices/soc0/machine` - if [ "${machine}" = "jetson-tk1" ] ; then - echo 4 > /sys/class/graphics/fb0/blank - if [ -e /sys/devices/platform/tegra-otg/enable_device ] ; then - echo 0 > /sys/devices/platform/tegra-otg/enable_device - fi - if [ -e /sys/devices/platform/tegra-otg/enable_host ] ; then - echo 1 > /sys/devices/platform/tegra-otg/enable_host - fi - fi - - # CPU frequency governor - if [ -e /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors ]; then - read governors < /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors - case $governors in - *interactive*) - echo interactive > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - if [ -e /sys/devices/system/cpu/cpufreq/interactive ] ; then - echo "1224000" > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq - echo "95" > /sys/devices/system/cpu/cpufreq/interactive/target_loads - echo "20000" > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time - fi - ;; - *) - ;; - esac - fi - - # CPU frequency boost on input event - if [ -e /sys/module/input_cfboost/parameters/boost_freq ]; then - echo "1224000" > /sys/module/input_cfboost/parameters/boost_freq - fi -} - -case "$1" in - start) - nvexec - exit 0 - ;; - *) - exit 1 -esac diff --git a/recipes-bsp/binary-drivers/linux-driver-package/nv.service b/recipes-bsp/binary-drivers/linux-driver-package/nv.service deleted file mode 100644 index c6fa901..0000000 --- a/recipes-bsp/binary-drivers/linux-driver-package/nv.service +++ /dev/null @@ -1,17 +0,0 @@ -[Unit] -Description=Nvidia binary driver init script -After=nvfb.service - -[Install] -WantedBy=multi-user.target - -[Service] -Type=forking -Restart=no -TimeoutSec=5min -IgnoreSIGPIPE=no -KillMode=process -GuessMainPID=no -RemainAfterExit=yes -ExecStart=/usr/bin/nv start -ExecStop=/usr/bin/nv stop diff --git a/recipes-bsp/binary-drivers/linux-driver-package/nvfb b/recipes-bsp/binary-drivers/linux-driver-package/nvfb deleted file mode 100755 index e5f4502..0000000 --- a/recipes-bsp/binary-drivers/linux-driver-package/nvfb +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -#"specific first-boot script" - -nvexec() { - RET=0 - if [ ! -e /etc/nv/nvfirstboot ]; then - RET=0 - else - echo "/usr/lib/arm-linux-gnueabihf/tegra" >> /etc/ld.so.conf - echo "/usr/lib/arm-linux-gnueabihf/tegra-egl" >> /etc/ld.so.conf - - ldconfig - rm -rf /etc/nv/nvfirstboot - fi - exit $RET -} - -case "$1" in - start) - nvexec - exit 0 - ;; - *) - exit 1 -esac diff --git a/recipes-bsp/binary-drivers/linux-driver-package/nvfb.service b/recipes-bsp/binary-drivers/linux-driver-package/nvfb.service deleted file mode 100644 index deb8d97..0000000 --- a/recipes-bsp/binary-drivers/linux-driver-package/nvfb.service +++ /dev/null @@ -1,17 +0,0 @@ -[Unit] -Description=Nvidia binary driver first-boot script -Before=nv.service - -[Install] -WantedBy=multi-user.target - -[Service] -Type=forking -Restart=no -TimeoutSec=5min -IgnoreSIGPIPE=no -KillMode=process -GuessMainPID=no -RemainAfterExit=yes -ExecStart=/usr/bin/nvfb start -ExecStop=/usr/bin/nvfb stop diff --git a/recipes-bsp/binary-drivers/linux-driver-package/tegra_xusb_firmware b/recipes-bsp/binary-drivers/linux-driver-package/tegra_xusb_firmware Binary files differdeleted file mode 100644 index 7a18086..0000000 --- a/recipes-bsp/binary-drivers/linux-driver-package/tegra_xusb_firmware +++ /dev/null diff --git a/recipes-bsp/binary-drivers/linux-driver-package/xorg.conf b/recipes-bsp/binary-drivers/linux-driver-package/xorg.conf deleted file mode 100644 index 68b7925..0000000 --- a/recipes-bsp/binary-drivers/linux-driver-package/xorg.conf +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (c) 2011-2013 NVIDIA CORPORATION. All Rights Reserved. - -# -# This is the minimal configuration necessary to use the Tegra driver. -# Please refer to the xorg.conf man page for more configuration -# options provided by the X server, including display-related options -# provided by RandR 1.2 and higher. - -# Disable extensions not useful on Tegra. -Section "Module" - Disable "dri" - SubSection "extmod" - Option "omit xfree86-dga" - EndSubSection -EndSection - -Section "Device" - Identifier "Tegra0" - Driver "nvidia" - Option "NoLogo" "true" -EndSection - diff --git a/recipes-bsp/binary-drivers/linux-driver-package/xorg.conf.add b/recipes-bsp/binary-drivers/linux-driver-package/xorg.conf.add deleted file mode 100644 index 0abe390..0000000 --- a/recipes-bsp/binary-drivers/linux-driver-package/xorg.conf.add +++ /dev/null @@ -1,11 +0,0 @@ -Section "Monitor" - Identifier "DSI-1" - Option "DPMS" "false" -EndSection - -Section "ServerLayout" - Identifier "ServerLayout0" - Option "StandbyTime" "0" - Option "SuspendTime" "0" - Option "OffTime" "0" -EndSection diff --git a/recipes-bsp/binary-drivers/linux-driver-package_21.7.0.bb b/recipes-bsp/binary-drivers/linux-driver-package_21.7.0.bb deleted file mode 100755 index f64d009..0000000 --- a/recipes-bsp/binary-drivers/linux-driver-package_21.7.0.bb +++ /dev/null @@ -1,194 +0,0 @@ -DESCRIPTION = "NVIDIA Linux Driver Packages" -HOMEPAGE = "https://developer.nvidia.com/" -LICENSE = "Proprietary" - -SRC_URI = " \ - http://developer.download.nvidia.com/embedded/L4T/r21_Release_v7.0/Tegra124_Linux_R21.7.0_armhf.tbz2 \ - file://xorg.conf.add \ - file://nv \ - file://nvfb \ - file://tegra_xusb_firmware \ - file://xorg.conf \ - file://nvfb.service \ - file://nv.service \ -" - -LIC_FILES_CHKSUM = "file://nv_tegra/LICENSE;md5=60ad17cc726658e8cf73578bea47b85f" - -SRC_URI[md5sum] = "2139c0c7ecff94da68aef8a6ad0df20b" -SRC_URI[sha256sum] = "676add1e8e6b2fcf76d97f22f38c9d0cbbe8a92342039a85c8a4c87e8c1ce824" - -PR = "r7" - -inherit ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 'update-rc.d', d)} - -INITSCRIPT_PACKAGES = "${PN}-boot ${PN}-firstboot" - -INITSCRIPT_NAME_${PN}-boot = "nv" -INITSCRIPT_PARAMS_${PN}-boot = "start 41 S . " - -INITSCRIPT_NAME_${PN}-firstboot = "nvfb" -INITSCRIPT_PARAMS_${PN}-firstboot = "start 40 S . " - -DEPENDS = "virtual/libx11 alsa-lib libxext mesa" - -INSANE_SKIP_${PN} = "ldflags" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -S = "${WORKDIR}/Linux_for_Tegra" - -PROVIDES += " \ - virtual/egl \ - virtual/libgl \ - virtual/libgles1 \ - virtual/libgles2 \ -" -RPROVIDES_${PN} = " \ - libegl \ - libgl \ - libgles1 \ - libgles2 \ -" - -PACKAGES =+ "${PN}-firmware ${PN}-boot ${PN}-firstboot" - -INSANE_SKIP_${PN}-dev = "ldflags" - -# We have unversioned shared object, deploy them in the regular packages, -# but deploy the *.so files which are symlinks in the -dev package. -FILES_SOLIBSDEV = "" -FILES_${PN} = "${bindir}/* ${libdir}/* ${sysconfdir}/* ${sysconfdir}/*/*" -FILES_${PN}-dev += " \ - ${libdir}/libcuda.so ${libdir}/libEGL.so ${libdir}/libGLESv1_CM.so \ - ${libdir}/libGLESv2.so ${libdir}/libGL.so \ -" - -RRECOMMENDS_${PN} = "xserver-xorg-module-libwfb" -RDEPENDS_${PN} = "xserver-xorg bash" - -FILES_${PN}-firmware = "${base_libdir}/firmware/* ${base_libdir}/firmware/tegra12x/* " - -INHIBIT_PACKAGE_STRIP = "1" -#INHIBIT_PACKAGE_DEBUG_SPLIT = "1" - -INSANE_SKIP_${PN} += "dev-so" - -do_patch () { - mkdir -p ${WORKDIR}/l4tdrv - tar xjf ${WORKDIR}/Linux_for_Tegra/nv_tegra/config.tbz2 -C ${WORKDIR}/l4tdrv -} - -do_install () { - tar xjf ${WORKDIR}/Linux_for_Tegra/nv_tegra/nvidia_drivers.tbz2 -C ${D} - ln -sf tegra12x ${D}/lib/firmware/gk20a - ln -sf nvavp_vid_ucode_alt.bin ${D}/lib/firmware/nvavp_vid_ucode.bin - mv ${D}/usr/lib/arm-linux-gnueabihf/tegra/lib* ${D}/usr/lib/ - mv ${D}/usr/lib/arm-linux-gnueabihf/tegra-egl/lib* ${D}/usr/lib/ - rm -rf ${D}/usr/lib/arm-linux-gnueabihf/tegra ${D}/usr/lib/arm-linux-gnueabihf/tegra-egl - - rm -f ${D}/usr/lib/xorg/modules/extensions/libglx.so - ln -sf /usr/lib/libglx.so ${D}/usr/lib/xorg/modules/extensions/libglx.so - - cp -r ${WORKDIR}/tegra_xusb_firmware ${D}/lib/firmware/ - ln -sf ./libcuda.so.1.1 ${D}/usr/lib/libcuda.so - ln -sf ./libGL.so.1 ${D}/usr/lib/libGL.so - ln -sf ./libEGL.so.1 ${D}/usr/lib/libEGL.so - ln -sf ./libGLESv1_CM.so.1 ${D}/usr/lib/libGLESv1_CM.so - ln -sf ./libGLESv2.so.2 ${D}/usr/lib/libGLESv2.so - cp ${WORKDIR}/l4tdrv/etc/asound* ${D}/etc/ - cp -r ${WORKDIR}/l4tdrv/etc/udev ${D}/etc/ - mkdir ${D}/etc/X11/ - cp ${WORKDIR}/l4tdrv/etc/X11/xorg.conf* ${D}/etc/X11/ - cat ${WORKDIR}/l4tdrv/etc/X11/xorg.conf.jetson-tk1 ${WORKDIR}/xorg.conf.add > ${D}/etc/X11/xorg.conf.jetson-tk1 - - # install init scripts - install -d ${D}${sysconfdir}/init.d/ - install -m 0755 ${WORKDIR}/nv ${D}${sysconfdir}/init.d/nv - install -m 0755 ${WORKDIR}/nvfb ${D}${sysconfdir}/init.d/nvfb - install -d ${D}${sysconfdir}/nv - touch ${D}${sysconfdir}/nv/nvfirstboot - - cp ${WORKDIR}/xorg.conf ${D}/etc/X11/ - install -d ${D}${systemd_unitdir}/system/ - install -m 0755 ${WORKDIR}/nvfb.service ${D}${systemd_unitdir}/system - install -m 0755 ${WORKDIR}/nv.service ${D}${systemd_unitdir}/system - install -m 0755 ${WORKDIR}/nv ${D}${bindir} - install -m 0755 ${WORKDIR}/nvfb ${D}${bindir} - - NV_SAMPLE=${WORKDIR}/Linux_for_Tegra/nv_tegra/nv_sample_apps - tar xjf ${NV_SAMPLE}/nvgstapps.tbz2 -C ${NV_SAMPLE} - install -d ${D}${bindir} ${D}${libdir}/gstreamer-1.0 ${D}${docdir} - install -m 0755 ${NV_SAMPLE}/usr/bin/nvgstcapture-1.0 ${D}${bindir} - install -m 0755 ${NV_SAMPLE}/usr/bin/nvgstplayer-1.0 ${D}${bindir} - install -m 0755 ${NV_SAMPLE}/nvgstcapture-1.0_README.txt ${D}${docdir} - install -m 0755 ${NV_SAMPLE}/nvgstplayer-1.0_README.txt ${D}${docdir} - - install -m 0755 ${NV_SAMPLE}/usr/lib/arm-linux-gnueabihf/gstreamer-1.0/libgstnvcamera.so ${D}${libdir}/gstreamer-1.0 - install -m 0755 ${NV_SAMPLE}/usr/lib/arm-linux-gnueabihf/gstreamer-1.0/libgstnvvidconv.so ${D}${libdir}/gstreamer-1.0 - install -m 0755 ${NV_SAMPLE}/usr/lib/arm-linux-gnueabihf/gstreamer-1.0/libnvgstjpeg.so ${D}${libdir}/gstreamer-1.0 - - rm -rf ${D}/usr/lib/arm-linux-gnueabihf -} - -# Function to add the relevant ABI dependency to drivers, which should be called# from a PACKAGEFUNC. -python add_xorg_abi_depends() { - mlprefix = d.getVar('MLPREFIX', True) or '' - abi = "%sxorg-abi-%s-%s" % (mlprefix, "video", "19") - - pn = d.getVar("PN", True) - d.appendVar('RDEPENDS_' + pn, ' ' + abi) -} -PACKAGEFUNCS =+ "add_xorg_abi_depends" - -FILES_${PN}-boot = " \ - ${bindir}/nv \ - ${sysconfdir}/init.d/nv \ - ${systemd_unitdir}/system/nv.service \ -" - -FILES_${PN}-firstboot = "\ - ${bindir}/nvfb \ - ${sysconfdir}/init.d/nvfb \ - ${sysconfdir}/nv/nvfirstboot \ - ${systemd_unitdir}/system/nvfb.service \ -" - -# deploy additional binaries from the nv_gst_apps tarball -PACKAGES_prepend = "${PN}-gstnvcamera ${PN}-gstnvvidconv-1.0 ${PN}-nvgstjpeg-1.0 ${PN}-nvgstapps " -RRECOMMENDS_${PN}_append = " ${PN}-gstnvcamera ${PN}-gstnvvidconv-1.0 ${PN}-nvgstjpeg-1.0 ${PN}-nvgstapps" - -RDEPENDS_${PN}-gstnvcamera = "glib-2.0 gstreamer1.0 libgstvideo-1.0" -RDEPENDS_${PN}-gstnvvidconv-1.0 = "glib-2.0 gstreamer1.0 libgstvideo-1.0" -RDEPENDS_${PN}-nvgstjpeg-1.0 = "glib-2.0 gstreamer1.0 libgstvideo-1.0" -RDEPENDS_${PN}-nvgstapps = "glib-2.0 gstreamer1.0 libgstpbutils-1.0 libgstvideo-1.0" - -FILES_${PN}-gstnvcamera = " \ - ${libdir}/gstreamer-1.0/libgstnvcamera.so \ -" - -FILES_${PN}-gstnvvidconv-1.0 = " \ - ${libdir}/gstreamer-1.0/libgstnvvidconv.so \ -" - -FILES_${PN}-nvgstjpeg-1.0 = " \ - ${libdir}/gstreamer-1.0/libnvgstjpeg.so \ -" - -FILES_${PN}-nvgstapps = " \ - ${bindir}/nvgstcapture-1.0 \ - ${bindir}/nvgstplayer-1.0 \ - ${docdir}/nvgst*README.txt \ -" - -#no gnu_hash in NVIDIA binaries, skip QA dev-so for this package -#we have symlinks ending in .so, skip QA ldflags for this package -#inhibit warnings about files being stripped -INSANE_SKIP_${PN} = "build-deps dev-so ldflags already-stripped textrel" -INSANE_SKIP_${PN}-gstnvcamera = "build-deps dev-so ldflags already-stripped textrel" -INSANE_SKIP_${PN}-gstnvvidconv-1.0 = "build-deps dev-so ldflags already-stripped textrel" -INSANE_SKIP_${PN}-nvgstjpeg-1.0 = "build-deps dev-so ldflags already-stripped textrel" -INSANE_SKIP_${PN}-nvgstapps = "build-deps dev-so ldflags already-stripped textrel" - -SYSTEMD_AUTO_ENABLE = "enable" -SYSTEMD_SERVICE_${PN} = "nv.service nvfb.service" diff --git a/recipes-bsp/binary-drivers/opencv4tegra_21.5.0.bb b/recipes-bsp/binary-drivers/opencv4tegra_21.5.0.bb deleted file mode 100644 index b12c501..0000000 --- a/recipes-bsp/binary-drivers/opencv4tegra_21.5.0.bb +++ /dev/null @@ -1,45 +0,0 @@ -DESCRIPTION = "NVIDIA OpenCV4Tegra for L4T 21.x Packages" -HOMEPAGE = "https://developer.nvidia.com/" -LICENSE = "Proprietary" - -SRC_URI = "http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/003/linux-x64/libopencv4tegra-repo_2.4.13_armhf_l4t-r21.deb" - -LIC_FILES_CHKSUM = "file://usr/share/doc/libopencv4tegra-repo/copyright;md5=99d8c0c1313afdf990f6407c07a88407" - -SRC_URI[md5sum] = "0db305a4d24a9211606bb1fb8ec2d480" -SRC_URI[sha256sum] = "9bfa9d5df0c3218f5b4000c8d9d50d136cd8e6ad82384b7781719deb7093ae21" - -DEPENDS = "dpkg-native tiff zlib jpeg glib-2.0 python gtk+ libpng12 jasper libav cudatoolkit6.5" - -INSANE_SKIP_${PN} = "ldflags" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -S = "${WORKDIR}/opencv4tegra" - -INSANE_SKIP_${PN}-dev = "ldflags" - -FILES_${PN} = "${bindir}/* \ - ${datadir}/OpenCV/* \ - ${datadir}/lintian/* \ - ${libdir}/*" - -INHIBIT_PACKAGE_STRIP = "1" - -INSANE_SKIP_${PN} += "already-stripped dev-so" - -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}/opencv4tegra/usr ${D} - dpkg -x ${WORKDIR}/opencv4tegra/var/libopencv4tegra-repo/libopencv4tegra_2.4.13_armhf.deb ${D} - dpkg -x ${WORKDIR}/opencv4tegra/var/libopencv4tegra-repo/libopencv4tegra-dev_2.4.13_armhf.deb ${D} - dpkg -x ${WORKDIR}/opencv4tegra/var/libopencv4tegra-repo/libopencv4tegra-python_2.4.13_armhf.deb ${D} -} |