]> git.dujemihanovic.xyz Git - u-boot.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)
commit29cc0918427e10d9198d5a7ca252c4887b36f2f8
tree32e48580e8487eb8bf965610cb4ced6fe1093de1
parent1e4687aa47ed269bbc82497df872f614cfafb2e9
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