[U-Boot] [PATCH] tools: genboardscfg: move buildman path to first

Masahiro Yamada yamada.masahiro at socionext.com
Tue Jul 24 23:41:49 UTC 2018


2018-07-24 15:27 GMT+09:00 Peng Fan <peng.fan at nxp.com>:
> 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 <peng.fan at nxp.com>
> Cc: Masahiro Yamada <yamada.m at jp.panasonic.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tom Rini <trini at konsulko.com>
> ---


Acked-by: Masahiro Yamada <yamada.masahiro at socionext.com>


>  tools/genboardscfg.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/genboardscfg.py b/tools/genboardscfg.py
> index 0648472af0..e9bbd15e15 100755
> --- a/tools/genboardscfg.py
> +++ b/tools/genboardscfg.py
> @@ -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



-- 
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list