Re: [PATCH 3/3] binman: Allow resolving host-specific tools from env vars

2020-09-05 Thread Alper Nebi Yasak
On 05/09/2020 19:37, Simon Glass wrote: > Please see below. > > Also please add a mention of the CROSS_COMPILE thing in binman's README. > >> +def GetHostCompileTool(name): >> +"""Get the host-specific version for a compile tool >> + >> +This checks the environment variables that specify

Re: [PATCH 3/3] binman: Allow resolving host-specific tools from env vars

2020-09-05 Thread Simon Glass
On Sat, 5 Sep 2020 at 08:44, Alper Nebi Yasak wrote: > > This patch lets tools.Run() use host-specific versions with the > for_host keyword argument, based on the host-specific environment > variables (HOSTCC, HOSTOBJCOPY, HOSTSTRIP, etc.). > > Signed-off-by: Alper Nebi Yasak > --- > Not sure if

[PATCH 3/3] binman: Allow resolving host-specific tools from env vars

2020-09-05 Thread Alper Nebi Yasak
This patch lets tools.Run() use host-specific versions with the for_host keyword argument, based on the host-specific environment variables (HOSTCC, HOSTOBJCOPY, HOSTSTRIP, etc.). Signed-off-by: Alper Nebi Yasak --- Not sure if this patch will ever be useful, but it complements the previous