summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-toradex_4.9-2.3.x.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-toradex_4.9-2.3.x.bb')
-rw-r--r--recipes-kernel/linux/linux-toradex_4.9-2.3.x.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex_4.9-2.3.x.bb b/recipes-kernel/linux/linux-toradex_4.9-2.3.x.bb
new file mode 100644
index 0000000..8e46c9d
--- /dev/null
+++ b/recipes-kernel/linux/linux-toradex_4.9-2.3.x.bb
@@ -0,0 +1,22 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
+require recipes-kernel/linux/linux-imx.inc
+include conf/tdx_version.conf
+
+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 = "5758a8e648a3947d974fbcaad49db6e513a77a9d"
+SRCBRANCH = "toradex_4.9-2.3.x-imx"
+SRCREV_use-head-next = "${AUTOREV}"
+SRCBRANCH_use-head-next = "toradex_4.9-2.3.x-imx-next"
+
+DEPENDS += "lzop-native bc-native"
+COMPATIBLE_MACHINE = "(mx6|mx7)"