]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Update BuildRule for *.nasmb
authorLiming Gao <liming.gao@intel.com>
Mon, 8 Jun 2015 09:44:57 +0000 (09:44 +0000)
committerlgao4 <lgao4@Edk2>
Mon, 8 Jun 2015 09:44:57 +0000 (09:44 +0000)
*.nasmb is place of *.asm16. To keep the same output file, copy the output
file with .com postfix.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Yingke Liu <yingke.d.liu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17580 6f19259b-4bc3-4df7-8a09-765794883524

BaseTools/Conf/build_rule.template

index e5467cc4557fec10ef25c8666bb4a63d92bbb372..3b054c4dddba4089ac9c8e934757200eaa3ba4d3 100644 (file)
@@ -1,5 +1,5 @@
 #\r
-#  Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
+#  Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>\r
 #  Portions copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
         "$(PP)" $(PP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i\r
         Trim --source-code --convert-hex -o ${d_path}(+)${s_base}.iii ${d_path}(+)${s_base}.i\r
         "$(NASM)" -I${s_path}(+) -l ${d_path}(+)${s_base}.lst $(NASMB_FLAGS) -o $dst ${d_path}(+)${s_base}.iii\r
-\r
+        # copy the output file with .com postfix that be same to the output file of .asm16\r
+        $(CP) ${dst} $(OUTPUT_DIR)(+)${s_base}.com\r
 \r
 [Microcode-File.USER_DEFINED, Microcode-File.Microcode]\r
     <InputFile>\r