* [U-Boot] [PATCH] binman: add tools directory to the python path
@ 2017-01-16 7:14 Emmanuel Vadot
2017-01-21 3:38 ` [U-Boot] " Tom Rini
2017-01-21 3:51 ` [U-Boot] [PATCH] " Simon Glass
0 siblings, 2 replies; 3+ messages in thread
From: Emmanuel Vadot @ 2017-01-16 7:14 UTC (permalink / raw)
To: u-boot
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>
---
tools/binman/binman.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/binman/binman.py b/tools/binman/binman.py
index 4cc431fbbe..e1cb2fbb6f 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'))
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] binman: add tools directory to the python path
2017-01-16 7:14 [U-Boot] [PATCH] binman: add tools directory to the python path Emmanuel Vadot
@ 2017-01-21 3:38 ` Tom Rini
2017-01-21 3:51 ` [U-Boot] [PATCH] " Simon Glass
1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2017-01-21 3:38 UTC (permalink / raw)
To: u-boot
On Mon, Jan 16, 2017 at 08:14:46AM +0100, Emmanuel Vadot wrote:
> 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>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170120/0feb53b1/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] binman: add tools directory to the python path
2017-01-16 7:14 [U-Boot] [PATCH] binman: add tools directory to the python path Emmanuel Vadot
2017-01-21 3:38 ` [U-Boot] " Tom Rini
@ 2017-01-21 3:51 ` Simon Glass
1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2017-01-21 3:51 UTC (permalink / raw)
To: u-boot
On 16 January 2017 at 00:14, Emmanuel Vadot <manu@bidouilliste.com> wrote:
> 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>
> ---
> tools/binman/binman.py | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Simon Glass <sjg@chromium.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-01-21 3:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-16 7:14 [U-Boot] [PATCH] binman: add tools directory to the python path Emmanuel Vadot
2017-01-21 3:38 ` [U-Boot] " Tom Rini
2017-01-21 3:51 ` [U-Boot] [PATCH] " Simon Glass
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox