summaryrefslogtreecommitdiffstats
path: root/BaseTools/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/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/Makefile')
-rw-r--r--BaseTools/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/BaseTools/Makefile b/BaseTools/Makefile
index b98cd85cb7..316f725bd9 100644
--- a/BaseTools/Makefile
+++ b/BaseTools/Makefile
@@ -15,24 +15,24 @@
!ERROR "BASE_TOOLS_PATH is not set! Please run toolsetup.bat first!"
!ENDIF
-SUBDIRS = $(BASE_TOOLS_PATH)\Source\C $(BASE_TOOLS_PATH)\Source\Python
+SUBDIRS = $(BASE_TOOLS_PATH)\Source\C
-all: c python
+all: c
c :
- @$(PYTHON_HOME)\python.exe $(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.py all $(BASE_TOOLS_PATH)\Source\C
+ @$(PYTHON3) $(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.py all $(BASE_TOOLS_PATH)\Source\C
python:
- @$(PYTHON_HOME)\python.exe $(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.py all $(BASE_TOOLS_PATH)\Source\Python
+ @$(PYTHON3) $(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.py all $(BASE_TOOLS_PATH)\Source\Python
subdirs: $(SUBDIRS)
- @$(PYTHON_HOME)\python.exe $(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.py all $**
+ @$(PYTHON3) $(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.py all $**
.PHONY: clean
clean:
- $(PYTHON_HOME)\python.exe $(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.py clean $(SUBDIRS)
+ $(PYTHON3) $(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.py clean $(SUBDIRS)
.PHONY: cleanall
cleanall:
- $(PYTHON_HOME)\python.exe $(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.py cleanall $(SUBDIRS)
+ $(PYTHON3) $(BASE_TOOLS_PATH)\Source\C\Makefiles\NmakeSubdirs.py cleanall $(SUBDIRS)