From 8ac3309f1bf6479268f9d01f0758d22359a1adc8 Mon Sep 17 00:00:00 2001 From: Derek Lin Date: Tue, 11 Apr 2017 10:47:53 +0800 Subject: [PATCH] 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 Reviewed-by: Yonghong Zhu Reviewed-by: Liming Gao --- BaseTools/Source/Python/AutoGen/GenMake.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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