summaryrefslogtreecommitdiff
path: root/BaseTools/Source/C
diff options
context:
space:
mode:
authorFeng, Bob C <bob.c.feng@intel.com>2019-03-14 22:47:32 +0800
committerFeng, Bob C <bob.c.feng@intel.com>2019-03-15 15:38:59 +0800
commitdbe05cb1c0386b6c6abc32b771499acc28a27520 (patch)
tree380382ad9aa876e97a29837962c24bbecfa3d05f /BaseTools/Source/C
parentd868846a4ecc1f3ec28f68e05519960275138771 (diff)
downloadedk2-dbe05cb1c0386b6c6abc32b771499acc28a27520.zip
edk2-dbe05cb1c0386b6c6abc32b771499acc28a27520.tar.gz
edk2-dbe05cb1c0386b6c6abc32b771499acc28a27520.tar.bz2
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>
Diffstat (limited to 'BaseTools/Source/C')
-rw-r--r--BaseTools/Source/C/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/C/Makefile b/BaseTools/Source/C/Makefile
index 08f0081..ca71bd1 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