summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/AutoGen/GenMake.py
diff options
context:
space:
mode:
authorDerek Lin <derek.lin2@hpe.com>2017-04-11 10:47:53 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2017-04-13 10:38:31 +0800
commit8ac3309f1bf6479268f9d01f0758d22359a1adc8 (patch)
tree9c1583e9e60759cecad129d8e3b9f6b147ec0c19 /BaseTools/Source/Python/AutoGen/GenMake.py
parentf90c4fff00bee5f654ad93afd0f74b99050960de (diff)
downloadedk2-8ac3309f1bf6479268f9d01f0758d22359a1adc8.tar.gz
edk2-8ac3309f1bf6479268f9d01f0758d22359a1adc8.tar.bz2
edk2-8ac3309f1bf6479268f9d01f0758d22359a1adc8.zip
BaseTools: Fix build fail after clean or cleanall target.
Remove module AutoGenTimeStamp file during clean or cleanall. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Derek Lin <derek.lin2@hpe.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/GenMake.py')
-rw-r--r--BaseTools/Source/Python/AutoGen/GenMake.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/AutoGen/GenMake.py b/BaseTools/Source/Python/AutoGen/GenMake.py
index ea07b97786..ac24bd8bbe 100644
--- a/BaseTools/Source/Python/AutoGen/GenMake.py
+++ b/BaseTools/Source/Python/AutoGen/GenMake.py
@@ -386,7 +386,7 @@ ${END}
#
clean:
\t${BEGIN}${clean_command}
-\t${END}
+\t${END}\t$(RM) AutoGenTimeStamp
#
# clean all generated files
@@ -395,6 +395,7 @@ cleanall:
${BEGIN}\t${cleanall_command}
${END}\t$(RM) *.pdb *.idb > NUL 2>&1
\t$(RM) $(BIN_DIR)${separator}$(MODULE_NAME).efi
+\t$(RM) AutoGenTimeStamp
#
# clean all dependent libraries built