Re: [PATCH v1 1/1] binman: Do not pollute source tree when build with `make O=...`

2021-11-30 Thread Tom Rini
On Tue, Nov 30, 2021 at 09:10:11PM +0200, Andy Shevchenko wrote: > On Tue, Nov 30, 2021 at 9:06 PM Tom Rini wrote: > > On Tue, Nov 30, 2021 at 08:58:25PM +0200, Andy Shevchenko wrote: > > > On Tue, Nov 30, 2021 at 8:52 PM Tom Rini wrote: > > > > On Tue, Nov 30, 2021 at 09:42:04PM +0300, Andy

Re: [PATCH v1 1/1] binman: Do not pollute source tree when build with `make O=...`

2021-11-30 Thread Andy Shevchenko
On Tue, Nov 30, 2021 at 9:06 PM Tom Rini wrote: > On Tue, Nov 30, 2021 at 08:58:25PM +0200, Andy Shevchenko wrote: > > On Tue, Nov 30, 2021 at 8:52 PM Tom Rini wrote: > > > On Tue, Nov 30, 2021 at 09:42:04PM +0300, Andy Shevchenko wrote: > > > > +# > > > > +# Do not pollute source tree with

Re: [PATCH v1 1/1] binman: Do not pollute source tree when build with `make O=...`

2021-11-30 Thread Tom Rini
On Tue, Nov 30, 2021 at 08:58:25PM +0200, Andy Shevchenko wrote: > On Tue, Nov 30, 2021 at 8:52 PM Tom Rini wrote: > > On Tue, Nov 30, 2021 at 09:42:04PM +0300, Andy Shevchenko wrote: > > > > +# > > > +# Do not pollute source tree with cache files: > > > +#

Re: [PATCH v1 1/1] binman: Do not pollute source tree when build with `make O=...`

2021-11-30 Thread Andy Shevchenko
On Tue, Nov 30, 2021 at 8:52 PM Tom Rini wrote: > On Tue, Nov 30, 2021 at 09:42:04PM +0300, Andy Shevchenko wrote: > > +# > > +# Do not pollute source tree with cache files: > > +# https://stackoverflow.com/a/60024195/2511795 > > +# https://bugs.python.org/issue33499 > > +# > >

Re: [PATCH v1 1/1] binman: Do not pollute source tree when build with `make O=...`

2021-11-30 Thread Tom Rini
On Tue, Nov 30, 2021 at 09:42:04PM +0300, Andy Shevchenko wrote: > Importing libraries in Python caches the bytecode by default. > Since we run scripts in source tree it ignores the current directory > settings, which is $(srctree), and creates cache just in the middle > of the source tree. Move

[PATCH v1 1/1] binman: Do not pollute source tree when build with `make O=...`

2021-11-30 Thread Andy Shevchenko
Importing libraries in Python caches the bytecode by default. Since we run scripts in source tree it ignores the current directory settings, which is $(srctree), and creates cache just in the middle of the source tree. Move cache to the current directory. Signed-off-by: Andy Shevchenko ---