From 4bb76f341012ca69b8766be8a23c49a1ab543c33 Mon Sep 17 00:00:00 2001 From: liruncong Date: Sat, 14 Sep 2019 22:21:51 +0800 Subject: [PATCH] =?UTF-8?q?[tools]=E4=BF=AE=E6=AD=A3=E5=A4=96=E9=83=A8?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E5=8F=98=E9=87=8F=E6=9C=AA=E5=BC=95=E5=85=A5?= =?UTF-8?q?Env=20Path,=E5=AF=BC=E8=87=B4=E8=87=AA=E5=AE=9A=E4=B9=89Builder?= =?UTF-8?q?=E7=9A=84action=E5=8F=82=E6=95=B0=E4=BD=BF=E7=94=A8python?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E6=97=B6,=E6=97=A0=E6=B3=95=E6=89=BE?= =?UTF-8?q?=E5=88=B0=E5=A4=96=E9=83=A8=E7=A8=8B=E5=BA=8F=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/building.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/building.py b/tools/building.py index f19b76d0e3..3a853a3dc9 100644 --- a/tools/building.py +++ b/tools/building.py @@ -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)])