diff options
author | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-16 12:17:53 +0000 |
---|---|---|
committer | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-16 12:17:53 +0000 |
commit | 30311cfc7a82f827aa04e438882a0d3f981314ac (patch) | |
tree | 1762dd7b475058496d8e2d5aa449caa077a71c75 /BaseTools/Conf/build_rule.template | |
parent | cb33842e8a21547d6f695aec0cf3173ddd6a13cc (diff) | |
download | edk2-platforms-30311cfc7a82f827aa04e438882a0d3f981314ac.tar.xz |
Solved the VS2005 assembler issue in which "/omf" switch cannot call linker.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4132 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Conf/build_rule.template')
-rw-r--r-- | BaseTools/Conf/build_rule.template | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template index 19ed2a8f41..5c22a0badd 100644 --- a/BaseTools/Conf/build_rule.template +++ b/BaseTools/Conf/build_rule.template @@ -262,13 +262,12 @@ ?.asm16, ?.Asm16, ?.ASM16
<OutputFile>
- $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.com
+ $(OUTPUT_DIR)(+)${s_base}.com
<Command.MSFT, Command.INTEL>
- pushd .
cd $(OUTPUT_DIR)(+)${s_dir}
- "$(ASM)" /nologo /omf ${src} /Bl"$(ASMLINK)" $(ASMLINK_FLAGS)
- -$(CP) ${dst} $(OUTPUT_DIR) & popd
+ "$(ASM)" /nologo /c /omf /Fo$(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj ${src}
+ "$(ASMLINK)" $(ASMLINK_FLAGS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj,${dst},,,,
[Build.Microcode-File]
<InputFile>
|