mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 07:02:17 +13:00
Fix tools/unnamed.py and add tools/consts.py
This commit is contained in:
parent
208ea07237
commit
fa7d76f39e
2 changed files with 58 additions and 2 deletions
|
|
@ -48,8 +48,8 @@ objects = None
|
|||
if args.rootdir:
|
||||
for line in subprocess.Popen(['make', '-C', args.rootdir, '-s', '-p', 'DEBUG=1'],
|
||||
stdout=subprocess.PIPE).stdout.read().decode().split('\n'):
|
||||
if line.startswith('pokered_obj := '):
|
||||
objects = line[19:].strip().split()
|
||||
if line.startswith('pokered_obj :='):
|
||||
objects = line[len('pokered_obj :='):].strip().split()
|
||||
break
|
||||
else:
|
||||
print('Error: Object files not found!', file=sys.stderr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue