]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Allow resolving host-specific tools from env vars
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>
Sun, 6 Sep 2020 11:46:06 +0000 (14:46 +0300)
committerSimon Glass <sjg@chromium.org>
Tue, 22 Sep 2020 18:54:13 +0000 (12:54 -0600)
commitc2591a5be4aef4dd52b973c5c3c9349fcb224bb5
tree32e48580e8487eb8bf965610cb4ced6fe1093de1
parent61a15059cbb6a3eb58cb914d8450a2323c5ccb2d
binman: Allow resolving host-specific tools from env vars

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 <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/patman/tools.py