Re: [PATCH 2/3] binman: Use target-specific tools when cross-compiling

2020-09-05 Thread Simon Glass
Hi Alper, On Sat, 5 Sep 2020 at 17:04, Alper Nebi Yasak wrote: > > On 05/09/2020 19:37, Simon Glass wrote: > > This looks good, but it drops the use of DTC to specify the > > device-tree compiler. Can you add it back? > > I think you're referring to this hunk: > > > # If we don't have a

Re: [PATCH 2/3] binman: Use target-specific tools when cross-compiling

2020-09-05 Thread Alper Nebi Yasak
On 05/09/2020 19:37, Simon Glass wrote: > This looks good, but it drops the use of DTC to specify the > device-tree compiler. Can you add it back? I think you're referring to this hunk: > # If we don't have a directory, put it in the tools tempdir > search_list = [] > for path in

Re: [PATCH 2/3] binman: Use target-specific tools when cross-compiling

2020-09-05 Thread Simon Glass
Hi Alper, On Sat, 5 Sep 2020 at 08:44, Alper Nebi Yasak wrote: > > Currently, binman always runs the compile tools like cc, objcopy, strip, > etc. using their literal name. Instead, this patch makes it use the > target-specific versions by default, derived from the tool-specific > environment

[PATCH 2/3] binman: Use target-specific tools when cross-compiling

2020-09-05 Thread Alper Nebi Yasak
Currently, binman always runs the compile tools like cc, objcopy, strip, etc. using their literal name. Instead, this patch makes it use the target-specific versions by default, derived from the tool-specific environment variables (CC, OBJCOPY, STRIP, etc.) or from the CROSS_COMPILE environment