*_*_*_*_BUILDRULEORDER = nasm asm S

Tool Chain in Mac Os will use S as the first priority. Other tool chains
use nasm as the first priority.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yingke Liu <yingke.d....@intel.com>
---
 BaseTools/Conf/tools_def.template | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/BaseTools/Conf/tools_def.template 
b/BaseTools/Conf/tools_def.template
index 5e0c3d7..eed8bf6 100644
--- a/BaseTools/Conf/tools_def.template
+++ b/BaseTools/Conf/tools_def.template
@@ -6274,10 +6274,11 @@ NOOPT_MYTOOLS_IPF_DLINK_FLAGS            = /NOLOGO 
/NODEFAULTLIB /LTCG /DLL /OPT
 #
 
####################################################################################
 #   XCODE32         - Xcode 3.2 Tools (Snow Leopard)
 *_XCODE32_*_*_FAMILY            = GCC
 *_XCODE32_*_*_BUILDRULEFAMILY   = XCODE
+*_XCODE32_*_*_BUILDRULEORDER    = S nasm
 
 
 *_XCODE32_*_ASL_PATH          = /usr/bin/iasl
 
 *_XCODE32_*_MAKE_PATH        = make
@@ -6383,10 +6384,11 @@ RELEASE_XCODE32_ARM_CC_FLAGS   = $(ARCHCC_FLAGS) 
$(PLATFORM_FLAGS) -mthumb-inter
 #
 
####################################################################################
 #   CLANG         - clang that produce Mach-O with EFI x86_64 ABI
 *_XCLANG_*_*_FAMILY            = GCC
 *_XCLANG_*_*_BUILDRULEFAMILY   = XCODE
+*_XCLANG_*_*_BUILDRULEORDER    = S nasm
 
 *_XCLANG_*_ASL_PATH          = /usr/bin/iasl
 
 *_XCLANG_*_MAKE_PATH        = make
 *_XCLANG_*_DSYMUTIL_PATH    = /usr/bin/dsymutil
@@ -6446,10 +6448,11 @@ RELEASE_XCLANG_X64_CC_FLAGS   = -ccc-host-triple 
x86_64-pc-win32-macho -c    -Os
 # XCODE5 support
 #
 
 *_XCODE5_*_*_FAMILY            = GCC
 *_XCODE5_*_*_BUILDRULEFAMILY   = XCODE
+*_XCODE5_*_*_BUILDRULEORDER    = S nasm
 
 *_XCODE5_*_ASL_PATH          = /usr/bin/iasl
 
 *_XCODE5_*_MAKE_PATH        = make
 *_XCODE5_*_DSYMUTIL_PATH    = /usr/bin/dsymutil
@@ -6938,5 +6941,10 @@ RELEASE_ARMLINUXGCC_AARCH64_CC_FLAGS = $(ARCHCC_FLAGS) 
$(PLATFORM_FLAGS) DEF(GCC
 # NASM tool definitions
 ##################
 *_*_*_NASM_PATH                = ENV(NASM_PREFIX)nasm
 # NASMB uses NASM produce a .bin from a .nasmb NASM source file
 *_*_*_NASMB_FLAGS              = -f bin
+
+#################
+# Build rule order
+#################
+*_*_*_*_BUILDRULEORDER = nasm asm S
-- 
1.9.5.msysgit.0


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to