Stop source modification when the kernel do_configure task fails instead of continuing with a potentially stale configuration.
Signed-off-by: Anusmita Dutta Mazumder <[email protected]> --- scripts/lib/devtool/standard.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 84fa19c7aa..1f6ae1d931 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py @@ -847,6 +847,9 @@ def modify(args, config, basepath, workspace): task = 'do_configure' target = _get_multiconfig_targets(rd, pn) res = tinfoil.build_targets(target, task, handle_events=True) + if not res: + raise DevtoolError('Configuring source for %s failed' % + target) # Copy .config to workspace kconfpath = rd.getVar('B')
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#248500): https://lists.openembedded.org/g/openembedded-core/message/248500 Mute This Topic: https://lists.openembedded.org/mt/121897959/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
