From c8c6d794df25bfabc28c3624bd5c442c542b6234 Mon Sep 17 00:00:00 2001 From: jwang36 Date: Mon, 15 Oct 2007 06:17:00 +0000 Subject: Added GCC assembly code preprocessing support git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4114 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/Conf/build_rule.template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'BaseTools/Conf/build_rule.template') diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template index 06cfb6d1ba..19ed2a8f41 100644 --- a/BaseTools/Conf/build_rule.template +++ b/BaseTools/Conf/build_rule.template @@ -135,7 +135,9 @@ "$(ASM)" /Fo${dst} $(ASM_FLAGS) $(INC) ${d_path}(+)${s_base}.iii - "$(ASM)" -o ${dst} $(ASM_FLAGS) $(INC) ${src} + "$(PP)" $(PP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i + Trim --source-code -o ${d_path}(+)${s_base}.iii ${d_path}(+)${s_base}.i + "$(ASM)" -o ${dst} $(ASM_FLAGS) $(INC) ${d_path}(+)${s_base}.iii [Build.Iasm-Code-File] -- cgit v1.2.3