]> git.sur5r.net Git - u-boot/blobdiff - tools/binman/binman.py
Merge git://git.denx.de/u-boot-usb
[u-boot] / tools / binman / binman.py
index 7fb67cb25f9c65dc58f7441ecb5a365bfef88d50..95d3a048d86ac05b4c39726eb5292a8cee85205b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python2
 
 # Copyright (c) 2016 Google, Inc
 # Written by Simon Glass <sjg@chromium.org>
@@ -19,6 +19,10 @@ import unittest
 our_path = os.path.dirname(os.path.realpath(__file__))
 sys.path.append(os.path.join(our_path, '../patman'))
 sys.path.append(os.path.join(our_path, '../dtoc'))
+sys.path.append(os.path.join(our_path, '../'))
+
+# Bring in the libfdt module
+sys.path.append('tools')
 
 # Also allow entry-type modules to be brought in from the etype directory.
 sys.path.append(os.path.join(our_path, 'etype'))