mirror of
				https://github.com/lingble/meta-tegra.git
				synced 2025-11-01 04:47:50 +00:00 
			
		
		
		
	tegra-binaries: retire r23.x recipes
This commit is contained in:
		| @@ -1,53 +0,0 @@ | |||||||
| require tegra-binaries-${PV}.inc |  | ||||||
| require tegra-shared-binaries.inc |  | ||||||
|  |  | ||||||
| COMPATIBLE_HOST = "(arm.*)" |  | ||||||
| COMPATIBLE_MACHINE = "(jetson-tx1)" |  | ||||||
|  |  | ||||||
| DEPENDS = "\ |  | ||||||
| 	gstreamer1.0-plugins-base \ |  | ||||||
| 	${@bb.utils.contains('DISTRO_FEATURES', ['x11', 'alsa'], 'virtual/libx11 alsa-lib', '', d)} \ |  | ||||||
| " |  | ||||||
|  |  | ||||||
| do_configure() { |  | ||||||
|     tar -C ${B} -x -f ${S}/nv_tegra/nv_sample_apps/nvgstapps.tbz2 |  | ||||||
| } |  | ||||||
|  |  | ||||||
| do_compile[noexec] = "1" |  | ||||||
|  |  | ||||||
| LIBROOT = "${B}/usr/lib/arm-linux-gnueabihf" |  | ||||||
|  |  | ||||||
| NVGSTPLAYER = "${@bb.utils.contains('DISTRO_FEATURES', ['x11', 'alsa'], 'nvgstplayer', '', d)}" |  | ||||||
|  |  | ||||||
| do_install() { |  | ||||||
|     install -d ${D}${bindir} |  | ||||||
|     install -m 0755 ${B}/usr/bin/nvgstcapture-1.0 ${D}${bindir} |  | ||||||
|     if [ -n "${NVGSTPLAYER}" ]; then |  | ||||||
|         install -m 0755 ${B}/usr/bin/nvgstplayer-1.0 ${D}${bindir} |  | ||||||
|     fi |  | ||||||
|     install -d ${D}${libdir}/gstreamer-1.0 |  | ||||||
|     install -m 0644 ${LIBROOT}/libgstnvegl-1.0.so.0 ${D}${libdir} |  | ||||||
|     install -m 0644 ${LIBROOT}/libsample_process.so ${D}${libdir} |  | ||||||
|     for f in ${LIBROOT}/gstreamer-1.0/lib*; do |  | ||||||
|         install -m 0644 $f ${D}${libdir}/gstreamer-1.0/ |  | ||||||
|     done |  | ||||||
|     rm -f ${D}${libdir}/gstreamer-1.0/libgstnveglglessink.so* |  | ||||||
|     rm -f ${D}${libdir}/gstreamer-1.0/libgstomx.so* |  | ||||||
| } |  | ||||||
|  |  | ||||||
| PACKAGES = "nvgstcapture ${NVGSTPLAYER} ${PN}" |  | ||||||
| FILES_nvgstcapture = "${bindir}/nvgstcapture-1.0" |  | ||||||
| RDEPENDS_nvgstcapture = "${PN} libgstpbutils-1.0" |  | ||||||
| FILES_nvgstplayer = "${bindir}/nvgstplayer-1.0" |  | ||||||
| RDEPENDS_nvgstplayer = "${PN}" |  | ||||||
| FILES_${PN} = "${libdir}" |  | ||||||
| DEBIAN_NOAUTONAME_${PN} = "1" |  | ||||||
|  |  | ||||||
| INHIBIT_PACKAGE_STRIP = "1" |  | ||||||
| INHIBIT_SYSROOT_STRIP = "1" |  | ||||||
| INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |  | ||||||
| INSANE_SKIP_${PN} = "dev-so ldflags build-deps" |  | ||||||
| INSANE_SKIP_${PN}-dev = "ldflags build-deps" |  | ||||||
| INSANE_SKIP_${MLPREFIX}nvgstcapture = "ldflags build-deps" |  | ||||||
| INSANE_SKIP_${MLPREFIX}nvgstplayer = "ldflags build-deps" |  | ||||||
| RDEPENDS_${PN} = "gstreamer1.0 gstreamer1.0-plugins-good-jpeg tegra-libraries" |  | ||||||
| @@ -1,14 +0,0 @@ | |||||||
| LICENSE = "Proprietary" |  | ||||||
| LIC_FILES_CHKSUM = "file://nv_tegra/LICENSE;md5=60ad17cc726658e8cf73578bea47b85f \ |  | ||||||
|                     file://nv_tegra/LICENSE.brcm_patchram_plus;md5=38fb07f0dacf4830bc57f40a0fb7532e" |  | ||||||
|  |  | ||||||
| SRC_URI = "http://developer.download.nvidia.com/embedded/L4T/r23_Release_v1.0/Tegra210_Linux_R${PV}_armhf.tbz2" |  | ||||||
| SRC_URI[md5sum] = "4773c4aff47f464f0a6eb2a8342b05e7" |  | ||||||
| SRC_URI[sha256sum] = "aacb0b1e9571df43621a6fd32101f8f52f9387ecb84e96930fb5682a68676c15" |  | ||||||
| SRC_URI += "file://xorg.conf" |  | ||||||
|  |  | ||||||
| S = "${TMPDIR}/work-shared/tegra-binaries-${PV}-${PR}/Linux_for_Tegra" |  | ||||||
| B = "${WORKDIR}/build" |  | ||||||
|  |  | ||||||
| INHIBIT_PACKAGE_STRIP = "1" |  | ||||||
| INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |  | ||||||
| @@ -1,31 +0,0 @@ | |||||||
| SUMMARY = "NVIDIA L4T binaries" |  | ||||||
| DESCRIPTION = "Downloads NVIDIA L4T binary-only packages for sharing with other recipes" |  | ||||||
| SECTION = "base" |  | ||||||
|  |  | ||||||
| require tegra-binaries-${PV}.inc |  | ||||||
|  |  | ||||||
| WORKDIR = "${TMPDIR}/work-shared/tegra-binaries-${PV}-${PR}" |  | ||||||
| SSTATE_SWSPEC = "sstate::tegra-binaries::${PV}:${PR}::${SSTATE_VERSION}:" |  | ||||||
| STAMP = "${STAMPS_DIR}/work-shared/tegra-binaries-${PV}-${PR}" |  | ||||||
| STAMPCLEAN = "${STAMPS_DIR}/work-shared/tegra-binaries-${PV}-*" |  | ||||||
|  |  | ||||||
| INHIBIT_DEFAULT_DEPS = "1" |  | ||||||
| DEPENDS = "" |  | ||||||
| PACKAGES = "" |  | ||||||
|  |  | ||||||
| deltask do_configure |  | ||||||
| deltask do_compile |  | ||||||
| deltask do_package |  | ||||||
| deltask do_package_write_rpm |  | ||||||
| deltask do_package_write_ipk |  | ||||||
| deltask do_package_write_deb |  | ||||||
| deltask do_install |  | ||||||
| deltask do_populate_sysroot |  | ||||||
| deltask do_package_qa |  | ||||||
| deltask do_packagedata |  | ||||||
| deltask do_rm_work |  | ||||||
|  |  | ||||||
| do_preconfigure() { |  | ||||||
|     cp ${WORKDIR}/xorg.conf ${S} |  | ||||||
| } |  | ||||||
| addtask preconfigure after do_patch |  | ||||||
| @@ -1,19 +0,0 @@ | |||||||
| require tegra-binaries-${PV}.inc |  | ||||||
| require tegra-shared-binaries.inc |  | ||||||
|  |  | ||||||
| COMPATIBLE_HOST = "(arm.*)" |  | ||||||
| COMPATIBLE_MACHINE = "(jetson-tx1)" |  | ||||||
|  |  | ||||||
| do_configure() { |  | ||||||
|     tar -C ${B} -x -f ${S}/nv_tegra/nvidia_drivers.tbz2 usr/sbin |  | ||||||
| } |  | ||||||
|  |  | ||||||
| do_compile[noexec] = "1" |  | ||||||
|  |  | ||||||
| do_install() { |  | ||||||
|     install -d ${D}${sbindir} |  | ||||||
|     install -m 0755 ${B}/usr/sbin/brcm_patchram_plus ${D}${sbindir} |  | ||||||
| } |  | ||||||
|  |  | ||||||
| PACKAGES = "${PN}" |  | ||||||
| FILES_${PN}-brcm-patchram = "${sbindir}/brcm_patchram_plus" |  | ||||||
| @@ -1,20 +0,0 @@ | |||||||
| require tegra-binaries-${PV}.inc |  | ||||||
| require tegra-shared-binaries.inc |  | ||||||
|  |  | ||||||
| COMPATIBLE_MACHINE = "(jetson-tx1)" |  | ||||||
| PACKAGE_ARCH = "${MACHINE_ARCH}" |  | ||||||
|  |  | ||||||
| do_configure() { |  | ||||||
|     tar -C ${B} -x -f ${S}/nv_tegra/nvidia_drivers.tbz2 lib/firmware |  | ||||||
| } |  | ||||||
|  |  | ||||||
| do_compile[noexec] = "1" |  | ||||||
|  |  | ||||||
| do_install() { |  | ||||||
|     install -d ${D}/lib |  | ||||||
|     cp -R -f ${B}/lib/firmware ${D}/lib/ |  | ||||||
| } |  | ||||||
|  |  | ||||||
| PACKAGES = "${PN}-brcm ${PN}" |  | ||||||
| FILES_${PN}-brcm = "/lib/firmware/brcm /lib/firmware/bcm4354.hcd" |  | ||||||
| FILES_${PN} = "/lib/firmware/tegra21x*" |  | ||||||
| @@ -1,46 +0,0 @@ | |||||||
| require tegra-binaries-${PV}.inc |  | ||||||
| require tegra-shared-binaries.inc |  | ||||||
|  |  | ||||||
| COMPATIBLE_HOST = "(arm.*)" |  | ||||||
| COMPATIBLE_MACHINE = "(jetson-tx1)" |  | ||||||
|  |  | ||||||
| DEPENDS = "mesa" |  | ||||||
|  |  | ||||||
| do_configure() { |  | ||||||
|     tar -C ${B} -x -f ${S}/nv_tegra/nvidia_drivers.tbz2 usr/lib usr/sbin |  | ||||||
| } |  | ||||||
|  |  | ||||||
| do_compile[noexec] = "1" |  | ||||||
|  |  | ||||||
| DRVROOT = "${B}/usr/lib/arm-linux-gnueabihf" |  | ||||||
|  |  | ||||||
| do_install() { |  | ||||||
|     install -d ${D}${libdir} |  | ||||||
|     for f in ${DRVROOT}/tegra/lib*; do     |  | ||||||
|         install -m 0644 $f ${D}${libdir} |  | ||||||
|     done |  | ||||||
|     for f in ${DRVROOT}/tegra-egl/lib*; do     |  | ||||||
|         install -m 0644 $f ${D}${libdir} |  | ||||||
|     done |  | ||||||
|     ln -sf libcuda.so.1.1 ${D}${libdir}/libcuda.so |  | ||||||
|     ln -sf libGL.so.1 ${D}${libdir}/libGL.so |  | ||||||
|     ln -sf libEGL.so.1 ${D}${libdir}/libEGL.so |  | ||||||
|     ln -sf libGLESv1_CM.so.1 ${D}${libdir}/libGLESv1_CM.so |  | ||||||
|     ln -sf libGLESv2.so.2 ${D}${libdir}/libGLESv2.so |  | ||||||
|     # nvcamera_daemon only looks in this special subdir, so symlink it |  | ||||||
|     install -d ${D}${libdir}/arm-linux-gnueabihf |  | ||||||
|     ln -snf ${libdir} ${D}${libdir}/arm-linux-gnueabihf/tegra-egl |  | ||||||
|     install -d ${D}${sbindir} |  | ||||||
|     install -m755 ${B}${sbindir}/nvcamera-daemon ${D}${sbindir}/ |  | ||||||
| } |  | ||||||
|  |  | ||||||
| PACKAGES = "${PN}" |  | ||||||
| PROVIDES += "virtual/libgl virtual/libgles1 virtual/libgles2 virtual/egl" |  | ||||||
|  |  | ||||||
| FILES_${PN} = "${libdir} ${sbindir}" |  | ||||||
| RDEPENDS_${PN} = "alsa-lib" |  | ||||||
|  |  | ||||||
| INSANE_SKIP_${PN} = "dev-so textrel ldflags build-deps" |  | ||||||
| INHIBIT_PACKAGE_STRIP = "1" |  | ||||||
| INHIBIT_SYSROOT_STRIP = "1" |  | ||||||
| INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |  | ||||||
| @@ -1,26 +0,0 @@ | |||||||
| require tegra-binaries-${PV}.inc |  | ||||||
| require tegra-shared-binaries.inc |  | ||||||
|  |  | ||||||
| COMPATIBLE_MACHINE = "(jetson-tx1)" |  | ||||||
|  |  | ||||||
| do_configure() { |  | ||||||
|     tar -C ${B} -x -f ${S}/nv_tegra/config.tbz2 |  | ||||||
|     if [ ! -f ${B}/usr/sbin/camera_device_detect ]; then |  | ||||||
|         mkdir -p ${B}/usr/sbin |  | ||||||
|         echo "#!/bin/sh" >${B}/usr/sbin/camera_device_detect |  | ||||||
|     fi |  | ||||||
| } |  | ||||||
|  |  | ||||||
| do_compile[noexec] = "1" |  | ||||||
|  |  | ||||||
| do_install() { |  | ||||||
|     install -d ${D}/${sysconfdir}/udev/rules.d |  | ||||||
|     install -m 0644 ${B}/etc/udev/rules.d/99-tegra-devices.rules ${D}${sysconfdir}/udev/rules.d |  | ||||||
|     install -m 0644 ${B}/etc/udev/rules.d/99-tegra-mmc-ra.rules ${D}${sysconfdir}/udev/rules.d |  | ||||||
|     install -d ${D}${sbindir} |  | ||||||
|     install -m 0755 ${B}/usr/sbin/camera_device_detect ${D}${sbindir}/ |  | ||||||
| } |  | ||||||
|  |  | ||||||
| PACKAGES = "${PN}" |  | ||||||
| FILES_${PN} = "${sysconfdir} ${sbindir}" |  | ||||||
| RDEPENDS_${PN} = "udev" |  | ||||||
| @@ -1,33 +0,0 @@ | |||||||
| require tegra-binaries-${PV}.inc |  | ||||||
| require tegra-shared-binaries.inc |  | ||||||
|  |  | ||||||
| COMPATIBLE_HOST = "(arm.*)" |  | ||||||
| COMPATIBLE_MACHINE = "(jetson-tx1)" |  | ||||||
|  |  | ||||||
| do_configure() { |  | ||||||
|     tar -C ${B} -x -f ${S}/nv_tegra/nvidia_drivers.tbz2 usr/lib/xorg |  | ||||||
| } |  | ||||||
|  |  | ||||||
| do_compile[noexec] = "1" |  | ||||||
|  |  | ||||||
| DRVROOT = "${B}/usr/lib/xorg/modules" |  | ||||||
|  |  | ||||||
| do_install() { |  | ||||||
|     install -d ${D}${libdir}/xorg/modules/drivers |  | ||||||
|     install -m 0644 ${DRVROOT}/drivers/nvidia_drv.so ${D}${libdir}/xorg/modules/drivers/ |  | ||||||
|     install -d ${D}${libdir}/xorg/modules/extensions |  | ||||||
|     install -m 0644 ${DRVROOT}/extensions/libglx.so ${D}${libdir}/xorg/modules/extensions/ |  | ||||||
|     install -d ${D}${datadir}/X11/xorg.conf.d |  | ||||||
|     install -m 0644 ${S}/xorg.conf ${D}${datadir}/X11/xorg.conf.d/00-tegra-xorg.conf |  | ||||||
| } |  | ||||||
|  |  | ||||||
| PACKAGES = "${PN}" |  | ||||||
| RDEPENDS_${PN} = "tegra-libraries" |  | ||||||
| FILES_${PN} = "${libdir} ${datadir}" |  | ||||||
| RPROVIDES_${PN} += "xserver-xorg-extension-glx" |  | ||||||
| RCONFLICTS_${PN} = "xserver-xorg-extension-glx" |  | ||||||
|  |  | ||||||
| INSANE_SKIP_${PN} = "dev-so textrel ldflags xorg-driver-abi" |  | ||||||
| INHIBIT_PACKAGE_STRIP = "1" |  | ||||||
| INHIBIT_SYSROOT_STRIP = "1" |  | ||||||
| INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |  | ||||||
		Reference in New Issue
	
	Block a user
	 Matt Madison
					Matt Madison