meta: remove tegra124/jetson-tk1-specific overrides

and bbappends that were specific to that platform.

Signed-off-by: Matt Madison <matt@madison.systems>
This commit is contained in:
Matt Madison
2019-09-08 07:45:14 -07:00
parent d9bb2317aa
commit f10cf2af9d
23 changed files with 0 additions and 67 deletions

View File

@@ -1,4 +1,3 @@
TEGRA_PLUGINS ?= ""
TEGRA_PLUGINS_tegra = "tegra-libraries-libv4l-plugins"
TEGRA_PLUGINS_tegra124 = ""
RRECOMMENDS_libv4l += "${TEGRA_PLUGINS}"

View File

@@ -3,15 +3,4 @@ inherit cuda
EXTRA_OECMAKE_append_tegra210 = ' -DWITH_CUDA=ON -DCUDA_ARCH_BIN="5.3" -DCUDA_ARCH_PTX=""'
EXTRA_OECMAKE_append_tegra186 = ' -DWITH_CUDA=ON -DCUDA_ARCH_BIN="6.2" -DCUDA_ARCH_PTX=""'
# See here (https://docs.opencv.org/trunk/d6/d15/tutorial_building_tegra_cuda.html)
# for the recommended flags.
# Standard opencv_3.3 recipe from meta-oe does not include OpenMP, so I'm adding it here.
EXTRA_OECMAKE_append_tegra124 = ' \
-DWITH_CUDA=ON \
-DCUDA_ARCH_BIN="3.2" \
-DCUDA_ARCH_PTX="" \
-DENABLE_NEON=ON \
-DWITH_OPENMP=ON \
'
EXTRA_OECMAKE_append = " -DOPENCV_GENERATE_PKGCONFIG=ON"

View File

@@ -41,4 +41,3 @@ INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
COMPATIBLE_MACHINE = "tegra"
COMPATIBLE_MACHINE_tegra124 = "(-)"

View File

@@ -2,7 +2,6 @@ require tegra-binaries-${PV}.inc
require tegra-shared-binaries.inc
COMPATIBLE_MACHINE = "(tegra)"
COMPATIBLE_MACHINE_tegra124 = "(-)"
INHIBIT_DEFAULT_DEPS = "1"
DEPENDS = "${SOC_FAMILY}-flashtools-native dtc-native sdcard-layout"
DEPENDS_append_tegra186 = " tegra-flashvars"

View File

@@ -4,7 +4,6 @@ require tegra-shared-binaries.inc
DESCRIPTION = "NVIDIA Power Hinting Service"
COMPATIBLE_MACHINE = "(tegra)"
COMPATIBLE_MACHINE_tegra124 = "(-)"
NVPHSD_MACHINE_CONF = "nvphsd.conf"
NVPHSD_MACHINE_CONF_tegra186 = "nvphsd.conf.t186"
NVPHSD_MACHINE_CONF_tegra194 = "nvphsd.conf.t194"

View File

@@ -4,7 +4,6 @@ require tegra-shared-binaries.inc
DESCRIPTION = "nvpmodel tool and configuration files"
COMPATIBLE_MACHINE = "(tegra)"
COMPATIBLE_MACHINE_tegra124 = "(-)"
do_configure() {
tar -C ${B} -x -f ${S}/nv_tegra/nv_tools.tbz2

View File

@@ -4,7 +4,6 @@ require tegra-shared-binaries.inc
DESCRIPTION = "NVIDIA sensor HAL daemon"
COMPATIBLE_MACHINE = "(tegra)"
COMPATIBLE_MACHINE_tegra124 = "(-)"
do_configure() {
tar -C ${B} -x -f ${S}/nv_tegra/nvidia_drivers.tbz2 usr/sbin/nvs-service

View File

@@ -30,5 +30,4 @@ python do_unpack() {
}
COMPATIBLE_MACHINE = "tegra"
COMPATIBLE_MACHINE_tegra124 = "(-)"
PACKAGE_ARCH = "${SOC_FAMILY_PKGARCH}"

View File

@@ -14,5 +14,4 @@ SRC_URI[sha256sum] = "3a8bcbd19b102fc4daae6ea00648eae5e65c48e8656e93008072abd373
do_unpack[depends] += "xz-native:do_populate_sysroot"
COMPATIBLE_MACHINE = "(tegra)"
COMPATIBLE_MACHINE_tegra124 = "(-)"

View File

@@ -4,7 +4,6 @@ LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://EULA.txt;md5=049f8f2a31b8c3cc436cc63f0a72c9c9"
COMPATIBLE_MACHINE = "(tegra)"
COMPATIBLE_MACHINE_tegra124 = "(-)"
do_fetch[noexec] = "1"
do_unpack[depends] += "${MLPREFIX}cuda-binaries:do_preconfigure dpkg-native:do_populate_sysroot"

View File

@@ -97,5 +97,4 @@ sysroot_stage_dirs_append() {
}
COMPATIBLE_MACHINE = "(tegra)"
COMPATIBLE_MACHINE_tegra124 = "(-)"
PACKAGE_ARCH = "${SOC_FAMILY_PKGARCH}"

View File

@@ -23,7 +23,6 @@ do_compile[noexec] = "1"
do_install[noexec] = "1"
COMPATIBLE_MACHINE = "tegra"
COMPATIBLE_MACHINE_tegra124 = "(-)"
PACKAGE_ARCH = "${SOC_FAMILY_PKGARCH}"
PACKAGES = "${PN}"

View File

@@ -16,7 +16,6 @@ SRC_URI[dev.sha256sum] = "dc3f17b3d3a3db983389784b0902d32651f0b7d1b35a903385d2cc
SRC_URI[doc.md5sum] = "f9e43d15ff69d65a85d2aade71a43870"
SRC_URI[doc.sha256sum] = "5df29804608ddc34d90d116e99b752bd3a2fb569c4c3fa36964018b5ae0b18f8"
COMPATIBLE_MACHINE = "(tegra)"
COMPATIBLE_MACHINE_tegra124 = "(-)"
PACKAGE_ARCH = "${SOC_FAMILY_PKGARCH}"
def extract_basever(d):

View File

@@ -35,7 +35,6 @@ SRC_URI[samples.md5sum] = "${SAMPMD5SUM}"
SRC_URI[samples.sha256sum] = "${SAMPSHA256SUM}"
COMPATIBLE_MACHINE = "(tegra)"
COMPATIBLE_MACHINE_tegra124 = "(-)"
LIC_FILES_CHKSUM = "file://usr/include/aarch64-linux-gnu/NvInfer.h;endline=48;md5=1755df325a6e1ac8515b1e469efe07a7"

View File

@@ -18,7 +18,6 @@ CUDAPATH ?= "/usr/local/cuda-${CUDA_VERSION}"
DEPENDS = "dpkg-native cuda-cudart patchelf-native libvisionworks"
COMPATIBLE_MACHINE = "(tegra)"
COMPATIBLE_MACHINE_tegra124 = "(-)"
do_compile() {
dpkg-deb --extract ${S}/var/visionworks-sfm-repo/libvisionworks-sfm_${PV}_arm64.deb ${B}

View File

@@ -16,7 +16,6 @@ CUDAPATH ?= "/usr/local/cuda-${CUDA_VERSION}"
DEPENDS = "dpkg-native cuda-cudart patchelf-native libvisionworks"
COMPATIBLE_MACHINE = "(tegra)"
COMPATIBLE_MACHINE_tegra124 = "(-)"
do_compile() {
dpkg-deb --extract ${S}/var/visionworks-tracking-repo/libvisionworks-tracking_${PV}_arm64.deb ${B}

View File

@@ -16,7 +16,6 @@ CUDAPATH ?= "/usr/local/cuda-${CUDA_VERSION}"
DEPENDS = "dpkg-native cuda-cudart patchelf-native"
COMPATIBLE_MACHINE = "tegra"
COMPATIBLE_MACHINE_tegra124 = "(-)"
do_compile() {
dpkg-deb --extract ${S}/var/visionworks-repo/libvisionworks_${PV}_arm64.deb ${B}

View File

@@ -11,7 +11,6 @@ SRC_URI = "git://github.com/NVIDIA/libglvnd \
SRCREV = "bc9990b7bede44899627354d0c356f48950f4ad1"
COMPATIBLE_MACHINE = "(tegra)"
COMPATIBLE_MACHINE_tegra124 = "(-)"
REQUIRED_DISTRO_FEATURES = "opengl"

View File

@@ -2,19 +2,16 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
GLHDRS_PATCH = ""
GLHDRS_PATCH_tegra = "file://egl-gles2-nv-extensions.patch"
GLHDRS_PATCH_tegra124 = ""
SRC_URI += "${GLHDRS_PATCH}"
TEGRADEPS = ""
TEGRADEPS_tegra = "tegra-mmapi-glheaders tegra-libraries"
TEGRADEPS_tegra124 = "tegra-libraries"
DEPENDS += "${TEGRADEPS}"
PACKAGECONFIG[glvnd] = "-Dglvnd=true,-Dglvnd=false,libglvnd"
GLVNDCFG = ""
GLVNDCFG_tegra = " glvnd"
GLVNDCFG_tegra124 = ""
PACKAGECONFIG_append_class-target = "${GLVNDCFG}"
PACKAGECONFIG_remove_class-target_tegra = "glx-tls"
EXTRA_OEMESON_append_tegra = " -Ddri-drivers='' -Ddri3=false"

View File

@@ -1,18 +1,5 @@
KERNEL_AWKSCRIPTDIRS ?= "scripts tools arch/*/tools"
do_install_prepend_tegra124() {
touch ${S}/Build
if [ ! -e ${S}/arch/arm/kernel/module.lds ]; then
touch ${S}/arch/arm/kernel/module.lds
remove_module_lds=yes
fi
if [ ! -d ${S}/arch/x86/entry ]; then
mkdir -p ${S}/arch/x86/entry/syscalls
touch ${S}/arch/x86/entry/syscalls/syscall_32.tbl
remove_arch_x86_entry=yes
fi
}
do_install_append() {
(
cd $kerneldir/build
@@ -21,13 +8,3 @@ do_install_append() {
done
)
}
do_install_append_tegra124() {
rm -f ${S}/Build $kerneldir/build/Build
if [ "$remove_module_lds" = "yes" ]; then
rm -f ${S}/arch/arm/kernel/module.lds $kerneldir/build/arch/arm/kernel/module.lds
fi
if [ "$remove_arch_x86_entry" = "yes" ]; then
rm -rf ${S}/arch/x86/entry kerneldir/build/arch/x86/entry
fi
}

View File

@@ -33,6 +33,5 @@ do_configure_prepend() {
}
COMPATIBLE_MACHINE = "(tegra)"
COMPATIBLE_MACHINE_tegra124 = "(-)"
RDEPENDS_${KERNEL_PACKAGE_NAME}-base = "${@'' if d.getVar('PREFERRED_PROVIDER_virtual/bootloader').startswith('cboot') else '${KERNEL_PACKAGE_NAME}-image'}"

View File

@@ -18,7 +18,6 @@ S = "${WORKDIR}/tegra_multimedia_api"
B = "${S}"
COMPATIBLE_MACHINE = "(tegra)"
COMPATIBLE_MACHINE_tegra124 = "(-)"
PACKAGE_ARCH = "${SOC_FAMILY_PKGARCH}"

View File

@@ -1,11 +0,0 @@
EXTRA_OECONF_append_tegra124 = " --disable-memfd"
do_install_append_tegra124() {
rm ${D}${sysconfdir}/pulse/default.pa
}
RCONFDEPS = ""
RCONFDEPS_tegra124 = "tegra-configs-pulseaudio"
RDEPENDS_pulseaudio-server += "${RCONFDEPS}"
PACKAGE_ARCH_tegra124 = "${SOC_FAMILY_PKGARCH}"