diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2020-08-05 18:31:00 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-08-20 18:27:45 +0200 |
commit | ba73331edf09712044d4aef768a6c3f66641a8ee (patch) | |
tree | 0502d9aa7486ad26a045cca10a9ad703754e2d10 /recipes-kernel/linux/linux-toradex_5.4-2.1.x.bb | |
parent | 2bdea7ee2decafd218c989114972235095093412 (diff) |
linux-toradex: update downstream to 5.4-2.1.x
Related-to: ELB-2758
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-kernel/linux/linux-toradex_5.4-2.1.x.bb')
-rw-r--r-- | recipes-kernel/linux/linux-toradex_5.4-2.1.x.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex_5.4-2.1.x.bb b/recipes-kernel/linux/linux-toradex_5.4-2.1.x.bb new file mode 100644 index 0000000..7a2f5e3 --- /dev/null +++ b/recipes-kernel/linux/linux-toradex_5.4-2.1.x.bb @@ -0,0 +1,40 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" +require recipes-kernel/linux/linux-imx.inc + +SUMMARY = "Linux kernel for Toradex Freescale i.MX based modules" + +LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" + +SRC_URI = " \ + git://git.toradex.com/linux-toradex.git;protocol=git;branch=${SRCBRANCH} \ + file://defconfig \ +" + +SRC_URI_append_colibri-imx8x-v10b = " \ + file://0001-Revert-ARM64-dts-apalis-imx8x-remove-no-1-8-v-from-s.patch \ + file://0002-Revert-ARM64-dts-colibri-imx8x-remove-no-1-8-v-from-.patch \ +" + +SRC_URI_append_apalis-imx8x-v11a = " \ + file://0001-Revert-ARM64-dts-apalis-imx8x-remove-no-1-8-v-from-s.patch \ + file://0002-Revert-ARM64-dts-colibri-imx8x-remove-no-1-8-v-from-.patch \ +" + +# Load USB functions configurable through configfs (CONFIG_USB_CONFIGFS) +KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains('COMBINED_FEATURES', 'usbgadget', ' libcomposite', '',d)}" + +inherit toradex-kernel-localversion +LINUX_VERSION = "5.4.47" +# skip, as with use-head-next LINUX_VERSION might be set wrongly +KERNEL_VERSION_SANITY_SKIP_use-head-next = "1" + +# Make sure to override LOCALVERSION in linux-imx.inc +LOCALVERSION = "-${TDX_VERSION}" +PV_append = "+git${SRCPV}" + +SRCREV = "b11463f367028ef3b572ffe101204f1885944013" +SRCBRANCH = "toradex_5.4-2.1.x-imx" +SRCREV_use-head-next = "${AUTOREV}" + +DEPENDS += "lzop-native bc-native" +COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" |