summaryrefslogtreecommitdiff
path: root/BaseTools
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:30:44 +0800
commit4df14106411c4e0f7a521862c68d7110264fd2e0 (patch)
tree9e78c2a9f6b9eba7cf6ad831535875ef2e43d25b /BaseTools
parentfca6831ae481cbf911573eede3b7e6101cf32707 (diff)
downloadedk2-platforms-4df14106411c4e0f7a521862c68d7110264fd2e0.tar.xz
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')
-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