summaryrefslogtreecommitdiff
path: root/distribution/yocto-advanced/poky/meta-linutronix/recipes-bsp/linux-kernel/linux-kernel.bb
diff options
context:
space:
mode:
authorManuel Traut <manut@linutronix.de>2014-09-02 23:57:04 +0200
committerManuel Traut <manut@linutronix.de>2016-01-12 11:26:24 +0100
commit5e9978407396fac13993dbdf4ba87c6a37ad1133 (patch)
tree995862095d5946904a3f2e68dd711736b3345e7f /distribution/yocto-advanced/poky/meta-linutronix/recipes-bsp/linux-kernel/linux-kernel.bb
parent284629b6bccaaf2417934c46f7c21b85b6070304 (diff)
yocto-advanced: update kernel build
Signed-off-by: Manuel Traut <manut@linutronix.de>
Diffstat (limited to 'distribution/yocto-advanced/poky/meta-linutronix/recipes-bsp/linux-kernel/linux-kernel.bb')
-rw-r--r--distribution/yocto-advanced/poky/meta-linutronix/recipes-bsp/linux-kernel/linux-kernel.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/distribution/yocto-advanced/poky/meta-linutronix/recipes-bsp/linux-kernel/linux-kernel.bb b/distribution/yocto-advanced/poky/meta-linutronix/recipes-bsp/linux-kernel/linux-kernel.bb
new file mode 100644
index 0000000..9f33251
--- /dev/null
+++ b/distribution/yocto-advanced/poky/meta-linutronix/recipes-bsp/linux-kernel/linux-kernel.bb
@@ -0,0 +1,36 @@
+SECTION = "kernel"
+DESCRIPTION = "Linux kernel"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
+KERNEL_IMAGETYPE = "uImage"
+
+inherit kernel
+
+require recipes-kernel/linux/linux-dtb.inc
+
+KERNEL_DEVICETREE_imx6qsabrelite = "arch/arm/boot/dts/imx6q-sabrelite.dts"
+
+COMPATIBLE_MACHINE = "imx6qsabrelite"
+
+S = "${WORKDIR}/git"
+
+BRANCH = "master"
+
+SRC_URI = " \
+ git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux;\
+protocol=git;branch=${BRANCH} \
+ file://defconfig \
+"
+
+SRCREV="52addcf9d6669fa439387610bc65c92fa0980cef"
+PV = "3.17-rc2"
+
+# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
+MACHINE_KERNEL_PR_append = "d+gitr${SRCPV}"
+
+LINUX_VERSION_EXTENSION = "-sabrelite"
+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
+
+do_configure_prepend () {
+ cp '${WORKDIR}/defconfig' '${S}/.config'
+}