render / rpms / edk2

Forked from rpms/edk2 3 months ago
Clone

Blame 0009-Tweak-the-tools_def-to-support-cross-compiling.patch

b17819
From 63b708ccad8afd0b887258888a53fd4945cff682 Mon Sep 17 00:00:00 2001
b17819
Message-Id: <63b708ccad8afd0b887258888a53fd4945cff682.1478467625.git.crobinso@redhat.com>
b17819
From: Paolo Bonzini <pbonzini@redhat.com>
b17819
Date: Sun, 6 Nov 2016 13:50:31 -0500
b17819
Subject: [PATCH] Tweak the tools_def to support cross-compiling.
b17819
b17819
These files are meant for customization, so this is not upstream.
b17819
---
b17819
 BaseTools/Conf/tools_def.template | 343 ++++++++++++++++++--------------------
b17819
 1 file changed, 161 insertions(+), 182 deletions(-)
b17819
b17819
diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template
b17819
index 39fda78..97f5557 100755
b17819
--- a/BaseTools/Conf/tools_def.template
b17819
+++ b/BaseTools/Conf/tools_def.template
b17819
@@ -178,27 +178,6 @@ DEFINE CYGWIN_BINIA32          = c:/cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe
Paolo Bonzini 498015
 DEFINE CYGWIN_BINX64           = c:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin/
Paolo Bonzini 498015
 DEFINE CYGWIN_BINIPF           = c:/cygwin/opt/tiano/gcc/ipf/bin/ia64-pc-elf-
Paolo Bonzini 498015
 
Paolo Bonzini 498015
-DEFINE GCC44_IA32_PREFIX       = ENV(GCC44_BIN)
Paolo Bonzini 498015
-DEFINE GCC44_X64_PREFIX        = ENV(GCC44_BIN)
Paolo Bonzini 498015
-
Paolo Bonzini 498015
-DEFINE GCC45_IA32_PREFIX       = ENV(GCC45_BIN)
Paolo Bonzini 498015
-DEFINE GCC45_X64_PREFIX        = ENV(GCC45_BIN)
Paolo Bonzini 498015
-
Paolo Bonzini 498015
-DEFINE GCC46_IA32_PREFIX       = ENV(GCC46_BIN)
Paolo Bonzini 498015
-DEFINE GCC46_X64_PREFIX        = ENV(GCC46_BIN)
Paolo Bonzini 498015
-
Paolo Bonzini 498015
-DEFINE GCC47_IA32_PREFIX       = ENV(GCC47_BIN)
Paolo Bonzini 498015
-DEFINE GCC47_X64_PREFIX        = ENV(GCC47_BIN)
Paolo Bonzini 498015
-
Paolo Bonzini 498015
-DEFINE GCC48_IA32_PREFIX       = ENV(GCC48_BIN)
Paolo Bonzini 498015
-DEFINE GCC48_X64_PREFIX        = ENV(GCC48_BIN)
Paolo Bonzini 498015
-
Paolo Bonzini 498015
-DEFINE GCC49_IA32_PREFIX       = ENV(GCC49_BIN)
Paolo Bonzini 498015
-DEFINE GCC49_X64_PREFIX        = ENV(GCC49_BIN)
Paolo Bonzini 498015
-
b17819
-DEFINE GCC5_IA32_PREFIX        = ENV(GCC5_BIN)
b17819
-DEFINE GCC5_X64_PREFIX         = ENV(GCC5_BIN)
b17819
-
Paolo Bonzini 498015
 DEFINE UNIX_IASL_BIN           = ENV(IASL_PREFIX)iasl
b17819
 DEFINE WIN_IASL_BIN            = ENV(IASL_PREFIX)iasl.exe
b17819
 DEFINE WIN_ASL_BIN             = ENV(IASL_PREFIX)asl.exe
b17819
@@ -4590,7 +4569,7 @@ DEFINE GCC5_AARCH64_ASLDLINK_FLAGS   = DEF(GCC49_AARCH64_ASLDLINK_FLAGS)
Paolo Bonzini 498015
 ####################################################################################
Paolo Bonzini 498015
 *_GCC44_*_*_FAMILY               = GCC
Paolo Bonzini 498015
 
Paolo Bonzini 498015
-*_GCC44_*_MAKE_PATH                    = DEF(GCC44_IA32_PREFIX)make
Paolo Bonzini 498015
+*_GCC44_*_MAKE_PATH                    = make
Paolo Bonzini 498015
 *_GCC44_*_*_DLL                        = ENV(GCC44_DLL)
Paolo Bonzini 498015
 *_GCC44_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
Paolo Bonzini 498015
 
b17819
@@ -4605,17 +4584,17 @@ DEFINE GCC5_AARCH64_ASLDLINK_FLAGS   = DEF(GCC49_AARCH64_ASLDLINK_FLAGS)
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
 # GCC44 IA32 definitions
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
-*_GCC44_IA32_OBJCOPY_PATH         = DEF(GCC44_IA32_PREFIX)objcopy
Paolo Bonzini 498015
-*_GCC44_IA32_CC_PATH              = DEF(GCC44_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC44_IA32_SLINK_PATH           = DEF(GCC44_IA32_PREFIX)ar
b17819
-*_GCC44_IA32_DLINK_PATH           = DEF(GCC44_IA32_PREFIX)gcc
b17819
-*_GCC44_IA32_ASLDLINK_PATH        = DEF(GCC44_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC44_IA32_ASM_PATH             = DEF(GCC44_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC44_IA32_PP_PATH              = DEF(GCC44_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC44_IA32_VFRPP_PATH           = DEF(GCC44_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC44_IA32_ASLCC_PATH           = DEF(GCC44_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC44_IA32_ASLPP_PATH           = DEF(GCC44_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC44_IA32_RC_PATH              = DEF(GCC44_IA32_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC44_IA32_OBJCOPY_PATH         = ENV(GCC44_IA32_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC44_IA32_CC_PATH              = ENV(GCC44_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC44_IA32_SLINK_PATH           = ENV(GCC44_IA32_PREFIX)ar
b17819
+*_GCC44_IA32_DLINK_PATH           = ENV(GCC44_IA32_PREFIX)gcc
b17819
+*_GCC44_IA32_ASLDLINK_PATH        = ENV(GCC44_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC44_IA32_ASM_PATH             = ENV(GCC44_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC44_IA32_PP_PATH              = ENV(GCC44_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC44_IA32_VFRPP_PATH           = ENV(GCC44_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC44_IA32_ASLCC_PATH           = ENV(GCC44_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC44_IA32_ASLPP_PATH           = ENV(GCC44_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC44_IA32_RC_PATH              = ENV(GCC44_IA32_PREFIX)objcopy
Paolo Bonzini 498015
 
Paolo Bonzini 498015
 *_GCC44_IA32_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m32
b17819
 *_GCC44_IA32_ASLDLINK_FLAGS       = DEF(GCC44_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386
b17819
@@ -4633,17 +4612,17 @@ RELEASE_GCC44_IA32_CC_FLAGS       = DEF(GCC44_IA32_CC_FLAGS) -Os
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
 # GCC44 X64 definitions
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
-*_GCC44_X64_OBJCOPY_PATH         = DEF(GCC44_X64_PREFIX)objcopy
Paolo Bonzini 498015
-*_GCC44_X64_CC_PATH              = DEF(GCC44_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC44_X64_SLINK_PATH           = DEF(GCC44_X64_PREFIX)ar
b17819
-*_GCC44_X64_DLINK_PATH           = DEF(GCC44_X64_PREFIX)gcc
b17819
-*_GCC44_X64_ASLDLINK_PATH        = DEF(GCC44_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC44_X64_ASM_PATH             = DEF(GCC44_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC44_X64_PP_PATH              = DEF(GCC44_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC44_X64_VFRPP_PATH           = DEF(GCC44_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC44_X64_ASLCC_PATH           = DEF(GCC44_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC44_X64_ASLPP_PATH           = DEF(GCC44_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC44_X64_RC_PATH              = DEF(GCC44_X64_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC44_X64_OBJCOPY_PATH         = ENV(GCC44_X64_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC44_X64_CC_PATH              = ENV(GCC44_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC44_X64_SLINK_PATH           = ENV(GCC44_X64_PREFIX)ar
b17819
+*_GCC44_X64_DLINK_PATH           = ENV(GCC44_X64_PREFIX)gcc
b17819
+*_GCC44_X64_ASLDLINK_PATH        = ENV(GCC44_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC44_X64_ASM_PATH             = ENV(GCC44_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC44_X64_PP_PATH              = ENV(GCC44_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC44_X64_VFRPP_PATH           = ENV(GCC44_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC44_X64_ASLCC_PATH           = ENV(GCC44_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC44_X64_ASLPP_PATH           = ENV(GCC44_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC44_X64_RC_PATH              = ENV(GCC44_X64_PREFIX)objcopy
Paolo Bonzini 498015
 
Paolo Bonzini 498015
 *_GCC44_X64_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m64
b17819
 *_GCC44_X64_ASLDLINK_FLAGS       = DEF(GCC44_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64
b17819
@@ -4666,7 +4645,7 @@ RELEASE_GCC44_X64_CC_FLAGS       = DEF(GCC44_X64_CC_FLAGS) -Os
Paolo Bonzini 498015
 ####################################################################################
Paolo Bonzini 498015
 *_GCC45_*_*_FAMILY               = GCC
Paolo Bonzini 498015
 
Paolo Bonzini 498015
-*_GCC45_*_MAKE_PATH                    = DEF(GCC45_IA32_PREFIX)make
Paolo Bonzini 498015
+*_GCC45_*_MAKE_PATH                    = make
Paolo Bonzini 498015
 *_GCC45_*_*_DLL                        = ENV(GCC45_DLL)
Paolo Bonzini 498015
 *_GCC45_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
Paolo Bonzini 498015
 
b17819
@@ -4681,17 +4660,17 @@ RELEASE_GCC44_X64_CC_FLAGS       = DEF(GCC44_X64_CC_FLAGS) -Os
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
 # GCC45 IA32 definitions
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
-*_GCC45_IA32_OBJCOPY_PATH         = DEF(GCC45_IA32_PREFIX)objcopy
Paolo Bonzini 498015
-*_GCC45_IA32_CC_PATH              = DEF(GCC45_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC45_IA32_SLINK_PATH           = DEF(GCC45_IA32_PREFIX)ar
b17819
-*_GCC45_IA32_DLINK_PATH           = DEF(GCC45_IA32_PREFIX)gcc
b17819
-*_GCC45_IA32_ASLDLINK_PATH        = DEF(GCC45_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC45_IA32_ASM_PATH             = DEF(GCC45_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC45_IA32_PP_PATH              = DEF(GCC45_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC45_IA32_VFRPP_PATH           = DEF(GCC45_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC45_IA32_ASLCC_PATH           = DEF(GCC45_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC45_IA32_ASLPP_PATH           = DEF(GCC45_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC45_IA32_RC_PATH              = DEF(GCC45_IA32_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC45_IA32_OBJCOPY_PATH         = ENV(GCC45_IA32_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC45_IA32_CC_PATH              = ENV(GCC45_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC45_IA32_SLINK_PATH           = ENV(GCC45_IA32_PREFIX)ar
b17819
+*_GCC45_IA32_DLINK_PATH           = ENV(GCC45_IA32_PREFIX)gcc
b17819
+*_GCC45_IA32_ASLDLINK_PATH        = ENV(GCC45_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC45_IA32_ASM_PATH             = ENV(GCC45_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC45_IA32_PP_PATH              = ENV(GCC45_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC45_IA32_VFRPP_PATH           = ENV(GCC45_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC45_IA32_ASLCC_PATH           = ENV(GCC45_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC45_IA32_ASLPP_PATH           = ENV(GCC45_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC45_IA32_RC_PATH              = ENV(GCC45_IA32_PREFIX)objcopy
Paolo Bonzini 498015
 
Paolo Bonzini 498015
 *_GCC45_IA32_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m32
b17819
 *_GCC45_IA32_ASLDLINK_FLAGS       = DEF(GCC45_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386
b17819
@@ -4709,17 +4688,17 @@ RELEASE_GCC45_IA32_CC_FLAGS       = DEF(GCC45_IA32_CC_FLAGS) -Os
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
 # GCC45 X64 definitions
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
-*_GCC45_X64_OBJCOPY_PATH         = DEF(GCC45_X64_PREFIX)objcopy
Paolo Bonzini 498015
-*_GCC45_X64_CC_PATH              = DEF(GCC45_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC45_X64_SLINK_PATH           = DEF(GCC45_X64_PREFIX)ar
b17819
-*_GCC45_X64_DLINK_PATH           = DEF(GCC45_X64_PREFIX)gcc
b17819
-*_GCC45_X64_ASLDLINK_PATH        = DEF(GCC45_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC45_X64_ASM_PATH             = DEF(GCC45_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC45_X64_PP_PATH              = DEF(GCC45_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC45_X64_VFRPP_PATH           = DEF(GCC45_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC45_X64_ASLCC_PATH           = DEF(GCC45_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC45_X64_ASLPP_PATH           = DEF(GCC45_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC45_X64_RC_PATH              = DEF(GCC45_X64_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC45_X64_OBJCOPY_PATH         = ENV(GCC45_X64_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC45_X64_CC_PATH              = ENV(GCC45_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC45_X64_SLINK_PATH           = ENV(GCC45_X64_PREFIX)ar
b17819
+*_GCC45_X64_DLINK_PATH           = ENV(GCC45_X64_PREFIX)gcc
b17819
+*_GCC45_X64_ASLDLINK_PATH        = ENV(GCC45_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC45_X64_ASM_PATH             = ENV(GCC45_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC45_X64_PP_PATH              = ENV(GCC45_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC45_X64_VFRPP_PATH           = ENV(GCC45_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC45_X64_ASLCC_PATH           = ENV(GCC45_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC45_X64_ASLPP_PATH           = ENV(GCC45_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC45_X64_RC_PATH              = ENV(GCC45_X64_PREFIX)objcopy
Paolo Bonzini 498015
 
Paolo Bonzini 498015
 *_GCC45_X64_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m64
b17819
 *_GCC45_X64_ASLDLINK_FLAGS       = DEF(GCC45_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64
b17819
@@ -4742,7 +4721,7 @@ RELEASE_GCC45_X64_CC_FLAGS       = DEF(GCC45_X64_CC_FLAGS) -Os
Paolo Bonzini 498015
 ####################################################################################
Paolo Bonzini 498015
 *_GCC46_*_*_FAMILY               = GCC
Paolo Bonzini 498015
 
Paolo Bonzini 498015
-*_GCC46_*_MAKE_PATH                    = DEF(GCC46_IA32_PREFIX)make
Paolo Bonzini 498015
+*_GCC46_*_MAKE_PATH                    = make
Paolo Bonzini 498015
 *_GCC46_*_*_DLL                        = ENV(GCC46_DLL)
Paolo Bonzini 498015
 *_GCC46_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
Paolo Bonzini 498015
 
b17819
@@ -4757,17 +4736,17 @@ RELEASE_GCC45_X64_CC_FLAGS       = DEF(GCC45_X64_CC_FLAGS) -Os
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
 # GCC46 IA32 definitions
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
-*_GCC46_IA32_OBJCOPY_PATH         = DEF(GCC46_IA32_PREFIX)objcopy
Paolo Bonzini 498015
-*_GCC46_IA32_CC_PATH              = DEF(GCC46_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC46_IA32_SLINK_PATH           = DEF(GCC46_IA32_PREFIX)ar
b17819
-*_GCC46_IA32_DLINK_PATH           = DEF(GCC46_IA32_PREFIX)gcc
b17819
-*_GCC46_IA32_ASLDLINK_PATH        = DEF(GCC46_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC46_IA32_ASM_PATH             = DEF(GCC46_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC46_IA32_PP_PATH              = DEF(GCC46_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC46_IA32_VFRPP_PATH           = DEF(GCC46_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC46_IA32_ASLCC_PATH           = DEF(GCC46_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC46_IA32_ASLPP_PATH           = DEF(GCC46_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC46_IA32_RC_PATH              = DEF(GCC46_IA32_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC46_IA32_OBJCOPY_PATH         = ENV(GCC46_IA32_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC46_IA32_CC_PATH              = ENV(GCC46_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC46_IA32_SLINK_PATH           = ENV(GCC46_IA32_PREFIX)ar
b17819
+*_GCC46_IA32_DLINK_PATH           = ENV(GCC46_IA32_PREFIX)gcc
b17819
+*_GCC46_IA32_ASLDLINK_PATH        = ENV(GCC46_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC46_IA32_ASM_PATH             = ENV(GCC46_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC46_IA32_PP_PATH              = ENV(GCC46_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC46_IA32_VFRPP_PATH           = ENV(GCC46_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC46_IA32_ASLCC_PATH           = ENV(GCC46_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC46_IA32_ASLPP_PATH           = ENV(GCC46_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC46_IA32_RC_PATH              = ENV(GCC46_IA32_PREFIX)objcopy
Paolo Bonzini 498015
 
Paolo Bonzini 498015
 *_GCC46_IA32_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m32
b17819
 *_GCC46_IA32_ASLDLINK_FLAGS       = DEF(GCC46_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386
b17819
@@ -4785,17 +4764,17 @@ RELEASE_GCC46_IA32_CC_FLAGS       = DEF(GCC46_IA32_CC_FLAGS) -Os -Wno-unused-but
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
 # GCC46 X64 definitions
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
-*_GCC46_X64_OBJCOPY_PATH         = DEF(GCC46_X64_PREFIX)objcopy
Paolo Bonzini 498015
-*_GCC46_X64_CC_PATH              = DEF(GCC46_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC46_X64_SLINK_PATH           = DEF(GCC46_X64_PREFIX)ar
b17819
-*_GCC46_X64_DLINK_PATH           = DEF(GCC46_X64_PREFIX)gcc
b17819
-*_GCC46_X64_ASLDLINK_PATH        = DEF(GCC46_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC46_X64_ASM_PATH             = DEF(GCC46_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC46_X64_PP_PATH              = DEF(GCC46_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC46_X64_VFRPP_PATH           = DEF(GCC46_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC46_X64_ASLCC_PATH           = DEF(GCC46_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC46_X64_ASLPP_PATH           = DEF(GCC46_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC46_X64_RC_PATH              = DEF(GCC46_X64_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC46_X64_OBJCOPY_PATH         = ENV(GCC46_X64_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC46_X64_CC_PATH              = ENV(GCC46_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC46_X64_SLINK_PATH           = ENV(GCC46_X64_PREFIX)ar
b17819
+*_GCC46_X64_DLINK_PATH           = ENV(GCC46_X64_PREFIX)gcc
b17819
+*_GCC46_X64_ASLDLINK_PATH        = ENV(GCC46_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC46_X64_ASM_PATH             = ENV(GCC46_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC46_X64_PP_PATH              = ENV(GCC46_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC46_X64_VFRPP_PATH           = ENV(GCC46_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC46_X64_ASLCC_PATH           = ENV(GCC46_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC46_X64_ASLPP_PATH           = ENV(GCC46_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC46_X64_RC_PATH              = ENV(GCC46_X64_PREFIX)objcopy
Paolo Bonzini 498015
 
Paolo Bonzini 498015
 *_GCC46_X64_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m64
b17819
 *_GCC46_X64_ASLDLINK_FLAGS       = DEF(GCC46_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64
b17819
@@ -4851,7 +4830,7 @@ RELEASE_GCC46_ARM_CC_FLAGS       = DEF(GCC46_ARM_CC_FLAGS) -Wno-unused-but-set-v
Paolo Bonzini 498015
 ####################################################################################
Paolo Bonzini 498015
 *_GCC47_*_*_FAMILY               = GCC
Paolo Bonzini 498015
 
Paolo Bonzini 498015
-*_GCC47_*_MAKE_PATH                    = DEF(GCC47_IA32_PREFIX)make
Paolo Bonzini 498015
+*_GCC47_*_MAKE_PATH                    = make
Paolo Bonzini 498015
 *_GCC47_*_*_DLL                        = ENV(GCC47_DLL)
Paolo Bonzini 498015
 *_GCC47_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
Paolo Bonzini 498015
 
b17819
@@ -4866,17 +4845,17 @@ RELEASE_GCC46_ARM_CC_FLAGS       = DEF(GCC46_ARM_CC_FLAGS) -Wno-unused-but-set-v
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
 # GCC47 IA32 definitions
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
-*_GCC47_IA32_OBJCOPY_PATH         = DEF(GCC47_IA32_PREFIX)objcopy
Paolo Bonzini 498015
-*_GCC47_IA32_CC_PATH              = DEF(GCC47_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC47_IA32_SLINK_PATH           = DEF(GCC47_IA32_PREFIX)ar
b17819
-*_GCC47_IA32_DLINK_PATH           = DEF(GCC47_IA32_PREFIX)gcc
b17819
-*_GCC47_IA32_ASLDLINK_PATH        = DEF(GCC47_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC47_IA32_ASM_PATH             = DEF(GCC47_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC47_IA32_PP_PATH              = DEF(GCC47_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC47_IA32_VFRPP_PATH           = DEF(GCC47_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC47_IA32_ASLCC_PATH           = DEF(GCC47_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC47_IA32_ASLPP_PATH           = DEF(GCC47_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC47_IA32_RC_PATH              = DEF(GCC47_IA32_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC47_IA32_OBJCOPY_PATH         = ENV(GCC47_IA32_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC47_IA32_CC_PATH              = ENV(GCC47_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC47_IA32_SLINK_PATH           = ENV(GCC47_IA32_PREFIX)ar
b17819
+*_GCC47_IA32_DLINK_PATH           = ENV(GCC47_IA32_PREFIX)gcc
b17819
+*_GCC47_IA32_ASLDLINK_PATH        = ENV(GCC47_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC47_IA32_ASM_PATH             = ENV(GCC47_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC47_IA32_PP_PATH              = ENV(GCC47_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC47_IA32_VFRPP_PATH           = ENV(GCC47_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC47_IA32_ASLCC_PATH           = ENV(GCC47_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC47_IA32_ASLPP_PATH           = ENV(GCC47_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC47_IA32_RC_PATH              = ENV(GCC47_IA32_PREFIX)objcopy
Paolo Bonzini 498015
 
Paolo Bonzini 498015
 *_GCC47_IA32_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m32
b17819
 *_GCC47_IA32_ASLDLINK_FLAGS       = DEF(GCC47_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386
b17819
@@ -4894,17 +4873,17 @@ RELEASE_GCC47_IA32_CC_FLAGS       = DEF(GCC47_IA32_CC_FLAGS) -Os -Wno-unused-but
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
 # GCC47 X64 definitions
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
-*_GCC47_X64_OBJCOPY_PATH         = DEF(GCC47_X64_PREFIX)objcopy
Paolo Bonzini 498015
-*_GCC47_X64_CC_PATH              = DEF(GCC47_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC47_X64_SLINK_PATH           = DEF(GCC47_X64_PREFIX)ar
b17819
-*_GCC47_X64_DLINK_PATH           = DEF(GCC47_X64_PREFIX)gcc
b17819
-*_GCC47_X64_ASLDLINK_PATH        = DEF(GCC47_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC47_X64_ASM_PATH             = DEF(GCC47_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC47_X64_PP_PATH              = DEF(GCC47_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC47_X64_VFRPP_PATH           = DEF(GCC47_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC47_X64_ASLCC_PATH           = DEF(GCC47_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC47_X64_ASLPP_PATH           = DEF(GCC47_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC47_X64_RC_PATH              = DEF(GCC47_X64_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC47_X64_OBJCOPY_PATH         = ENV(GCC47_X64_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC47_X64_CC_PATH              = ENV(GCC47_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC47_X64_SLINK_PATH           = ENV(GCC47_X64_PREFIX)ar
b17819
+*_GCC47_X64_DLINK_PATH           = ENV(GCC47_X64_PREFIX)gcc
b17819
+*_GCC47_X64_ASLDLINK_PATH        = ENV(GCC47_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC47_X64_ASM_PATH             = ENV(GCC47_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC47_X64_PP_PATH              = ENV(GCC47_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC47_X64_VFRPP_PATH           = ENV(GCC47_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC47_X64_ASLCC_PATH           = ENV(GCC47_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC47_X64_ASLPP_PATH           = ENV(GCC47_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC47_X64_RC_PATH              = ENV(GCC47_X64_PREFIX)objcopy
Paolo Bonzini 498015
 
Paolo Bonzini 498015
 *_GCC47_X64_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m64
b17819
 *_GCC47_X64_ASLDLINK_FLAGS       = DEF(GCC47_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64
b17819
@@ -4988,7 +4967,7 @@ RELEASE_GCC47_AARCH64_CC_FLAGS   = DEF(GCC47_AARCH64_CC_FLAGS) -Wno-unused-but-s
Paolo Bonzini 498015
 ####################################################################################
Paolo Bonzini 498015
 *_GCC48_*_*_FAMILY               = GCC
Paolo Bonzini 498015
 
Paolo Bonzini 498015
-*_GCC48_*_MAKE_PATH                    = DEF(GCC48_IA32_PREFIX)make
Paolo Bonzini 498015
+*_GCC48_*_MAKE_PATH                    = make
Paolo Bonzini 498015
 *_GCC48_*_*_DLL                        = ENV(GCC48_DLL)
Paolo Bonzini 498015
 *_GCC48_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
Paolo Bonzini 498015
 
b17819
@@ -5003,17 +4982,17 @@ RELEASE_GCC47_AARCH64_CC_FLAGS   = DEF(GCC47_AARCH64_CC_FLAGS) -Wno-unused-but-s
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
 # GCC48 IA32 definitions
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
-*_GCC48_IA32_OBJCOPY_PATH         = DEF(GCC48_IA32_PREFIX)objcopy
Paolo Bonzini 498015
-*_GCC48_IA32_CC_PATH              = DEF(GCC48_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC48_IA32_SLINK_PATH           = DEF(GCC48_IA32_PREFIX)ar
b17819
-*_GCC48_IA32_DLINK_PATH           = DEF(GCC48_IA32_PREFIX)gcc
b17819
-*_GCC48_IA32_ASLDLINK_PATH        = DEF(GCC48_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC48_IA32_ASM_PATH             = DEF(GCC48_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC48_IA32_PP_PATH              = DEF(GCC48_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC48_IA32_VFRPP_PATH           = DEF(GCC48_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC48_IA32_ASLCC_PATH           = DEF(GCC48_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC48_IA32_ASLPP_PATH           = DEF(GCC48_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC48_IA32_RC_PATH              = DEF(GCC48_IA32_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC48_IA32_OBJCOPY_PATH         = ENV(GCC48_IA32_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC48_IA32_CC_PATH              = ENV(GCC48_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC48_IA32_SLINK_PATH           = ENV(GCC48_IA32_PREFIX)ar
b17819
+*_GCC48_IA32_DLINK_PATH           = ENV(GCC48_IA32_PREFIX)gcc
b17819
+*_GCC48_IA32_ASLDLINK_PATH        = ENV(GCC48_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC48_IA32_ASM_PATH             = ENV(GCC48_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC48_IA32_PP_PATH              = ENV(GCC48_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC48_IA32_VFRPP_PATH           = ENV(GCC48_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC48_IA32_ASLCC_PATH           = ENV(GCC48_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC48_IA32_ASLPP_PATH           = ENV(GCC48_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC48_IA32_RC_PATH              = ENV(GCC48_IA32_PREFIX)objcopy
Paolo Bonzini 498015
 
Paolo Bonzini 498015
 *_GCC48_IA32_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m32
b17819
 *_GCC48_IA32_ASLDLINK_FLAGS       = DEF(GCC48_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386
b17819
@@ -5031,17 +5010,17 @@ RELEASE_GCC48_IA32_CC_FLAGS       = DEF(GCC48_IA32_CC_FLAGS) -Os -Wno-unused-but
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
 # GCC48 X64 definitions
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
-*_GCC48_X64_OBJCOPY_PATH         = DEF(GCC48_X64_PREFIX)objcopy
Paolo Bonzini 498015
-*_GCC48_X64_CC_PATH              = DEF(GCC48_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC48_X64_SLINK_PATH           = DEF(GCC48_X64_PREFIX)ar
b17819
-*_GCC48_X64_DLINK_PATH           = DEF(GCC48_X64_PREFIX)gcc
b17819
-*_GCC48_X64_ASLDLINK_PATH        = DEF(GCC48_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC48_X64_ASM_PATH             = DEF(GCC48_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC48_X64_PP_PATH              = DEF(GCC48_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC48_X64_VFRPP_PATH           = DEF(GCC48_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC48_X64_ASLCC_PATH           = DEF(GCC48_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC48_X64_ASLPP_PATH           = DEF(GCC48_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC48_X64_RC_PATH              = DEF(GCC48_X64_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC48_X64_OBJCOPY_PATH         = ENV(GCC48_X64_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC48_X64_CC_PATH              = ENV(GCC48_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC48_X64_SLINK_PATH           = ENV(GCC48_X64_PREFIX)ar
b17819
+*_GCC48_X64_DLINK_PATH           = ENV(GCC48_X64_PREFIX)gcc
b17819
+*_GCC48_X64_ASLDLINK_PATH        = ENV(GCC48_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC48_X64_ASM_PATH             = ENV(GCC48_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC48_X64_PP_PATH              = ENV(GCC48_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC48_X64_VFRPP_PATH           = ENV(GCC48_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC48_X64_ASLCC_PATH           = ENV(GCC48_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC48_X64_ASLPP_PATH           = ENV(GCC48_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC48_X64_RC_PATH              = ENV(GCC48_X64_PREFIX)objcopy
Paolo Bonzini 498015
 
Paolo Bonzini 498015
 *_GCC48_X64_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m64
b17819
 *_GCC48_X64_ASLDLINK_FLAGS       = DEF(GCC48_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64
b17819
@@ -5125,7 +5104,7 @@ RELEASE_GCC48_AARCH64_CC_FLAGS   = DEF(GCC48_AARCH64_CC_FLAGS) -Wno-unused-but-s
Paolo Bonzini 498015
 ####################################################################################
Paolo Bonzini 498015
 *_GCC49_*_*_FAMILY               = GCC
Paolo Bonzini 498015
 
Paolo Bonzini 498015
-*_GCC49_*_MAKE_PATH                    = DEF(GCC49_IA32_PREFIX)make
Paolo Bonzini 498015
+*_GCC49_*_MAKE_PATH                    = make
Paolo Bonzini 498015
 *_GCC49_*_*_DLL                        = ENV(GCC49_DLL)
Paolo Bonzini 498015
 *_GCC49_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
Paolo Bonzini 498015
 
b17819
@@ -5140,17 +5119,17 @@ RELEASE_GCC48_AARCH64_CC_FLAGS   = DEF(GCC48_AARCH64_CC_FLAGS) -Wno-unused-but-s
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
 # GCC49 IA32 definitions
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
-*_GCC49_IA32_OBJCOPY_PATH         = DEF(GCC49_IA32_PREFIX)objcopy
Paolo Bonzini 498015
-*_GCC49_IA32_CC_PATH              = DEF(GCC49_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC49_IA32_SLINK_PATH           = DEF(GCC49_IA32_PREFIX)ar
b17819
-*_GCC49_IA32_DLINK_PATH           = DEF(GCC49_IA32_PREFIX)gcc
b17819
-*_GCC49_IA32_ASLDLINK_PATH        = DEF(GCC49_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC49_IA32_ASM_PATH             = DEF(GCC49_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC49_IA32_PP_PATH              = DEF(GCC49_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC49_IA32_VFRPP_PATH           = DEF(GCC49_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC49_IA32_ASLCC_PATH           = DEF(GCC49_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC49_IA32_ASLPP_PATH           = DEF(GCC49_IA32_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC49_IA32_RC_PATH              = DEF(GCC49_IA32_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC49_IA32_OBJCOPY_PATH         = ENV(GCC49_IA32_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC49_IA32_CC_PATH              = ENV(GCC49_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC49_IA32_SLINK_PATH           = ENV(GCC49_IA32_PREFIX)ar
b17819
+*_GCC49_IA32_DLINK_PATH           = ENV(GCC49_IA32_PREFIX)gcc
b17819
+*_GCC49_IA32_ASLDLINK_PATH        = ENV(GCC49_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC49_IA32_ASM_PATH             = ENV(GCC49_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC49_IA32_PP_PATH              = ENV(GCC49_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC49_IA32_VFRPP_PATH           = ENV(GCC49_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC49_IA32_ASLCC_PATH           = ENV(GCC49_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC49_IA32_ASLPP_PATH           = ENV(GCC49_IA32_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC49_IA32_RC_PATH              = ENV(GCC49_IA32_PREFIX)objcopy
Paolo Bonzini 498015
 
Paolo Bonzini 498015
 *_GCC49_IA32_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m32
b17819
 *_GCC49_IA32_ASLDLINK_FLAGS       = DEF(GCC49_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386
b17819
@@ -5168,17 +5147,17 @@ RELEASE_GCC49_IA32_CC_FLAGS       = DEF(GCC49_IA32_CC_FLAGS) -Os -Wno-unused-but
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
 # GCC49 X64 definitions
Paolo Bonzini 498015
 ##################
Paolo Bonzini 498015
-*_GCC49_X64_OBJCOPY_PATH         = DEF(GCC49_X64_PREFIX)objcopy
Paolo Bonzini 498015
-*_GCC49_X64_CC_PATH              = DEF(GCC49_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC49_X64_SLINK_PATH           = DEF(GCC49_X64_PREFIX)ar
b17819
-*_GCC49_X64_DLINK_PATH           = DEF(GCC49_X64_PREFIX)gcc
b17819
-*_GCC49_X64_ASLDLINK_PATH        = DEF(GCC49_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC49_X64_ASM_PATH             = DEF(GCC49_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC49_X64_PP_PATH              = DEF(GCC49_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC49_X64_VFRPP_PATH           = DEF(GCC49_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC49_X64_ASLCC_PATH           = DEF(GCC49_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC49_X64_ASLPP_PATH           = DEF(GCC49_X64_PREFIX)gcc
Paolo Bonzini 498015
-*_GCC49_X64_RC_PATH              = DEF(GCC49_X64_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC49_X64_OBJCOPY_PATH         = ENV(GCC49_X64_PREFIX)objcopy
Paolo Bonzini 498015
+*_GCC49_X64_CC_PATH              = ENV(GCC49_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC49_X64_SLINK_PATH           = ENV(GCC49_X64_PREFIX)ar
b17819
+*_GCC49_X64_DLINK_PATH           = ENV(GCC49_X64_PREFIX)gcc
b17819
+*_GCC49_X64_ASLDLINK_PATH        = ENV(GCC49_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC49_X64_ASM_PATH             = ENV(GCC49_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC49_X64_PP_PATH              = ENV(GCC49_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC49_X64_VFRPP_PATH           = ENV(GCC49_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC49_X64_ASLCC_PATH           = ENV(GCC49_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC49_X64_ASLPP_PATH           = ENV(GCC49_X64_PREFIX)gcc
Paolo Bonzini 498015
+*_GCC49_X64_RC_PATH              = ENV(GCC49_X64_PREFIX)objcopy
Paolo Bonzini 498015
 
Paolo Bonzini 498015
 *_GCC49_X64_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m64
b17819
 *_GCC49_X64_ASLDLINK_FLAGS       = DEF(GCC49_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64
b17819
@@ -5268,7 +5247,7 @@ RELEASE_GCC49_AARCH64_DLINK_FLAGS  = DEF(GCC49_AARCH64_DLINK_FLAGS)
b17819
 ####################################################################################
b17819
 *_GCC5_*_*_FAMILY                = GCC
b17819
 
b17819
-*_GCC5_*_MAKE_PATH               = DEF(GCC5_IA32_PREFIX)make
b17819
+*_GCC5_*_MAKE_PATH               = make
b17819
 *_GCC5_*_*_DLL                   = ENV(GCC5_DLL)
b17819
 *_GCC5_*_ASL_PATH                = DEF(UNIX_IASL_BIN)
b17819
 
b17819
@@ -5283,17 +5262,17 @@ RELEASE_GCC49_AARCH64_DLINK_FLAGS  = DEF(GCC49_AARCH64_DLINK_FLAGS)
b17819
 ##################
b17819
 # GCC5 IA32 definitions
b17819
 ##################
b17819
-*_GCC5_IA32_OBJCOPY_PATH         = DEF(GCC5_IA32_PREFIX)objcopy
b17819
-*_GCC5_IA32_CC_PATH              = DEF(GCC5_IA32_PREFIX)gcc
b17819
-*_GCC5_IA32_SLINK_PATH           = DEF(GCC5_IA32_PREFIX)gcc-ar
b17819
-*_GCC5_IA32_DLINK_PATH           = DEF(GCC5_IA32_PREFIX)gcc
b17819
-*_GCC5_IA32_ASLDLINK_PATH        = DEF(GCC5_IA32_PREFIX)gcc
b17819
-*_GCC5_IA32_ASM_PATH             = DEF(GCC5_IA32_PREFIX)gcc
b17819
-*_GCC5_IA32_PP_PATH              = DEF(GCC5_IA32_PREFIX)gcc
b17819
-*_GCC5_IA32_VFRPP_PATH           = DEF(GCC5_IA32_PREFIX)gcc
b17819
-*_GCC5_IA32_ASLCC_PATH           = DEF(GCC5_IA32_PREFIX)gcc
b17819
-*_GCC5_IA32_ASLPP_PATH           = DEF(GCC5_IA32_PREFIX)gcc
b17819
-*_GCC5_IA32_RC_PATH              = DEF(GCC5_IA32_PREFIX)objcopy
b17819
+*_GCC5_IA32_OBJCOPY_PATH         = ENV(GCC5_IA32_PREFIX)objcopy
b17819
+*_GCC5_IA32_CC_PATH              = ENV(GCC5_IA32_PREFIX)gcc
b17819
+*_GCC5_IA32_SLINK_PATH           = ENV(GCC5_IA32_PREFIX)gcc-ar
b17819
+*_GCC5_IA32_DLINK_PATH           = ENV(GCC5_IA32_PREFIX)gcc
b17819
+*_GCC5_IA32_ASLDLINK_PATH        = ENV(GCC5_IA32_PREFIX)gcc
b17819
+*_GCC5_IA32_ASM_PATH             = ENV(GCC5_IA32_PREFIX)gcc
b17819
+*_GCC5_IA32_PP_PATH              = ENV(GCC5_IA32_PREFIX)gcc
b17819
+*_GCC5_IA32_VFRPP_PATH           = ENV(GCC5_IA32_PREFIX)gcc
b17819
+*_GCC5_IA32_ASLCC_PATH           = ENV(GCC5_IA32_PREFIX)gcc
b17819
+*_GCC5_IA32_ASLPP_PATH           = ENV(GCC5_IA32_PREFIX)gcc
b17819
+*_GCC5_IA32_RC_PATH              = ENV(GCC5_IA32_PREFIX)objcopy
b17819
 
b17819
 *_GCC5_IA32_ASLCC_FLAGS          = DEF(GCC_ASLCC_FLAGS) -m32 -fno-lto
b17819
 *_GCC5_IA32_ASLDLINK_FLAGS       = DEF(GCC5_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386
b17819
@@ -5315,17 +5294,17 @@ RELEASE_GCC5_IA32_DLINK_FLAGS    = DEF(GCC5_IA32_X64_DLINK_FLAGS) -flto -Os -Wl,
b17819
 ##################
b17819
 # GCC5 X64 definitions
b17819
 ##################
b17819
-*_GCC5_X64_OBJCOPY_PATH          = DEF(GCC5_X64_PREFIX)objcopy
b17819
-*_GCC5_X64_CC_PATH               = DEF(GCC5_X64_PREFIX)gcc
b17819
-*_GCC5_X64_SLINK_PATH            = DEF(GCC5_X64_PREFIX)gcc-ar
b17819
-*_GCC5_X64_DLINK_PATH            = DEF(GCC5_X64_PREFIX)gcc
b17819
-*_GCC5_X64_ASLDLINK_PATH         = DEF(GCC5_X64_PREFIX)gcc
b17819
-*_GCC5_X64_ASM_PATH              = DEF(GCC5_X64_PREFIX)gcc
b17819
-*_GCC5_X64_PP_PATH               = DEF(GCC5_X64_PREFIX)gcc
b17819
-*_GCC5_X64_VFRPP_PATH            = DEF(GCC5_X64_PREFIX)gcc
b17819
-*_GCC5_X64_ASLCC_PATH            = DEF(GCC5_X64_PREFIX)gcc
b17819
-*_GCC5_X64_ASLPP_PATH            = DEF(GCC5_X64_PREFIX)gcc
b17819
-*_GCC5_X64_RC_PATH               = DEF(GCC5_X64_PREFIX)objcopy
b17819
+*_GCC5_X64_OBJCOPY_PATH          = ENV(GCC5_X64_PREFIX)objcopy
b17819
+*_GCC5_X64_CC_PATH               = ENV(GCC5_X64_PREFIX)gcc
b17819
+*_GCC5_X64_SLINK_PATH            = ENV(GCC5_X64_PREFIX)gcc-ar
b17819
+*_GCC5_X64_DLINK_PATH            = ENV(GCC5_X64_PREFIX)gcc
b17819
+*_GCC5_X64_ASLDLINK_PATH         = ENV(GCC5_X64_PREFIX)gcc
b17819
+*_GCC5_X64_ASM_PATH              = ENV(GCC5_X64_PREFIX)gcc
b17819
+*_GCC5_X64_PP_PATH               = ENV(GCC5_X64_PREFIX)gcc
b17819
+*_GCC5_X64_VFRPP_PATH            = ENV(GCC5_X64_PREFIX)gcc
b17819
+*_GCC5_X64_ASLCC_PATH            = ENV(GCC5_X64_PREFIX)gcc
b17819
+*_GCC5_X64_ASLPP_PATH            = ENV(GCC5_X64_PREFIX)gcc
b17819
+*_GCC5_X64_RC_PATH               = ENV(GCC5_X64_PREFIX)objcopy
b17819
 
b17819
 *_GCC5_X64_ASLCC_FLAGS           = DEF(GCC_ASLCC_FLAGS) -m64 -fno-lto
b17819
 *_GCC5_X64_ASLDLINK_FLAGS        = DEF(GCC5_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64
b17819
-- 
b17819
2.9.3
b17819