Revision: 17580
          http://sourceforge.net/p/edk2/code/17580
Author:   lgao4
Date:     2015-06-08 09:44:57 +0000 (Mon, 08 Jun 2015)
Log Message:
-----------
BaseTools: Update BuildRule for *.nasmb

*.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 <[email protected]>
Reviewed-by: Yingke Liu <[email protected]>

Modified Paths:
--------------
    trunk/edk2/BaseTools/Conf/build_rule.template

Modified: trunk/edk2/BaseTools/Conf/build_rule.template
===================================================================
--- trunk/edk2/BaseTools/Conf/build_rule.template       2015-06-08 09:44:01 UTC 
(rev 17579)
+++ trunk/edk2/BaseTools/Conf/build_rule.template       2015-06-08 09:44:57 UTC 
(rev 17580)
@@ -1,5 +1,5 @@
 #
-#  Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
+#  Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>
 #  Portions copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>
 #  This program and the accompanying materials
 #  are licensed and made available under the terms and conditions of the BSD 
License
@@ -491,8 +491,9 @@
         "$(PP)" $(PP_FLAGS) $(INC) ${src} > ${d_path}(+)${s_base}.i
         Trim --source-code --convert-hex -o ${d_path}(+)${s_base}.iii 
${d_path}(+)${s_base}.i
         "$(NASM)" -I${s_path}(+) -l ${d_path}(+)${s_base}.lst $(NASMB_FLAGS) 
-o $dst ${d_path}(+)${s_base}.iii
+        # copy the output file with .com postfix that be same to the output 
file of .asm16
+        $(CP) ${dst} $(OUTPUT_DIR)(+)${s_base}.com
 
-
 [Microcode-File.USER_DEFINED, Microcode-File.Microcode]
     <InputFile>
         ?.txt, ?.TXT, ?.Txt, ?.mut, ?.inc


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to