These functions become a little bit more reusable if they return a list containing the output rather than just printing it. (Bitbake rev: a0ad2a947b71abcc0a1244cf139b9e9dfd8ee049) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 lines
249 B
Python
Executable file
12 lines
249 B
Python
Executable file
#!/usr/bin/env python
|
|
import os
|
|
import sys
|
|
import warnings
|
|
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib'))
|
|
|
|
import bb.siggen
|
|
|
|
output = bb.siggen.dump_sigfile(sys.argv[1])
|
|
if output:
|
|
print '\n'.join(output)
|