* [scarthgap][PATCH] Backport 'kernel-devsrc: make tools/Build optional'
@ 2026-04-17 2:21 Calvin Owens
2026-04-24 9:46 ` [OE-core] " Yoann Congal
0 siblings, 1 reply; 2+ messages in thread
From: Calvin Owens @ 2026-04-17 2:21 UTC (permalink / raw)
To: openembedded-core; +Cc: bruce.ashfield
Backport a patch to fix v6.12+ kernel builds on Scarthgap:
commit 13e16e5be25f379211c7329fa1462464174c0f2d
Author: Bruce Ashfield <bruce.ashfield@gmail.com>
Date: Wed Nov 6 21:29:17 2024 -0500
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.
Signed-off-by: Calvin Owens <calvin@wbinvd.org>
---
meta/recipes-kernel/linux/kernel-devsrc.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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() {
# these are a few files associated with objtool, since we'll need to
# rebuild it
cp -a --parents tools/build/Build.include $kerneldir/build/
- cp -a --parents tools/build/Build $kerneldir/build/
+ cp -a --parents tools/build/Build $kerneldir/build/ 2>/dev/null || :
cp -a --parents tools/build/fixdep.c $kerneldir/build/
cp -a --parents tools/scripts/utilities.mak $kerneldir/build/
--
2.47.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [OE-core] [scarthgap][PATCH] Backport 'kernel-devsrc: make tools/Build optional'
2026-04-17 2:21 [scarthgap][PATCH] Backport 'kernel-devsrc: make tools/Build optional' Calvin Owens
@ 2026-04-24 9:46 ` Yoann Congal
0 siblings, 0 replies; 2+ messages in thread
From: Yoann Congal @ 2026-04-24 9:46 UTC (permalink / raw)
To: calvin, openembedded-core; +Cc: bruce.ashfield
On Fri Apr 17, 2026 at 4:21 AM CEST, Calvin Owens via lists.openembedded.org wrote:
> Backport a patch to fix v6.12+ kernel builds on Scarthgap:
>
> commit 13e16e5be25f379211c7329fa1462464174c0f2d
> Author: Bruce Ashfield <bruce.ashfield@gmail.com>
> Date: Wed Nov 6 21:29:17 2024 -0500
>
> 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.
>
> Signed-off-by: Calvin Owens <calvin@wbinvd.org>
> ---
Hello,
I took this patch but replaced it by a direct cherry-pick of 13e16e5b. I
added you in "Suggested-by:". Ping me if you want to change this
attribution.
Thanks!
> meta/recipes-kernel/linux/kernel-devsrc.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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() {
> # these are a few files associated with objtool, since we'll need to
> # rebuild it
> cp -a --parents tools/build/Build.include $kerneldir/build/
> - cp -a --parents tools/build/Build $kerneldir/build/
> + cp -a --parents tools/build/Build $kerneldir/build/ 2>/dev/null || :
> cp -a --parents tools/build/fixdep.c $kerneldir/build/
> cp -a --parents tools/scripts/utilities.mak $kerneldir/build/
>
--
Yoann Congal
Smile ECS
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-24 9:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-17 2:21 [scarthgap][PATCH] Backport 'kernel-devsrc: make tools/Build optional' Calvin Owens
2026-04-24 9:46 ` [OE-core] " Yoann Congal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox