summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2024-11-06 21:29:17 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-11-07 13:31:26 +0000
commitf09f9e82a6f7cbd7914bf21368fbdb9561de9770 (patch)
tree11e25a344985a9fb5b7e935e582b760df1722c12
parentb1cfc7fbc22764bf3a3335c83f30f48c943b1c6c (diff)
downloadpoky-f09f9e82a6f7cbd7914bf21368fbdb9561de9770.tar.gz
kernel-devsrc: make tools/Build optional
kernel-devsrc fails to copy files for v6.12+ as the following upstream commit has removed the file tools/build/Build: commit ea974028a049f2cea4bb6be963ee3e3844a03f6d Author: Brian Norris <briannorris@chromium.org> Date: Mon Jul 15 13:32:43 2024 -0700 tools build: Avoid circular .fixdep-in.o.cmd issues We make the failed copy of this file non-fatal to support all kernel versions. (From OE-Core rev: 13e16e5be25f379211c7329fa1462464174c0f2d) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/linux/kernel-devsrc.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
index 7724967151..1500aff2e2 100644
--- a/meta/recipes-kernel/linux/kernel-devsrc.bb
+++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
@@ -156,7 +156,7 @@ do_install() {
156 # these are a few files associated with objtool, since we'll need to 156 # these are a few files associated with objtool, since we'll need to
157 # rebuild it 157 # rebuild it
158 cp -a --parents tools/build/Build.include $kerneldir/build/ 158 cp -a --parents tools/build/Build.include $kerneldir/build/
159 cp -a --parents tools/build/Build $kerneldir/build/ 159 cp -a --parents tools/build/Build $kerneldir/build/ 2>/dev/null || :
160 cp -a --parents tools/build/fixdep.c $kerneldir/build/ 160 cp -a --parents tools/build/fixdep.c $kerneldir/build/
161 cp -a --parents tools/scripts/utilities.mak $kerneldir/build/ 161 cp -a --parents tools/scripts/utilities.mak $kerneldir/build/
162 162