summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/C/Makefile
diff options
context:
space:
mode:
authorYunhua Feng <yunhuax.feng@intel.com>2018-09-26 08:52:18 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-10-13 09:57:15 +0800
commitc9486c8c9db4b7599145a0574025e8fe3135c45d (patch)
tree868f78df4000358bc295f2a898600bbb3041648f /BaseTools/Source/C/Makefile
parentd25c096d27e5b67aed38cadb76ea8fde81655596 (diff)
downloadedk2-c9486c8c9db4b7599145a0574025e8fe3135c45d.tar.gz
edk2-c9486c8c9db4b7599145a0574025e8fe3135c45d.tar.bz2
edk2-c9486c8c9db4b7599145a0574025e8fe3135c45d.zip
BaseTools: Update Makefile to ignore python tools make
ignore make python tools, replace PYTHON_HOME by PYTHON3 Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/C/Makefile')
-rw-r--r--BaseTools/Source/C/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/BaseTools/Source/C/Makefile b/BaseTools/Source/C/Makefile
index 1246d23afd..ac9adb287d 100644
--- a/BaseTools/Source/C/Makefile
+++ b/BaseTools/Source/C/Makefile
@@ -43,7 +43,7 @@ libs: $(LIBRARIES)
@echo # Build libraries
@echo ######################
@if not exist $(LIB_PATH) mkdir $(LIB_PATH)
- @$(PYTHON_HOME)\python.exe Makefiles\NmakeSubdirs.py all $**
+ @$(PYTHON3) Makefiles\NmakeSubdirs.py all $**
apps: $(APPLICATIONS)
@echo.
@@ -51,7 +51,7 @@ apps: $(APPLICATIONS)
@echo # Build executables
@echo ######################
@if not exist $(BIN_PATH) mkdir $(BIN_PATH)
- @$(PYTHON_HOME)\python.exe Makefiles\NmakeSubdirs.py all $**
+ @$(PYTHON3) Makefiles\NmakeSubdirs.py all $**
install: $(LIB_PATH) $(BIN_PATH)
@echo.
@@ -65,11 +65,11 @@ install: $(LIB_PATH) $(BIN_PATH)
.PHONY: clean
clean:
- @$(PYTHON_HOME)\python.exe Makefiles\NmakeSubdirs.py clean $(LIBRARIES) $(APPLICATIONS)
+ @$(PYTHON3) Makefiles\NmakeSubdirs.py clean $(LIBRARIES) $(APPLICATIONS)
.PHONY: cleanall
cleanall:
- @$(PYTHON_HOME)\python.exe Makefiles\NmakeSubdirs.py cleanall $(LIBRARIES) $(APPLICATIONS)
+ @$(PYTHON3) Makefiles\NmakeSubdirs.py cleanall $(LIBRARIES) $(APPLICATIONS)
!INCLUDE Makefiles\ms.rule