From 107bb017a550fc31f75cba7d27cddfe3bcd88775 Mon Sep 17 00:00:00 2001 From: zliu3 Date: Wed, 29 Aug 2007 08:57:24 +0000 Subject: Update the build_rule.template to enable the PCD usage in IPF assembly code git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3732 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/Conf/build_rule.template | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template index e138f9d84c..e8c5bd459c 100644 --- a/BaseTools/Conf/build_rule.template +++ b/BaseTools/Conf/build_rule.template @@ -50,7 +50,7 @@ ## Macro # $(WORKSPACE) Workspace directory -# $(OUTPUT_DIR) Directory for intermediate files for building a module +# $(OUTPUT_DIR) Directory for intermediate files for building a module # $(DEBUG_DIR) Directory for files used to debug a module # $(BUILD_DIR) All files for building a platform will be put in this directory # $(BIN_DIR) Common directory for executable files @@ -145,8 +145,9 @@ $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj - "$(APP)" $(APP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i - "$(ASM)" -o ${dst} $(ASM_FLAGS) ${d_path}(+)${s_base}.i + "$(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) ${d_path}(+)${s_base}.iii [Build.Visual-Form-Representation-File] @@ -251,7 +252,7 @@ "$(CC)" /Fo$(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj $(CC_FLAGS) $(INC) ${src} - "$(DLINK)" /OUT:$(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll $(SLINK_FLAGS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj + "$(DLINK)" /OUT:$(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll $(SLINK_FLAGS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj GenFw -o ${dst} -c $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll [Build.Masm16-Code-File] -- cgit v1.2.3