Return-Path: Received: from vms173025pub.verizon.net (vms173025pub.verizon.net [206.46.173.25]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 01334E00AD5 for ; Fri, 7 Mar 2014 10:01:21 -0800 (PST) Received: from gandalf.denix.org ([unknown] [71.191.205.189]) by vms173025.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0N2200LG0VD68XG0@vms173025.mailsrvcs.net> for meta-ti@yoctoproject.org; Fri, 07 Mar 2014 12:00:57 -0600 (CST) Received: from localhost.localdomain (elrond [192.168.0.7]) by gandalf.denix.org (Postfix) with ESMTP id 4C06B20086; Fri, 07 Mar 2014 13:00:42 -0500 (EST) From: Denys Dmytriyenko To: meta-ti@yoctoproject.org Date: Fri, 07 Mar 2014 13:00:41 -0500 Message-id: <1394215241-14051-1-git-send-email-denis@denix.org> X-Mailer: git-send-email 1.8.3.2 Subject: [PATCH] linux-mainline: add 3.14 mainline recipe X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2014 18:01:24 -0000 From: Denys Dmytriyenko Signed-off-by: Denys Dmytriyenko --- recipes-kernel/linux/linux-mainline/defconfig | 1 + recipes-kernel/linux/linux-mainline_3.14.bb | 41 +++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 recipes-kernel/linux/linux-mainline/defconfig create mode 100644 recipes-kernel/linux/linux-mainline_3.14.bb diff --git a/recipes-kernel/linux/linux-mainline/defconfig b/recipes-kernel/linux/linux-mainline/defconfig new file mode 100644 index 0000000..926b35a --- /dev/null +++ b/recipes-kernel/linux/linux-mainline/defconfig @@ -0,0 +1 @@ +use-kernel-config=omap2plus_defconfig diff --git a/recipes-kernel/linux/linux-mainline_3.14.bb b/recipes-kernel/linux/linux-mainline_3.14.bb new file mode 100644 index 0000000..ec7d7a7 --- /dev/null +++ b/recipes-kernel/linux/linux-mainline_3.14.bb @@ -0,0 +1,41 @@ +SECTION = "kernel" +DESCRIPTION = "Mainline Linux kernel" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" + +inherit kernel + +require recipes-kernel/linux/linux-dtb.inc +require recipes-kernel/linux/setup-defconfig.inc + +# Pull in the devicetree files into the rootfs +RDEPENDS_kernel-base += "kernel-devicetree" + +# Add a run-time dependency for the PM firmware to be installed +# on the target file system. +RDEPENDS_kernel-base_append_ti33x = " am33x-cm3" + +# Default is to package all dtb files for ti33x devices unless building +# for the specific beaglebone machine. +KERNEL_DEVICETREE_ti33x = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb" +KERNEL_DEVICETREE_beaglebone = "am335x-bone.dtb am335x-boneblack.dtb" + +KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" + +COMPATIBLE_MACHINE = "ti33x" + +S = "${WORKDIR}/git" + +BRANCH = "master" + +# Corresponds to tag v3.14-rc5 +SRCREV = "0414855fdc4a40da05221fc6062cccbc0c30f169" +PV = "3.13+3.14rc5" + +# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild +MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}" +PR = "${MACHINE_KERNEL_PR}" + +SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;branch=${BRANCH} \ + file://defconfig \ + " -- 1.8.3.2