public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Yoann Congal" <yoann.congal@smile.fr>
To: <calvin@wbinvd.org>, <openembedded-core@lists.openembedded.org>
Cc: <bruce.ashfield@gmail.com>
Subject: Re: [OE-core] [scarthgap][PATCH] Backport 'kernel-devsrc: make tools/Build optional'
Date: Fri, 24 Apr 2026 11:46:57 +0200	[thread overview]
Message-ID: <DI1AFVXRJ2NI.24IWEN32PDRM9@smile.fr> (raw)
In-Reply-To: <e2093fdff31efa8b84fa09cc62fb72a77a8cc29a.1776392062.git.calvin@wbinvd.org>

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



      reply	other threads:[~2026-04-24  9:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-17  2:21 [scarthgap][PATCH] Backport 'kernel-devsrc: make tools/Build optional' Calvin Owens
2026-04-24  9:46 ` Yoann Congal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DI1AFVXRJ2NI.24IWEN32PDRM9@smile.fr \
    --to=yoann.congal@smile.fr \
    --cc=bruce.ashfield@gmail.com \
    --cc=calvin@wbinvd.org \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox