[rtems-tools commit] Add to wscript and add python2 shebang.

Amar Takhar amar at rtems.org
Wed Mar 4 23:35:00 UTC 2020


Module:    rtems-tools
Branch:    master
Commit:    e8c180f1be629c82f830ffc4577f371d472b5515
Changeset: http://git.rtems.org/rtems-tools/commit/?id=e8c180f1be629c82f830ffc4577f371d472b5515

Author:    Amar Takhar <verm at darkbeer.org>
Date:      Tue Mar  3 20:08:10 2020 -0500

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.

---

 misc/tools/mkimage.py | 2 ++
 misc/wscript          | 1 +
 2 files changed, 3 insertions(+)

diff --git a/misc/tools/mkimage.py b/misc/tools/mkimage.py
old mode 100644
new mode 100755
index ee57481..39a12a0
--- 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')



More information about the vc mailing list