diff options
author | Roland Hieber <rhi@pengutronix.de> | 2022-07-24 01:51:19 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-28 11:07:33 +0100 |
commit | c6d0348206b5e6ea7718282a9c802b3340e2ec13 (patch) | |
tree | 0d6088ff934b11046f9a086b63ebbb36c6e98e7a /scripts/lib/argparse_oe.py | |
parent | 2e25ddcaeab8585a57c57db429a6c769846d23df (diff) | |
download | poky-c6d0348206b5e6ea7718282a9c802b3340e2ec13.tar.gz |
devtool: error out when workspace is using old override syntax
When the workspace bbappends are still using the old override syntax
with EXTERNALSRC_pn-*, externalsrc_re will not match, and pn will never
be assigned, leading to a nondescript UnboundLocalError being raised on
the user's terminal. Try to detect that situation and give the user a
hint how to solve it.
(From OE-Core rev: d42ea8e849cf2df3708406418b961168268b316a)
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/argparse_oe.py')
0 files changed, 0 insertions, 0 deletions