summaryrefslogtreecommitdiff
path: root/tools/binman
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@bidouilliste.com>2017-01-16 07:14:46 (GMT)
committerTom Rini <trini@konsulko.com>2017-01-20 20:38:03 (GMT)
commit80d2ae5e1f14c6caf96c9eb6cb68e8f68b2e5788 (patch)
treef91722f4c31cafd06cbda9b2026216a888648301 /tools/binman
parent1905c8fc711a527ff10550425498bc77e4db9ac3 (diff)
downloadu-boot-80d2ae5e1f14c6caf96c9eb6cb68e8f68b2e5788.tar.xz
binman: add tools directory to the python path
The built _libfdt.so is placed in the /tools dir and need to say here as it contains relative paths. Add the directory to the python path so binman can use this module. Signed-off-by: Emmanuel Vadot <manu@bidouilliste.com>
Diffstat (limited to 'tools/binman')
-rwxr-xr-xtools/binman/binman.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/binman/binman.py b/tools/binman/binman.py
index 4cc431f..e1cb2fb 100755
--- a/tools/binman/binman.py
+++ b/tools/binman/binman.py
@@ -19,6 +19,7 @@ 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, '../'))
# Also allow entry-type modules to be brought in from the etype directory.
sys.path.append(os.path.join(our_path, 'etype'))