diff options
author | Feng, Bob C <bob.c.feng@intel.com> | 2019-03-14 22:47:32 +0800 |
---|---|---|
committer | Feng, Bob C <bob.c.feng@intel.com> | 2019-03-15 15:38:59 +0800 |
commit | dbe05cb1c0386b6c6abc32b771499acc28a27520 (patch) | |
tree | 380382ad9aa876e97a29837962c24bbecfa3d05f | |
parent | d868846a4ecc1f3ec28f68e05519960275138771 (diff) | |
download | edk2-dbe05cb1c0386b6c6abc32b771499acc28a27520.tar.gz edk2-dbe05cb1c0386b6c6abc32b771499acc28a27520.tar.bz2 edk2-dbe05cb1c0386b6c6abc32b771499acc28a27520.zip |
BaseTools: Fixed the issue of BaseTools Make cleanall failed.
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1622
There is duplicated $(PYTHON_COMMAND) in the
command of cleanall
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
-rw-r--r-- | BaseTools/Source/C/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/C/Makefile b/BaseTools/Source/C/Makefile index 08f0081212..ca71bd1178 100644 --- a/BaseTools/Source/C/Makefile +++ b/BaseTools/Source/C/Makefile @@ -67,8 +67,8 @@ clean: .PHONY: cleanall
cleanall:
- @if defined PYTHON_COMMAND $(PYTHON_COMMAND) $(PYTHON_COMMAND) Makefiles\NmakeSubdirs.py cleanall $(LIBRARIES) $(APPLICATIONS)
- @if not defined PYTHON_COMMAND $(PYTHON_HOME)\python.exe $(PYTHON_COMMAND) Makefiles\NmakeSubdirs.py cleanall $(LIBRARIES) $(APPLICATIONS)
+ @if defined PYTHON_COMMAND $(PYTHON_COMMAND) Makefiles\NmakeSubdirs.py cleanall $(LIBRARIES) $(APPLICATIONS)
+ @if not defined PYTHON_COMMAND $(PYTHON_HOME)\python.exe Makefiles\NmakeSubdirs.py cleanall $(LIBRARIES) $(APPLICATIONS)
!INCLUDE Makefiles\ms.rule
|