Merge pull request #3072 from liruncong/EnvPath
[tools]修正外部环境变量未引入Env Path,导致自定义Builder的action参数使用python函数时,无法找到外部程序的问题
This commit is contained in:
commit
cb40e60273
|
@ -314,7 +314,7 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [
|
|||
os.environ['PATH'] = rtconfig.EXEC_PATH + ":" + os.environ['PATH']
|
||||
|
||||
# add program path
|
||||
env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
|
||||
env.PrependENVPath('PATH', os.environ['PATH'])
|
||||
# add rtconfig.h/BSP path into Kernel group
|
||||
DefineGroup("Kernel", [], [], CPPPATH=[str(Dir('#').abspath)])
|
||||
|
||||
|
|
Loading…
Reference in New Issue