diff options
author | Jose Quaresma <jose.quaresma@foundries.io> | 2024-06-12 10:39:05 +0100 |
---|---|---|
committer | Jose Quaresma <jose.quaresma@foundries.io> | 2024-06-12 10:43:17 +0100 |
commit | 6dcdeccc845145a666fd30e7e48cf3d18988974e (patch) | |
tree | 5635d75fe4906c872f7a3e69ede7adfb991b072e /recipes-kernel | |
parent | 0a02d0b051057c0dbb6b5ddf15729ce85614baca (diff) | |
download | meta-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.inc | 2 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-qoriq.inc | 2 |
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 | ||
20 | SRC_URI = "git://github.com/nxp-imx/linux-imx;protocol=https;branch=${SRCBRANCH}" | 20 | SRC_URI = "git://github.com/nxp-imx/linux-imx;protocol=https;branch=${SRCBRANCH}" |
21 | 21 | ||
22 | S = "${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" | |||
5 | SECTION = "kernel" | 5 | SECTION = "kernel" |
6 | LICENSE = "GPL-2.0-only" | 6 | LICENSE = "GPL-2.0-only" |
7 | 7 | ||
8 | S = "${WORKDIR}/git" | ||
9 | |||
10 | DEPENDS:append = " libgcc" | 8 | DEPENDS: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 |
12 | RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = "" | 10 | RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = "" |