summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-toradex_4.14-2.3.x.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-toradex_4.14-2.3.x.bb')
-rw-r--r--recipes-kernel/linux/linux-toradex_4.14-2.3.x.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex_4.14-2.3.x.bb b/recipes-kernel/linux/linux-toradex_4.14-2.3.x.bb
new file mode 100644
index 0000000..8ce52a3
--- /dev/null
+++ b/recipes-kernel/linux/linux-toradex_4.14-2.3.x.bb
@@ -0,0 +1,25 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
+require recipes-kernel/linux/linux-imx.inc
+
+SUMMARY = "Linux kernel for Toradex Freescale i.MX based modules"
+
+SRC_URI = " \
+ git://git.toradex.com/linux-toradex.git;protocol=git;branch=${SRCBRANCH} \
+ file://defconfig \
+"
+
+# Load USB functions configurable through configfs (CONFIG_USB_CONFIGFS)
+KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains('COMBINED_FEATURES', 'usbgadget', ' libcomposite', '',d)}"
+
+LOCALVERSION = "-${TDX_VER_ITEM}"
+PV_append = "+git${SRCPV}"
+
+SRCREV = "12620a9e8a0ca2d9950e3863a350061ba581fe63"
+SRCBRANCH = "toradex_4.14-2.3.x-imx"
+SRCREV_use-head-next = "${AUTOREV}"
+
+DEPENDS += "lzop-native bc-native"
+COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
+
+# defaults
+TDX_VER_ITEM ??= "0"