From 7e362ece84aafb83e684b7c1c6b8264a7de6d9c5 Mon Sep 17 00:00:00 2001 From: Rui Miguel Silva Date: Fri, 12 Jul 2019 16:43:25 +0100 Subject: [PATCH] arm: add kernel common recipes add kernel and dtc tool append recipes. Change-Id: Ie29a4e086de83140f09e7a17b5a6278090c610b0 Signed-off-by: Rui Miguel Silva --- arm/recipes-kernel/dtc/dtc_%.bbappend | 10 ++++++ arm/recipes-kernel/linux/linux-arm-common.inc | 35 +++++++++++++++++++ arm/recipes-kernel/linux/linux-arm.bb | 8 +++++ 3 files changed, 53 insertions(+) create mode 100644 arm/recipes-kernel/dtc/dtc_%.bbappend create mode 100644 arm/recipes-kernel/linux/linux-arm-common.inc create mode 100644 arm/recipes-kernel/linux/linux-arm.bb diff --git a/arm/recipes-kernel/dtc/dtc_%.bbappend b/arm/recipes-kernel/dtc/dtc_%.bbappend new file mode 100644 index 00000000..54568097 --- /dev/null +++ b/arm/recipes-kernel/dtc/dtc_%.bbappend @@ -0,0 +1,10 @@ +# SPDX-License-Identifier: MIT +# +# Copyright (c) 2019 Arm Limited +# + +SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git" + +SRCREV = "65cc4d2748a2c2e6f27f1cf39e07a5dbabd80ebf" + +LIC_FILES_CHKSUM = "file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f" diff --git a/arm/recipes-kernel/linux/linux-arm-common.inc b/arm/recipes-kernel/linux/linux-arm-common.inc new file mode 100644 index 00000000..1b175fe7 --- /dev/null +++ b/arm/recipes-kernel/linux/linux-arm-common.inc @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: MIT +# +# Copyright (c) 2019 Arm Limited +# + +DESCRIPTION = "Linux Kernel provided and supported by Arm and Linaro with \ +focus on vexpress and other Arm models and hardware. Trying to be as much \ +as possible close to upstream tree." +SECTION = "kernel" +LICENSE = "GPLv2" +SRCREV_FORMAT = "kernel" + +require recipes-kernel/linux/linux-yocto.inc + +KERNEL_VERSION_SANITY_SKIP = "1" + +S = "${WORKDIR}/git" + +COMPATIBLE_MACHINE = "(vexpress-a5|vexpress-a32|corstone700|a5ds)" + +# Override do_kernel_configme to avoid kernel being assembled into a linux-yocto style kernel +# https://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#ref-tasks-kernel_configme +do_kernel_configme() { +} + +KBRANCH = "" +LINUX_VERSION ?= "5.2" + +LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" + +SRC_URI = "\ + git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux;protocol=https;nobranch=1 \ + " + +SRCREV = "v5.2" diff --git a/arm/recipes-kernel/linux/linux-arm.bb b/arm/recipes-kernel/linux/linux-arm.bb new file mode 100644 index 00000000..9bf09852 --- /dev/null +++ b/arm/recipes-kernel/linux/linux-arm.bb @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: MIT +# +# Copyright (c) 2019 Arm Limited +# + +SUMMARY = "Linux Kernel provided and supported by Arm/Linaro" + +require recipes-kernel/linux/linux-arm-common.inc