Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Mikko Rapeli <mikko.rapeli@linaro.org>
To: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH 4/4] kernel-devsrc: copy kernel/sched/ext directory
Date: Mon, 17 Aug 2026 14:02:16 +0300	[thread overview]
Message-ID: <aoLqOHiulqm3hxZo@nuoska> (raw)
In-Reply-To: <CADkTA4OfiyTA=V+6s_nu+27HK6PZXcojwm=H7AkOch1huwFDHQ@mail.gmail.com>

Hi,

On Fri, Aug 14, 2026 at 08:48:45AM -0400, Bruce Ashfield wrote:
> On Fri, Aug 14, 2026 at 2:48 AM Mikko Rapeli via
> lists.openembedded.org
> <mikko.rapeli=linaro.org@lists.openembedded.org> wrote:
> >
> > ext_* files were moved there in upstream commit
> > bba2c3615bd sched_ext: Move sources under kernel/sched/ext/
> >
> > Fixes oeqa kernelmodule.py failure with 7.2 kernel:
> >
> >   CC      kernel/sched/rq-offsets.s
> > In file included from kernel/sched/rq-offsets.c:5:
> > kernel/sched/sched.h:4214:10: fatal error: ext/ext.h: No such file or directory
> >  4214 | #include "ext/ext.h"
> >       |          ^~~~~~~~~~~
> > compilation terminated.
> > make[2]: *** [scripts/Makefile.build:184: kernel/sched/rq-offsets.s] Error 1
> > make[1]: *** [/usr/lib/modules/7.2.0-rc7-yoctodev-standard/build/Makefile:1408: prepare0] Error 2
> >
> > Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
> > ---
> >  meta/recipes-kernel/linux/kernel-devsrc.bb | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> > diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb
> > index 0b52f5d48c..da33e9facb 100644
> > --- a/meta/recipes-kernel/linux/kernel-devsrc.bb
> > +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb
> > @@ -368,6 +368,9 @@ do_install() {
> >          cp -a --parents kernel/sched/ext.h $kerneldir/build 2>/dev/null || :
> >          cp -a --parents kernel/workqueue_internal.h $kerneldir/build 2>/dev/null || :
> >
> > +        # 7.1+
> > +        cp -a --parents kernel/sched/ext $kerneldir/build 2>/dev/null || :
> 
> Is it actually all of the files we need from the directory ?
> 
> We avoid full directory copies wherever possible.

Only kernel/sched/ext/ext.h seems to be needed. I will the copy to that in v2.

Cheers,

-Mikko


      reply	other threads:[~2026-08-17 11:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-14  6:48 [PATCH 0/4] Fixes for kernel 7.2 Mikko Rapeli
2026-08-14  6:48 ` [PATCH 1/4] lttng-modules: update from 2.15.2 to 2.16.0-rc2 Mikko Rapeli
2026-08-14 10:48   ` [OE-core] " Richard Purdie
2026-08-14 11:27     ` Mikko Rapeli
2026-08-14 12:50       ` Bruce Ashfield
2026-08-17 11:05         ` Mikko Rapeli
2026-08-17 11:06           ` Richard Purdie
2026-08-14  6:48 ` [PATCH 2/4] testexport.bbclass: capture meta/lib/oe Mikko Rapeli
2026-08-14  6:48 ` [PATCH 3/4] kernel-devsrc: copy gen-kernel-hwcaps.sh on arm64 Mikko Rapeli
2026-08-14  6:48 ` [PATCH 4/4] kernel-devsrc: copy kernel/sched/ext directory Mikko Rapeli
2026-08-14 12:48   ` [OE-core] " Bruce Ashfield
2026-08-17 11:02     ` Mikko Rapeli [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=aoLqOHiulqm3hxZo@nuoska \
    --to=mikko.rapeli@linaro.org \
    --cc=bruce.ashfield@gmail.com \
    --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