Merge branch 'ofw-dev' into dev

This commit is contained in:
MX
2023-08-16 16:52:43 +03:00
12 changed files with 77 additions and 11 deletions
+3 -1
View File
@@ -2,6 +2,8 @@ import subprocess
import gdb
import objdump
import shutil
import strip
from SCons.Action import _subproc
from SCons.Errors import StopError
@@ -11,7 +13,7 @@ from SCons.Tool import ar, asm, gcc, gnulink, gxx
def prefix_commands(env, command_prefix, cmd_list):
for command in cmd_list:
if command in env:
env[command] = command_prefix + env[command]
env[command] = shutil.which(command_prefix + env[command])
def _get_tool_version(env, tool):