diff --git a/tools/deps_guard/deps_guard.py b/tools/deps_guard/deps_guard.py index 76506306ee9250d5dad308162c280e2a52444b34..bea88101140366db0824fe72b307d9bbab159756 100755 --- a/tools/deps_guard/deps_guard.py +++ b/tools/deps_guard/deps_guard.py @@ -17,6 +17,7 @@ # from elf_file_mgr import ElfFileMgr +import os def __create_arg_parser(): @@ -73,5 +74,6 @@ if __name__ == '__main__': parser = __create_arg_parser() args = parser.parse_args() - - _deps_guard_module(args.input, args) + path = args.input+"/build_configs/parts_info/" + if os.path.exists(path): + _deps_guard_module(args.input, args)