All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] tools: binman: main.py: add build-sandbox in sys.path
@ 2022-01-27 14:03 Philippe Reynes
  2022-01-27 14:03 ` [PATCH 2/2] tools: binman: main.py: add /tmp/sandbox sys.path Philippe Reynes
  2022-02-26 18:36 ` [PATCH 1/2] tools: binman: main.py: add build-sandbox in sys.path Simon Glass
  0 siblings, 2 replies; 6+ messages in thread
From: Philippe Reynes @ 2022-01-27 14:03 UTC (permalink / raw)
  To: sjg; +Cc: u-boot, Philippe Reynes

Adds build-sandbox in sys.path to look for libfdt,
otherwise py_test can't use binman.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
---
 tools/binman/main.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/binman/main.py b/tools/binman/main.py
index 35944f314a..f62394043d 100755
--- a/tools/binman/main.py
+++ b/tools/binman/main.py
@@ -40,6 +40,7 @@ from patman import test_util
 # Bring in the libfdt module
 sys.path.insert(2, 'scripts/dtc/pylibfdt')
 sys.path.insert(2, os.path.join(srctree, 'scripts/dtc/pylibfdt'))
+sys.path.insert(2, os.path.join(srctree, 'build-sandbox/scripts/dtc/pylibfdt'))
 sys.path.insert(2, os.path.join(srctree, 'build-sandbox_spl/scripts/dtc/pylibfdt'))
 
 # When running under python-coverage on Ubuntu 16.04, the dist-packages
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-02-26 18:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-27 14:03 [PATCH 1/2] tools: binman: main.py: add build-sandbox in sys.path Philippe Reynes
2022-01-27 14:03 ` [PATCH 2/2] tools: binman: main.py: add /tmp/sandbox sys.path Philippe Reynes
2022-01-27 15:06   ` Simon Glass
2022-01-27 15:15     ` Philippe REYNES
2022-02-26 18:36       ` Simon Glass
2022-02-26 18:36 ` [PATCH 1/2] tools: binman: main.py: add build-sandbox in sys.path Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.