summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmar Takhar <verm@darkbeer.org>2020-03-03 20:08:10 -0500
committerAmar Takhar <verm@darkbeer.org>2020-03-03 20:08:10 -0500
commite8c180f1be629c82f830ffc4577f371d472b5515 (patch)
treec8d430d3509bc584a6289794a1f6dbd3cc5e809a
parentAdd a pure Python clone of mkimage written by Craig Barker. (diff)
downloadrtems-tools-e8c180f1be629c82f830ffc4577f371d472b5515.tar.bz2
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.
-rwxr-xr-x[-rw-r--r--]misc/tools/mkimage.py2
-rw-r--r--misc/wscript1
2 files changed, 3 insertions, 0 deletions
diff --git a/misc/tools/mkimage.py b/misc/tools/mkimage.py
index ee57481..39a12a0 100644..100755
--- a/misc/tools/mkimage.py
+++ b/misc/tools/mkimage.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python2
+
# A quickly bashed together replacement for u-boot's mkimage written in python
#
# Copyright 2010 Craig Barker
diff --git a/misc/wscript b/misc/wscript
index 7d90968..d82bde3 100644
--- a/misc/wscript
+++ b/misc/wscript
@@ -79,6 +79,7 @@ def build(bld):
'tools/cmd-tftpproxy.py',
'tools/tftpproxy.py',
'tools/getmac/__init__.py',
+ 'tools/mkimage.py',
'tools/getmac/getmac.py'],
install_from = '.',
install_path = '${PREFIX}/share/rtems/misc')