From 179e4188a38ccc086f8b23201fa1594ea9ba0c0f Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Sun, 17 May 2020 11:09:41 +0200 Subject: apalis-tk1: drop machine The downstream kernel gets to old to be used with the new zeus userspace components. Drop the machine. Related-to: ELB-2733 Signed-off-by: Max Krummenacher (cherry picked from commit d13caaba2d90f856b944ebde44967b679d3eb3a9) --- recipes-kernel/linux/linux-toradex_3.10.40.bb | 54 --------------------------- recipes-kernel/perf/perf.bbappend | 18 --------- 2 files changed, 72 deletions(-) delete mode 100644 recipes-kernel/linux/linux-toradex_3.10.40.bb delete mode 100644 recipes-kernel/perf/perf.bbappend (limited to 'recipes-kernel') diff --git a/recipes-kernel/linux/linux-toradex_3.10.40.bb b/recipes-kernel/linux/linux-toradex_3.10.40.bb deleted file mode 100644 index 8e0b2e9..0000000 --- a/recipes-kernel/linux/linux-toradex_3.10.40.bb +++ /dev/null @@ -1,54 +0,0 @@ -SUMMARY = "Linux Kernel for Toradex Tegra124 based modules" -SECTION = "kernel" -LICENSE = "GPLv2" - -LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" - -inherit kernel siteinfo toradex-kernel-localversion - -LINUX_VERSION ?= "3.10.40" - -SRCREV = "063d16eceb570adeb1ae753d73d13f299cefe876" -SRCREV_use-head-next = "${AUTOREV}" - -PV = "${LINUX_VERSION}+gitr${SRCPV}" -S = "${WORKDIR}/git" -SRCBRANCH = "toradex_tk1_l4t_r21.7" -SRCBRANCH_use-head-next = "toradex_tk1_l4t_r21.7-next" -SRC_URI = "git://git.toradex.com/linux-toradex.git;protocol=git;branch=${SRCBRANCH}" - -COMPATIBLE_MACHINE = "apalis-tk1" - -KERNEL_MODULE_AUTOLOAD += "xhci-hcd" - -# since thud modules no longer load without this -# [ 9.302483] apalis_tk1_k20: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0) -KERNEL_EXTRA_ARGS_append = "CFLAGS_MODULE=-fno-pic" - -# One possibiltiy for changes to the defconfig: -config_script () { -# #example change to the .config -# #sets CONFIG_TEGRA_CAMERA unconditionally to 'y' -# sed -i -e /CONFIG_TEGRA_CAMERA/d ${B}/.config -# echo "CONFIG_TEGRA_CAMERA=y" >> ${B}/.config - echo "dummy" > /dev/null -} - -do_configure_prepend () { - #use the defconfig provided in the kernel source tree - #assume its called ${MACHINE}_defconfig, but with '_' instead of '-' - DEFCONFIG="`echo ${MACHINE} | sed -e 's/$/_defconfig/'`" - - cd ${S} - export KBUILD_OUTPUT=${B} - oe_runmake $DEFCONFIG - - #maybe change some configuration - config_script - - cd - > /dev/null -} - -do_uboot_mkimage_prepend() { - cd ${B} -} diff --git a/recipes-kernel/perf/perf.bbappend b/recipes-kernel/perf/perf.bbappend deleted file mode 100644 index 613619b..0000000 --- a/recipes-kernel/perf/perf.bbappend +++ /dev/null @@ -1,18 +0,0 @@ -# Unfortunately perf in such obsolete kernels is not yet as nicely separated -# therefore just copy over some more stuff for it to compile again -PERF_SRC_LEGACY_TEGRAS = "Makefile \ - arch/arm/include \ - include \ - lib \ - tools \ -" -PERF_SRC_tegra124 = "${PERF_SRC_LEGACY_TEGRAS}" - -do_configure_prepend_tegra124 () { - sed -i 's$I/usr/include/slang$I=/usr/include/slang$' tools/perf/Makefile -} - -# scripting is confiugred to use python3, however this requires a build -# against a kernel of version 5.x and later or a patch to the kernel. -# see also https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-kernel/perf?id=92469aad50b623afa423c19d82ed2e3c667c5e6a -PACKAGECONFIG_remove_tegra124 = "scripting" -- cgit v1.2.3