tools: genboardscfg: move buildman path to first
PATCH 1/1 tools: genboardscfg: move buildman path to first
To system which has kconfiglib installed, genboardscfg will use system kconfiglib, we need it use U-Boot owned version, so move the buildman path to first.
--- tools/genboardscfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/genboardscfg.py +1 -1
@@ -24,7 +24,7 @@ import sys import tempfile import time -sys.path.append(os.path.join(os.path.dirname(__file__), 'buildman')) +sys.path.insert(1, os.path.join(os.path.dirname(__file__), 'buildman')) import kconfiglib ### constant variables ###
Signature · 1 line
2.14.1
PATCH 1/1 tools: genboardscfg: move buildman path to first
2018-07-24 15:27 GMT+09:00 Peng Fan <[email protected]>:
Quoted 9 lines
To system which has kconfiglib installed, genboardscfg will use system kconfiglib, we need it use U-Boot owned version, so move the buildman path to first.
Signed-off-by Peng Fan <[email protected]>Cc Masahiro Yamada <[email protected]>Cc Simon Glass <[email protected]>Cc Tom Rini <[email protected]>---
Quoted 23 lines
tools/genboardscfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/genboardscfg.py +1
-2@@ -24,7 +24,7 @@ import sys import tempfile import time -sys.path.append(os.path.join(os.path.dirname(__file__), 'buildman')) +sys.path.insert(1, os.path.join(os.path.dirname(__file__), 'buildman')) import kconfiglib ### constant variables ### --2.14.1
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot
Signature · 2 lines
Best Regards Masahiro Yamada
PATCH 1/1 tools: genboardscfg: move buildman path to first
In reply to Peng FanHi Peng,
Quoted 17 lines · Peng Fan
To system which has kconfiglib installed, genboardscfg will use system kconfiglib, we need it use U-Boot owned version, so move the buildman path to first.
Signed-off-by Peng Fan <[email protected]>Cc Masahiro Yamada <[email protected]>Cc Simon Glass <[email protected]>Cc Tom Rini <[email protected]>--- tools/genboardscfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/genboardscfg.py +0
-0
tools/genboardscfg.py import sys · line 27
Quoted 5 lines
tools/genboardscfg.py +1
-1@@ -24,7 +24,7 @@ import sys import tempfile import time -sys.path.append(os.path.join(os.path.dirname(__file__), 'buildman')) +sys.path.insert(1, os.path.join(os.path.dirname(__file__), 'buildman'))
How come you insert this second in the list rather than first? If that is deliberate, can you please add a comment?
Quoted 6 lines
tools/genboardscfg.py +0
-1import kconfiglib ### constant variables ### --2.14.1
Regards,
Simon
PATCH 1/1 tools: genboardscfg: move buildman path to first
Hi Simon,
Quoted 32 lines
-----Original Message-----
From: sjg at google.com [mailto:sjg at google.com] On Behalf Of Simon Glass
Sent: 2018年7月25日 10:45
To: Peng Fan <[email protected]>
Cc: U-Boot Mailing List <[email protected]>; dl-linux-imx <[email protected]>; Masahiro Yamada <[email protected]>; Tom Rini <[email protected]>
Subject: Re: [PATCH] tools: genboardscfg: move buildman path to firstHi Peng,
Quoted 20 lines · Peng Fan
To system which has kconfiglib installed, genboardscfg will use system kconfiglib, we need it use U-Boot owned version, so move the buildman path to first.
Signed-off-by Peng Fan <[email protected]>Cc Masahiro Yamada <[email protected]>Cc Simon Glass <[email protected]>Cc Tom Rini <[email protected]>--- tools/genboardscfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/genboardscfg.py index renamed from tools/genboardscfg.py +0
-0
0648472af0..e9bbd15e15100755tools/genboardscfg.py +0
-0@@ -24,7 +24,7 @@ import sys import tempfile import time
Quoted 6 lines
tools/genboardscfg.py import sys · line 28
Quoted 3 lines
tools/genboardscfg.py +2
-1-sys.path.append(os.path.join(os.path.dirname(__file__), 'buildman')) +sys.path.insert(1, os.path.join(os.path.dirname(__file__), +'buildman'))How come you insert this second in the list rather than first? If that is deliberate, can you please add a comment?
Do you mean I need to use sys.path.insert(0, os.path.join(os.path.dirname(__file__), +'buildman'))?
I print my sys.path, the first is '', So I follow other code in uboot, and use '1' here.
Thanks,
Peng.
Quoted 10 lines
Quoted 7 lines
tools/genboardscfg.py +0
-1import kconfiglib ### constant variables ### --2.14.1
Regards,
Simon
PATCH 1/1 tools: genboardscfg: move buildman path to first
Hi Peng,
Quoted 41 lines · Peng Fan
Hi Simon,
Quoted 32 lines
-----Original Message-----
From: sjg at google.com [mailto:sjg at google.com] On Behalf Of Simon Glass
Sent: 2018年7月25日 10:45
To: Peng Fan <[email protected]>
Cc: U-Boot Mailing List <[email protected]>; dl-linux-imx <[email protected]>; Masahiro Yamada <[email protected]>; Tom Rini <[email protected]>
Subject: Re: [PATCH] tools: genboardscfg: move buildman path to firstHi Peng,
Quoted 20 lines · Peng Fan
To system which has kconfiglib installed, genboardscfg will use system kconfiglib, we need it use U-Boot owned version, so move the buildman path to first.
Signed-off-by Peng Fan <[email protected]>Cc Masahiro Yamada <[email protected]>Cc Simon Glass <[email protected]>Cc Tom Rini <[email protected]>--- tools/genboardscfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/genboardscfg.py index renamed from tools/genboardscfg.py +0
-0
0648472af0..e9bbd15e15100755tools/genboardscfg.py +0
-0@@ -24,7 +24,7 @@ import sys import tempfile import timeQuoted 6 lines
tools/genboardscfg.py import sys · line 28
Quoted 3 lines
tools/genboardscfg.py +2
-1-sys.path.append(os.path.join(os.path.dirname(__file__), 'buildman')) +sys.path.insert(1, os.path.join(os.path.dirname(__file__), +'buildman'))How come you insert this second in the list rather than first? If that is deliberate, can you please add a comment?
Quoted 3 lines
Do you mean I need to use
sys.path.insert(0, os.path.join(os.path.dirname(__file__), +'buildman'))?I print my sys.path, the first is '', So I follow other code in uboot, and use '1' here.
OK I see, fair enough.
Quoted 10 lines · Peng Fan
To system which has kconfiglib installed, genboardscfg will use system kconfiglib, we need it use U-Boot owned version, so move the buildman path to first.
Signed-off-by Peng Fan <[email protected]>Cc Masahiro Yamada <[email protected]>Cc Simon Glass <[email protected]>Cc Tom Rini <[email protected]>Acked-by Masahiro Yamada <[email protected]>Reviewed-by Simon Glass <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180730/0ee97bf5/attachment.sig>