summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
diff options
context:
space:
mode:
authorJose Quaresma <jose.quaresma@foundries.io>2024-06-12 10:39:05 +0100
committerJose Quaresma <jose.quaresma@foundries.io>2024-06-12 10:43:17 +0100
commit6dcdeccc845145a666fd30e7e48cf3d18988974e (patch)
tree5635d75fe4906c872f7a3e69ede7adfb991b072e /recipes-kernel
parent0a02d0b051057c0dbb6b5ddf15729ce85614baca (diff)
downloadmeta-freescale-6dcdeccc845145a666fd30e7e48cf3d18988974e.tar.gz
linux: drop the old style kernels unshared S
The default source code location for kernel is defined on the kernel.bbclass and it was 'S = "${STAGING_KERNEL_DIR}"' In reality, although the kernel has its code in 'S = "${WORKDIR}/git"' it ends up being moved to '${STAGING_KERNEL_DIR}' in the do_symlink_kernsrc kernel.bbclass function. With this change, the do_symlink_kernsrc kernel.bbclass function will no longer create the symbolic link and the final result will be the same. Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-imx.inc2
-rw-r--r--recipes-kernel/linux/linux-qoriq.inc2
2 files changed, 0 insertions, 4 deletions
diff --git a/recipes-kernel/linux/linux-imx.inc b/recipes-kernel/linux/linux-imx.inc
index 34d50cfc..fcf152e2 100644
--- a/recipes-kernel/linux/linux-imx.inc
+++ b/recipes-kernel/linux/linux-imx.inc
@@ -19,8 +19,6 @@ PV = "${LINUX_VERSION}+git${SRCPV}"
19 19
20SRC_URI = "git://github.com/nxp-imx/linux-imx;protocol=https;branch=${SRCBRANCH}" 20SRC_URI = "git://github.com/nxp-imx/linux-imx;protocol=https;branch=${SRCBRANCH}"
21 21
22S = "${WORKDIR}/git"
23
24# Tell to kernel class that we would like to use our defconfig to configure the kernel. 22# Tell to kernel class that we would like to use our defconfig to configure the kernel.
25# Otherwise, the --allnoconfig would be used per default which leads to mis-configured 23# Otherwise, the --allnoconfig would be used per default which leads to mis-configured
26# kernel. 24# kernel.
diff --git a/recipes-kernel/linux/linux-qoriq.inc b/recipes-kernel/linux/linux-qoriq.inc
index 5d28ae84..0984a670 100644
--- a/recipes-kernel/linux/linux-qoriq.inc
+++ b/recipes-kernel/linux/linux-qoriq.inc
@@ -5,8 +5,6 @@ SUMMARY = "Linux Kernel for NXP QorIQ platforms"
5SECTION = "kernel" 5SECTION = "kernel"
6LICENSE = "GPL-2.0-only" 6LICENSE = "GPL-2.0-only"
7 7
8S = "${WORKDIR}/git"
9
10DEPENDS:append = " libgcc" 8DEPENDS:append = " libgcc"
11# not put Images into /boot of rootfs, install kernel-image if needed 9# not put Images into /boot of rootfs, install kernel-image if needed
12RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = "" 10RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = ""