From 78691c9d57bf53b7976d379572e87f87161a4665 Mon Sep 17 00:00:00 2001 From: Jose Quaresma Date: Tue, 25 Jun 2024 11:02:55 +0100 Subject: [PATCH] Revert "linux: drop the old style kernels unshared S" This reverts commit 6dcdeccc845145a666fd30e7e48cf3d18988974e. My conclusion was wrong because the source will be move to the STAGING_KERNEL_DIR only when we use the kernel-yocto.bbclass. This is because the same logic of moving sources is replicated here too. Fix https://github.com/Freescale/meta-freescale/issues/1855 Signed-off-by: Jose Quaresma (cherry picked from commit cdbd3dd75ad0ed3b1eaf25982a0f982d725bf222) --- recipes-kernel/linux/linux-imx.inc | 2 ++ recipes-kernel/linux/linux-qoriq.inc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/recipes-kernel/linux/linux-imx.inc b/recipes-kernel/linux/linux-imx.inc index fcf152e27..34d50cfc0 100644 --- a/recipes-kernel/linux/linux-imx.inc +++ b/recipes-kernel/linux/linux-imx.inc @@ -19,6 +19,8 @@ PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://github.com/nxp-imx/linux-imx;protocol=https;branch=${SRCBRANCH}" +S = "${WORKDIR}/git" + # Tell to kernel class that we would like to use our defconfig to configure the kernel. # Otherwise, the --allnoconfig would be used per default which leads to mis-configured # kernel. diff --git a/recipes-kernel/linux/linux-qoriq.inc b/recipes-kernel/linux/linux-qoriq.inc index 0984a6705..5d28ae84a 100644 --- a/recipes-kernel/linux/linux-qoriq.inc +++ b/recipes-kernel/linux/linux-qoriq.inc @@ -5,6 +5,8 @@ SUMMARY = "Linux Kernel for NXP QorIQ platforms" SECTION = "kernel" LICENSE = "GPL-2.0-only" +S = "${WORKDIR}/git" + DEPENDS:append = " libgcc" # not put Images into /boot of rootfs, install kernel-image if needed RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = ""