All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Denys Dmytriyenko" <denis@denix.org>
To: nikhil.nd@ti.com
Cc: meta-ti@lists.yoctoproject.org
Subject: Re: [meta-ti] [master][PATCH v3] meta-ti: convert to new override syntax in honister
Date: Wed, 11 Aug 2021 13:48:31 -0400	[thread overview]
Message-ID: <20210811174831.GT1528@denix.org> (raw)
In-Reply-To: <287ae2ec-e682-a561-fd29-00bae48d2ff1@ti.com>

On Wed, Aug 11, 2021 at 09:28:52PM +0530, Nikhil Devshatwar via lists.yoctoproject.org wrote:
> 
> Denys,
> 
> On 11/08/21 4:47 am, Denys Dmytriyenko wrote:
> >From: Denys Dmytriyenko <denys@konsulko.com>
> >
> >Upcoming "honister" release changes the override syntax to improve usability,
> >speed and memory footprint. Update recipes with the new syntax and set layer
> >compatibility to honister.
> >
> >Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
> >Tested-by: Paul Barker <paul.barker@sancloud.com>
> >---
> >v3:
> >makefile_armv7 is a false-positive and shouldn't be converted
> >pick up Paul's Tested-by: from v2
> 
> To do all the override changes without any human errors,
> is there a tool/script that you used? OR was it done manually?
> Please share how this can be done for other layers as well.

Nikhil,

There's a generic script in OE-Core under scripts/contrib/convert-overrides.py 
that does a bunch of regexps on a layer:
https://git.openembedded.org/openembedded-core/tree/scripts/contrib/convert-overrides.py

It is best suited for OE-Core, of course, as each layer usually brings tons of 
own overrides, especially BSP and Distro layers. So the script needs to be 
adjusted to each layer individually, but is a good start. And it usually takes 
several iterations and lots of reviews to get it almost right...

BTW, I'll be converting meta-arago next, but meta-ti is a high priority now 
and needs to be merged ASAP, as bitbake from master will refuse to parse most 
of the old override syntax.

-- 
Regards,
Denys Dmytriyenko <denis@denix.org>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964

  reply	other threads:[~2021-08-11 17:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-10 23:17 [master][PATCH v3] meta-ti: convert to new override syntax in honister Denys Dmytriyenko
2021-08-11 15:58 ` [meta-ti] " Nikhil Devshatwar
2021-08-11 17:48   ` Denys Dmytriyenko [this message]
2021-08-11 19:39     ` Nikhil Devshatwar

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=20210811174831.GT1528@denix.org \
    --to=denis@denix.org \
    --cc=meta-ti@lists.yoctoproject.org \
    --cc=nikhil.nd@ti.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.