diff options
author | zliu3 <zliu3@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-08-29 08:57:24 +0000 |
---|---|---|
committer | zliu3 <zliu3@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-08-29 08:57:24 +0000 |
commit | 107bb017a550fc31f75cba7d27cddfe3bcd88775 (patch) | |
tree | 9c9dda29f69dda7ba552c87c5f850437df11548d /BaseTools/Conf/build_rule.template | |
parent | 623ad724e173ecb211e49b6835885520a419ae7b (diff) | |
download | edk2-platforms-107bb017a550fc31f75cba7d27cddfe3bcd88775.tar.xz |
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
Diffstat (limited to 'BaseTools/Conf/build_rule.template')
-rw-r--r-- | BaseTools/Conf/build_rule.template | 9 |
1 files 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
<Command.MSFT, Command.INTEL>
- "$(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]
<InputFile>
@@ -251,7 +252,7 @@ <Command.MSFT, Command.INTEL>
"$(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]
|