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