Use the latest version. Install headers to purecap sysroot, most libraries will expect it there anyway.
Signed-off-by: Pawel Zalewski pzalewski@thegoodpenguin.co.uk --- meta-morello/recipes-kernel/linux/linux-morello.inc | 12 +++++++++--- ...o_morello-1.5.bb => linux-morello_morello-1.6.bb} | 5 +++-- 2 files changed, 12 insertions(+), 5 deletions(-) rename meta-morello/recipes-kernel/linux/{linux-morello_morello-1.5.bb => linux-morello_morello-1.6.bb} (60%)
diff --git a/meta-morello/recipes-kernel/linux/linux-morello.inc b/meta-morello/recipes-kernel/linux/linux-morello.inc index eb1255d..2821579 100644 --- a/meta-morello/recipes-kernel/linux/linux-morello.inc +++ b/meta-morello/recipes-kernel/linux/linux-morello.inc @@ -13,10 +13,11 @@ FILESEXTRAPATHS:prepend := "${THISDIR}:${THISDIR}/${PN}:" DEPENDS += "rsync-native" PROVIDES += "virtual/${OUTPUTS_NAME}"
-DEPENDS:remove:toolchain-llvm-morello = "virtual/musl-morello" +DEPENDS:remove:toolchain-llvm-morello = "virtual/musl-morello" +RDEPENDS:${PN}:remove:toolchain-llvm-morello = " musl"
SRC_URI = " \ - git://git.morello-project.org/morello/kernel/linux;protocol=https;nobranch=1 \ + git://git.morello-project.org/morello/kernel/linux;protocol=https;branch=${SRCBRANCH} \ "
PV = "${LINUX_VERSION}+git${SRCPV}" @@ -41,10 +42,15 @@ KBUILD_DEFCONFIG = "morello_transitional_pcuabi_defconfig" do_kernel_configcheck[noexec] = "1" do_kernel_configme[depends] += "llvm-morello-native:do_populate_sysroot"
+FILES:${KERNEL_PACKAGE_NAME} += "${PURECAP_SYSROOT_DIR}${includedir}" + +SYSROOT_DIRS += "${PURECAP_SYSROOT_DIR}${includedir}" + do_configure:prepend(){ rm -f ${B}/.config }
do_install:append() { - oe_runmake headers_install ARCH=arm64 INSTALL_HDR_PATH=${STAGING_KERNEL_BUILDDIR}/kernel-headers + install -d ${D}${PURECAP_SYSROOT_DIR}${prefix} + oe_runmake headers_install ARCH=arm64 INSTALL_HDR_PATH=${D}${PURECAP_SYSROOT_DIR}${prefix} } diff --git a/meta-morello/recipes-kernel/linux/linux-morello_morello-1.5.bb b/meta-morello/recipes-kernel/linux/linux-morello_morello-1.6.bb similarity index 60% rename from meta-morello/recipes-kernel/linux/linux-morello_morello-1.5.bb rename to meta-morello/recipes-kernel/linux/linux-morello_morello-1.6.bb index 169776b..a514274 100644 --- a/meta-morello/recipes-kernel/linux/linux-morello_morello-1.5.bb +++ b/meta-morello/recipes-kernel/linux/linux-morello_morello-1.6.bb @@ -2,9 +2,10 @@ require linux-morello.inc
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
-SRCREV = "87d06928f90fe910311210a0149d03f3420f593c" +SRCREV = "c4b74f2e4712d38f2ea9d5b924f52e38c6faa446" +SRCBRANCH = "morello/master"
-LINUX_VERSION = "5.18" +LINUX_VERSION = "6.1" LINUX_VERSION_EXTENSION= "-yocto-purecap"
COMPATIBLE_MACHINE = "morello"