]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
devtool: error out when workspace is using old override syntax
authorRoland Hieber <rhi@pengutronix.de>
Sat, 23 Jul 2022 23:51:19 +0000 (01:51 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Jul 2022 10:07:11 +0000 (11:07 +0100)
commitd42ea8e849cf2df3708406418b961168268b316a
tree93aa50018987d43fc6a5cc9748ed4afa966b81e1
parent0026b5687147410e4c7140ca5133089ebb51d9d4
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.

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>
scripts/devtool