diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-16 14:53:23 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-30 00:11:51 +0100 |
commit | 82c1581e4824a778915c1e1fed23851b84fd7cd3 (patch) | |
tree | 39d88d4867e070e8c70710e300c64458f43dbedc /scripts/lib/devtool/search.py | |
parent | 2f2875f73ceec4839f1fdbbd65a216a0cc840b76 (diff) | |
download | poky-82c1581e4824a778915c1e1fed23851b84fd7cd3.tar.gz |
scripts/contrib: Add override conversion script
This adds a script I've developed to migrate metadata to use the new override
syntax. It is a bit rough but since its for a single use with validation, it
doesn't need to be perfect. It is run simply as:
scripts/contrib/convert-overrides.py <directory>
It is setup and has been tested to work with OE-Core, Bitbake, yocto-docs,
meta-yocto, meta-gplv2 and meta-mingw. For OE-Core, it converts around 10,100
lines with about 34 manual fixes needed.
For other layers it would need updating for override names and exclusions for
functions/variable names with "append", "prepend" or "remove" in them.
(From OE-Core rev: e8fc67f6f6baf54ccdf548b947c35dea926842c3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/search.py')
0 files changed, 0 insertions, 0 deletions