diff options
author | Derek Lin <derek.lin2@hpe.com> | 2017-04-11 10:47:53 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2017-04-13 10:38:31 +0800 |
commit | 8ac3309f1bf6479268f9d01f0758d22359a1adc8 (patch) | |
tree | 9c1583e9e60759cecad129d8e3b9f6b147ec0c19 /BaseTools | |
parent | f90c4fff00bee5f654ad93afd0f74b99050960de (diff) | |
download | edk2-8ac3309f1bf6479268f9d01f0758d22359a1adc8.zip edk2-8ac3309f1bf6479268f9d01f0758d22359a1adc8.tar.gz edk2-8ac3309f1bf6479268f9d01f0758d22359a1adc8.tar.bz2 |
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.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/AutoGen/GenMake.py b/BaseTools/Source/Python/AutoGen/GenMake.py index ea07b97..ac24bd8 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
|