Andre Nahrwold
e621fd98e7
misc: tools: fix mkimage.py script type processing
...
Closes #4249
2021-02-16 16:22:36 +11:00
Amar Takhar
2444acb0ad
Add print statement similar to the original mkimage.
...
This is limited to Python 2.6+
2020-03-04 18:07:45 -05:00
Amar Takhar
9c7be8bc49
Fix to work under Pyhon 2 and Python 3.
...
Also changed 'python2' to 'python' in the shebang.
2020-03-04 18:07:41 -05:00
Amar Takhar
e29d0a6ac8
Convert optparse to argparse.
...
* Fix exceptions and print exception message.
* Also add myself to copyright.
2020-03-04 18:07:37 -05:00
Amar Takhar
90713f7d36
Remove EOL whitespace.
2020-03-04 18:07:21 -05:00
Amar Takhar
e8c180f1be
Add to wscript and add python2 shebang.
...
This script does work but needs some user friendliness added which is
acknowledged by the author as it was meant as a quick replacement.
2020-03-03 20:08:10 -05:00
Amar Takhar
fc078dbdef
Add a pure Python clone of mkimage written by Craig Barker.
...
I emailed Craig Barker to ask if he would release his mkimage Python rewrite
as 2BSD. He graciously accepted and you can see his work here:
https://github.com/cmbarker83/pythonmkimage
This is a verbatim commit of 35d6d from his repository.
2020-03-03 19:58:25 -05:00