[meta-ti] [PATCH] linux-keystone-rt: Add new recipe for build rt-kernel

Sam Nelson sam.nelson at ti.com
Wed Feb 5 11:14:18 PST 2014


- Builds kernel tree with RT patches

Signed-off-by: Sam Nelson <sam.nelson at ti.com>
---
 .../linux/linux-keystone-rt-3.10/defconfig         |    1 +
 recipes-kernel/linux/linux-keystone-rt_3.10.bb     |   32 ++++++++++++++++++++
 2 files changed, 33 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-keystone-rt-3.10/defconfig
 create mode 100644 recipes-kernel/linux/linux-keystone-rt_3.10.bb

diff --git a/recipes-kernel/linux/linux-keystone-rt-3.10/defconfig b/recipes-kernel/linux/linux-keystone-rt-3.10/defconfig
new file mode 100644
index 0000000..731bb00
--- /dev/null
+++ b/recipes-kernel/linux/linux-keystone-rt-3.10/defconfig
@@ -0,0 +1 @@
+use-kernel-config=keystone2_fullrt_defconfig
diff --git a/recipes-kernel/linux/linux-keystone-rt_3.10.bb b/recipes-kernel/linux/linux-keystone-rt_3.10.bb
new file mode 100644
index 0000000..5f6ac91
--- /dev/null
+++ b/recipes-kernel/linux/linux-keystone-rt_3.10.bb
@@ -0,0 +1,32 @@
+SECTION = "kernel"
+DESCRIPTION = "Linux RT kernel for TI Keystone devices"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
+
+COMPATIBLE_MACHINE = "keystone"
+
+inherit kernel
+
+require recipes-kernel/linux/linux-dtb.inc
+require recipes-kernel/linux/setup-defconfig.inc
+
+MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
+PR = "${MACHINE_KERNEL_PR}"
+
+KERNEL_DEVICETREE_keystone-evm = "k2hk-evm.dtb"
+
+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
+
+#This commit corresponds to "K2_RT_LINUX_03.10.10_13.12"
+SRCREV = "8fa9091d0f9c91a048a975ddebbf2f492e73bf61"
+
+BRANCH = "master-rt"
+
+SRC_URI = "git://git.ti.com/keystone-linux/linux.git;protocol=git;branch=${BRANCH}\
+           file://defconfig\
+           "
+
+S = "${WORKDIR}/git"
+
+RDEPENDS_kernel-base = ""
+
-- 
1.7.9.5



More information about the meta-ti mailing list