The main image autoconf.mk certainly had better exist or this tool won't function at all. Check for this and error if missing.
The SPL and TPL don't even exist as separate .config files any more. Signed-off-by: Joe Hershberger <joe.hershber...@ni.com> --- Changes in v3: None Changes in v2: None tools/moveconfig.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index d9ae859..b4ee0e3 100755 --- a/tools/moveconfig.py +++ b/tools/moveconfig.py @@ -183,6 +183,8 @@ class KconfigParser: 'autoconf.mk') if not os.path.exists(autoconf): + if img == '.': + return True values.append('') continue @@ -227,6 +229,7 @@ class KconfigParser: if prefixes[line] != '+': line = prefixes[line] + ':' + line f.write(line + '\n') + return False class Slot: @@ -307,7 +310,8 @@ class Slot: return True if self.state == STATE_SILENTOLDCONFIG: - self.parser.update_defconfig(self.defconfig) + if self.parser.update_defconfig(self.defconfig): + self.defconfig_error('ERROR - autoconf.mk not found') self.state = STATE_IDLE return True -- 1.7.11.5 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot