2007-10-17 03:54:36 +02:00
|
|
|
|
#
|
2018-01-10 16:24:26 +01:00
|
|
|
|
# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
2010-05-18 07:04:32 +02:00
|
|
|
|
# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
2014-08-20 20:02:38 +02:00
|
|
|
|
# Portions copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.<BR>
|
2016-03-16 09:23:02 +01:00
|
|
|
|
# Copyright (c) 2015, Hewlett-Packard Development Company, L.P.<BR>
|
|
|
|
|
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
|
2019-10-08 04:54:21 +02:00
|
|
|
|
# Copyright (c) Microsoft Corporation
|
2007-10-17 03:54:36 +02:00
|
|
|
|
#
|
2019-04-04 01:03:11 +02:00
|
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2007-10-17 03:54:36 +02:00
|
|
|
|
#
|
2019-10-08 04:54:21 +02:00
|
|
|
|
#
|
|
|
|
|
# Increase this version tag any time you want user to get warning about updating this
|
|
|
|
|
# file in the Conf dir. By default it does not do update existing conf dirs.
|
|
|
|
|
#
|
|
|
|
|
# 2.00 - Initial version with changes for CI
|
|
|
|
|
# - Change RC path to use plugin
|
|
|
|
|
#
|
|
|
|
|
#!VERSION=2.00
|
2007-10-17 03:54:36 +02:00
|
|
|
|
|
|
|
|
|
IDENTIFIER = Default TOOL_CHAIN_CONF
|
|
|
|
|
|
|
|
|
|
# common path macros
|
2016-10-28 04:38:11 +02:00
|
|
|
|
DEFINE VS2008_BIN = ENV(VS2008_PREFIX)Vc\bin
|
|
|
|
|
DEFINE VS2008_DLL = ENV(VS2008_PREFIX)Common7\IDE;DEF(VS2008_BIN)
|
2010-03-01 00:39:39 +01:00
|
|
|
|
DEFINE VS2008_BINX64 = DEF(VS2008_BIN)\x86_amd64
|
|
|
|
|
DEFINE VS2008_BIN64 = DEF(VS2008_BIN)\x86_ia64
|
|
|
|
|
|
2016-10-28 04:38:11 +02:00
|
|
|
|
DEFINE VS2008x86_BIN = ENV(VS2008_PREFIX)Vc\bin
|
|
|
|
|
DEFINE VS2008x86_DLL = ENV(VS2008_PREFIX)Common7\IDE;DEF(VS2008x86_BIN)
|
2010-03-01 00:39:39 +01:00
|
|
|
|
DEFINE VS2008x86_BINX64 = DEF(VS2008x86_BIN)\x86_amd64
|
|
|
|
|
DEFINE VS2008x86_BIN64 = DEF(VS2008x86_BIN)\x86_ia64
|
|
|
|
|
|
2016-10-28 04:38:11 +02:00
|
|
|
|
DEFINE VS2010_BIN = ENV(VS2010_PREFIX)Vc\bin
|
|
|
|
|
DEFINE VS2010_DLL = ENV(VS2010_PREFIX)Common7\IDE;DEF(VS2010_BIN)
|
2012-04-10 09:18:20 +02:00
|
|
|
|
DEFINE VS2010_BINX64 = DEF(VS2010_BIN)\x86_amd64
|
|
|
|
|
DEFINE VS2010_BIN64 = DEF(VS2010_BIN)\x86_ia64
|
|
|
|
|
|
2016-10-28 04:38:11 +02:00
|
|
|
|
DEFINE VS2010x86_BIN = ENV(VS2010_PREFIX)Vc\bin
|
|
|
|
|
DEFINE VS2010x86_DLL = ENV(VS2010_PREFIX)Common7\IDE;DEF(VS2010x86_BIN)
|
2012-04-10 09:18:20 +02:00
|
|
|
|
DEFINE VS2010x86_BINX64 = DEF(VS2010x86_BIN)\x86_amd64
|
|
|
|
|
DEFINE VS2010x86_BIN64 = DEF(VS2010x86_BIN)\x86_ia64
|
|
|
|
|
|
2016-10-28 04:38:11 +02:00
|
|
|
|
DEFINE VS2012_BIN = ENV(VS2012_PREFIX)Vc\bin
|
|
|
|
|
DEFINE VS2012_DLL = ENV(VS2012_PREFIX)Common7\IDE;DEF(VS2012_BIN)
|
2013-08-23 04:18:16 +02:00
|
|
|
|
DEFINE VS2012_BINX64 = DEF(VS2012_BIN)\x86_amd64
|
|
|
|
|
|
2016-10-28 04:38:11 +02:00
|
|
|
|
DEFINE VS2012x86_BIN = ENV(VS2012_PREFIX)Vc\bin
|
|
|
|
|
DEFINE VS2012x86_DLL = ENV(VS2012_PREFIX)Common7\IDE;DEF(VS2012x86_BIN)
|
2013-08-23 04:18:16 +02:00
|
|
|
|
DEFINE VS2012x86_BINX64 = DEF(VS2012x86_BIN)\x86_amd64
|
|
|
|
|
|
2016-10-28 04:38:11 +02:00
|
|
|
|
DEFINE VS2013_BIN = ENV(VS2013_PREFIX)Vc\bin
|
|
|
|
|
DEFINE VS2013_DLL = ENV(VS2013_PREFIX)Common7\IDE;DEF(VS2013_BIN)
|
2014-07-31 08:14:01 +02:00
|
|
|
|
DEFINE VS2013_BINX64 = DEF(VS2013_BIN)\x86_amd64
|
|
|
|
|
|
2016-10-28 04:38:11 +02:00
|
|
|
|
DEFINE VS2013x86_BIN = ENV(VS2013_PREFIX)Vc\bin
|
|
|
|
|
DEFINE VS2013x86_DLL = ENV(VS2013_PREFIX)Common7\IDE;DEF(VS2013x86_BIN)
|
2014-07-31 08:14:01 +02:00
|
|
|
|
DEFINE VS2013x86_BINX64 = DEF(VS2013x86_BIN)\x86_amd64
|
|
|
|
|
|
2016-10-28 04:38:11 +02:00
|
|
|
|
DEFINE VS2015_BIN = ENV(VS2015_PREFIX)Vc\bin
|
|
|
|
|
DEFINE VS2015_DLL = ENV(VS2015_PREFIX)Common7\IDE;DEF(VS2015_BIN)
|
2015-12-03 04:19:01 +01:00
|
|
|
|
DEFINE VS2015_BINX64 = DEF(VS2015_BIN)\x86_amd64
|
|
|
|
|
|
2016-10-28 04:38:11 +02:00
|
|
|
|
DEFINE VS2015x86_BIN = ENV(VS2015_PREFIX)Vc\bin
|
|
|
|
|
DEFINE VS2015x86_DLL = ENV(VS2015_PREFIX)Common7\IDE;DEF(VS2015x86_BIN)
|
2015-12-03 04:19:01 +01:00
|
|
|
|
DEFINE VS2015x86_BINX64 = DEF(VS2015x86_BIN)\x86_amd64
|
|
|
|
|
|
2019-09-19 10:52:25 +02:00
|
|
|
|
DEFINE VS_HOST = x86
|
2017-11-22 17:26:08 +01:00
|
|
|
|
|
2019-09-19 10:52:25 +02:00
|
|
|
|
DEFINE VS2017_BIN = ENV(VS2017_PREFIX)bin
|
|
|
|
|
DEFINE VS2017_BIN_HOST = DEF(VS2017_BIN)\HostDEF(VS_HOST)\DEF(VS_HOST)
|
|
|
|
|
DEFINE VS2017_BIN_IA32 = DEF(VS2017_BIN)\HostDEF(VS_HOST)\x86
|
|
|
|
|
DEFINE VS2017_BIN_X64 = DEF(VS2017_BIN)\HostDEF(VS_HOST)\x64
|
|
|
|
|
DEFINE VS2017_BIN_ARM = DEF(VS2017_BIN)\HostDEF(VS_HOST)\arm
|
|
|
|
|
DEFINE VS2017_BIN_AARCH64 = DEF(VS2017_BIN)\HostDEF(VS_HOST)\arm64
|
|
|
|
|
|
|
|
|
|
DEFINE VS2019_BIN = ENV(VS2019_PREFIX)bin
|
|
|
|
|
DEFINE VS2019_BIN_HOST = DEF(VS2019_BIN)\HostDEF(VS_HOST)\DEF(VS_HOST)
|
|
|
|
|
DEFINE VS2019_BIN_IA32 = DEF(VS2019_BIN)\HostDEF(VS_HOST)\x86
|
|
|
|
|
DEFINE VS2019_BIN_X64 = DEF(VS2019_BIN)\HostDEF(VS_HOST)\x64
|
|
|
|
|
DEFINE VS2019_BIN_ARM = DEF(VS2019_BIN)\HostDEF(VS_HOST)\arm
|
|
|
|
|
DEFINE VS2019_BIN_AARCH64 = DEF(VS2019_BIN)\HostDEF(VS_HOST)\arm64
|
|
|
|
|
|
2019-10-08 04:54:21 +02:00
|
|
|
|
#
|
|
|
|
|
# Resource compiler
|
|
|
|
|
#
|
|
|
|
|
DEFINE RC_PATH = ENV(WINSDK_PATH_FOR_RC_EXE)\rc.exe
|
|
|
|
|
|
2019-09-19 10:52:25 +02:00
|
|
|
|
DEFINE WINSDK_BIN = ENV(WINSDK_PREFIX)
|
|
|
|
|
DEFINE WINSDKx86_BIN = ENV(WINSDKx86_PREFIX)
|
2009-11-09 12:47:35 +01:00
|
|
|
|
|
2014-08-01 20:11:32 +02:00
|
|
|
|
# Microsoft Visual Studio 2010
|
2019-09-19 10:52:25 +02:00
|
|
|
|
DEFINE WINSDK7_BIN = ENV(WINSDK7_PREFIX)
|
|
|
|
|
DEFINE WINSDK7x86_BIN = ENV(WINSDK7x86_PREFIX)
|
2014-08-01 20:11:32 +02:00
|
|
|
|
|
|
|
|
|
# Microsoft Visual Studio 2012 Update 1 (required for rc.exe that was not included in the initial release)
|
2019-09-19 10:52:25 +02:00
|
|
|
|
DEFINE WINSDK71_BIN = ENV(WINSDK71_PREFIX)
|
|
|
|
|
DEFINE WINSDK71x86_BIN = ENV(WINSDK71x86_PREFIX)
|
2014-08-01 20:11:32 +02:00
|
|
|
|
|
2014-07-31 08:14:01 +02:00
|
|
|
|
# Microsoft Visual Studio 2013 Professional Edition
|
2019-09-19 10:52:25 +02:00
|
|
|
|
DEFINE WINSDK8_BIN = ENV(WINSDK8_PREFIX)x86\
|
|
|
|
|
DEFINE WINSDK8x86_BIN = ENV(WINSDK8x86_PREFIX)x64
|
2014-07-31 08:14:01 +02:00
|
|
|
|
|
2015-12-03 04:19:01 +01:00
|
|
|
|
# Microsoft Visual Studio 2015 Professional Edition
|
2019-09-19 10:52:25 +02:00
|
|
|
|
DEFINE WINSDK81_BIN = ENV(WINSDK81_PREFIX)x86\
|
|
|
|
|
DEFINE WINSDK81x86_BIN = ENV(WINSDK81x86_PREFIX)x64
|
2015-12-03 04:19:01 +01:00
|
|
|
|
|
2019-09-19 10:52:25 +02:00
|
|
|
|
# Microsoft Visual Studio 2017/2019 Professional Edition
|
|
|
|
|
DEFINE WINSDK10_BIN = ENV(WINSDK10_PREFIX)DEF(VS_HOST)
|
2017-11-22 17:26:08 +01:00
|
|
|
|
|
2009-11-09 12:47:35 +01:00
|
|
|
|
# These defines are needed for certain Microsoft Visual Studio tools that
|
|
|
|
|
# are used by other toolchains. An example is that ICC on Windows normally
|
|
|
|
|
# uses Microsoft's nmake.exe.
|
|
|
|
|
|
2019-01-28 04:19:50 +01:00
|
|
|
|
# Some MS_VS_BIN options: DEF(VS2008_BIN), DEF(VS2008x86_BIN)
|
|
|
|
|
DEFINE MS_VS_BIN = DEF(VS2008_BIN)
|
|
|
|
|
# Some MS_VS_DLL options: DEF(VS2008_DLL), DEF(VS2008x86_DLL)
|
|
|
|
|
DEFINE MS_VS_DLL = DEF(VS2008_DLL)
|
2009-11-09 12:47:35 +01:00
|
|
|
|
|
2016-10-28 04:38:11 +02:00
|
|
|
|
DEFINE WINDDK_BIN16 = ENV(WINDDK3790_PREFIX)bin16
|
|
|
|
|
DEFINE WINDDK_BINX64 = ENV(WINDDK3790_PREFIX)win64\x86\amd64
|
2007-10-17 03:54:36 +02:00
|
|
|
|
|
2009-04-14 05:20:33 +02:00
|
|
|
|
DEFINE EBC_BIN = C:\Program Files\Intel\EBC\Bin
|
|
|
|
|
DEFINE EBC_BINx86 = C:\Program Files (x86)\Intel\EBC\Bin
|
|
|
|
|
|
2009-04-13 14:50:50 +02:00
|
|
|
|
|
2009-04-14 05:20:33 +02:00
|
|
|
|
DEFINE CYGWIN_BIN = c:/cygwin/bin
|
2009-11-09 12:47:35 +01:00
|
|
|
|
DEFINE CYGWIN_BINIA32 = c:/cygwin/opt/tiano/i386-tiano-pe/i386-tiano-pe/bin/
|
2009-08-15 07:05:00 +02:00
|
|
|
|
DEFINE CYGWIN_BINX64 = c:/cygwin/opt/tiano/x86_64-pc-mingw64/x86_64-pc-mingw64/bin/
|
2009-04-14 05:20:33 +02:00
|
|
|
|
|
2014-11-18 03:38:20 +01:00
|
|
|
|
DEFINE GCC48_IA32_PREFIX = ENV(GCC48_BIN)
|
|
|
|
|
DEFINE GCC48_X64_PREFIX = ENV(GCC48_BIN)
|
2014-01-10 06:25:50 +01:00
|
|
|
|
|
2014-11-18 03:38:20 +01:00
|
|
|
|
DEFINE GCC49_IA32_PREFIX = ENV(GCC49_BIN)
|
|
|
|
|
DEFINE GCC49_X64_PREFIX = ENV(GCC49_BIN)
|
2014-07-28 19:37:10 +02:00
|
|
|
|
|
2016-07-17 23:20:10 +02:00
|
|
|
|
DEFINE GCC5_IA32_PREFIX = ENV(GCC5_BIN)
|
|
|
|
|
DEFINE GCC5_X64_PREFIX = ENV(GCC5_BIN)
|
2018-04-25 12:11:42 +02:00
|
|
|
|
DEFINE GCC_HOST_PREFIX = ENV(GCC_HOST_BIN)
|
2016-07-17 23:20:10 +02:00
|
|
|
|
|
2014-07-01 09:10:10 +02:00
|
|
|
|
DEFINE UNIX_IASL_BIN = ENV(IASL_PREFIX)iasl
|
2016-10-28 04:38:11 +02:00
|
|
|
|
DEFINE WIN_IASL_BIN = ENV(IASL_PREFIX)iasl.exe
|
2009-04-14 05:20:33 +02:00
|
|
|
|
|
2009-12-29 07:16:53 +01:00
|
|
|
|
DEFINE IASL_FLAGS =
|
2009-06-17 11:34:46 +02:00
|
|
|
|
DEFINE IASL_OUTFLAGS = -p
|
2009-12-29 07:16:53 +01:00
|
|
|
|
|
|
|
|
|
DEFINE DEFAULT_WIN_ASL_BIN = DEF(WIN_IASL_BIN)
|
|
|
|
|
DEFINE DEFAULT_WIN_ASL_FLAGS = DEF(IASL_FLAGS)
|
|
|
|
|
DEFINE DEFAULT_WIN_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
|
2009-04-13 14:50:50 +02:00
|
|
|
|
|
2019-12-02 09:24:19 +01:00
|
|
|
|
# MSFT Build Flag for included header file list generation
|
|
|
|
|
DEFINE MSFT_DEPS_FLAGS = /showIncludes
|
|
|
|
|
|
2010-10-11 08:26:52 +02:00
|
|
|
|
DEFINE MSFT_ASLPP_FLAGS = /nologo /E /C /FIAutoGen.h
|
2010-11-15 03:51:34 +01:00
|
|
|
|
DEFINE MSFT_ASLCC_FLAGS = /nologo /c /FIAutoGen.h /TC /Dmain=ReferenceAcpiTable
|
2011-05-11 12:26:49 +02:00
|
|
|
|
DEFINE MSFT_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE
|
2009-04-13 14:50:50 +02:00
|
|
|
|
|
2009-09-11 05:14:43 +02:00
|
|
|
|
DEFINE IPHONE_TOOLS = /Developer/Platforms/iPhoneOS.platform/Developer
|
|
|
|
|
|
2010-03-12 11:54:01 +01:00
|
|
|
|
DEFINE SOURCERY_CYGWIN_TOOLS = /cygdrive/c/Program Files/CodeSourcery/Sourcery G++ Lite/bin
|
2007-10-17 03:54:36 +02:00
|
|
|
|
|
2018-02-27 18:47:06 +01:00
|
|
|
|
DEFINE DTCPP_BIN = ENV(DTCPP_PREFIX)cpp
|
2017-08-29 15:21:02 +02:00
|
|
|
|
DEFINE DTC_BIN = ENV(DTC_PREFIX)dtc
|
|
|
|
|
|
2007-10-17 03:54:36 +02:00
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
|
|
|
|
# format: TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE = <string>
|
2007-12-25 10:15:38 +01:00
|
|
|
|
# priority:
|
2007-10-17 03:54:36 +02:00
|
|
|
|
# TARGET_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE (Highest)
|
|
|
|
|
# ******_TOOLCHAIN_ARCH_COMMANDTYPE_ATTRIBUTE
|
|
|
|
|
# TARGET_*********_ARCH_COMMANDTYPE_ATTRIBUTE
|
|
|
|
|
# ******_*********_ARCH_COMMANDTYPE_ATTRIBUTE
|
|
|
|
|
# TARGET_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE
|
|
|
|
|
# ******_TOOLCHAIN_****_COMMANDTYPE_ATTRIBUTE
|
|
|
|
|
# TARGET_*********_****_COMMANDTYPE_ATTRIBUTE
|
|
|
|
|
# ******_*********_****_COMMANDTYPE_ATTRIBUTE
|
|
|
|
|
# TARGET_TOOLCHAIN_ARCH_***********_ATTRIBUTE
|
|
|
|
|
# ******_TOOLCHAIN_ARCH_***********_ATTRIBUTE
|
|
|
|
|
# TARGET_*********_ARCH_***********_ATTRIBUTE
|
|
|
|
|
# ******_*********_ARCH_***********_ATTRIBUTE
|
|
|
|
|
# TARGET_TOOLCHAIN_****_***********_ATTRIBUTE
|
|
|
|
|
# ******_TOOLCHAIN_****_***********_ATTRIBUTE
|
|
|
|
|
# TARGET_*********_****_***********_ATTRIBUTE
|
|
|
|
|
# ******_*********_****_***********_ATTRIBUTE (Lowest)
|
|
|
|
|
#
|
|
|
|
|
####################################################################################
|
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
|
|
|
|
# Supported Tool Chains
|
|
|
|
|
# =====================
|
2011-09-18 14:17:25 +02:00
|
|
|
|
# VS2008 -win32- Requires:
|
|
|
|
|
# Microsoft Visual Studio 2008 Team Suite Edition
|
|
|
|
|
# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
|
|
|
|
|
# Optional:
|
|
|
|
|
# Required to build EBC drivers:
|
|
|
|
|
# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
|
|
|
|
|
# Required to build platforms or ACPI tables:
|
2015-06-29 05:10:25 +02:00
|
|
|
|
# Intel(r) ACPI Compiler (iasl.exe) from
|
|
|
|
|
# https://acpica.org/downloads
|
2012-04-10 09:18:20 +02:00
|
|
|
|
# VS2010 -win32- Requires:
|
|
|
|
|
# Microsoft Visual Studio 2010 Premium Edition
|
|
|
|
|
# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
|
|
|
|
|
# Optional:
|
|
|
|
|
# Required to build EBC drivers:
|
|
|
|
|
# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
|
|
|
|
|
# Required to build platforms or ACPI tables:
|
2015-06-29 05:10:25 +02:00
|
|
|
|
# Intel(r) ACPI Compiler (iasl.exe) from
|
|
|
|
|
# https://acpica.org/downloads
|
2013-08-23 04:18:16 +02:00
|
|
|
|
# VS2012 -win32- Requires:
|
|
|
|
|
# Microsoft Visual Studio 2012 Professional Edition
|
|
|
|
|
# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
|
|
|
|
|
# Optional:
|
|
|
|
|
# Required to build EBC drivers:
|
|
|
|
|
# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
|
|
|
|
|
# Required to build platforms or ACPI tables:
|
2015-06-29 05:10:25 +02:00
|
|
|
|
# Intel(r) ACPI Compiler (iasl.exe) from
|
|
|
|
|
# https://acpica.org/downloads
|
2014-07-31 08:14:01 +02:00
|
|
|
|
# VS2013 -win32- Requires:
|
|
|
|
|
# Microsoft Visual Studio 2013 Professional Edition
|
|
|
|
|
# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
|
|
|
|
|
# Optional:
|
|
|
|
|
# Required to build EBC drivers:
|
|
|
|
|
# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
|
|
|
|
|
# Required to build platforms or ACPI tables:
|
2015-06-29 05:10:25 +02:00
|
|
|
|
# Intel(r) ACPI Compiler (iasl.exe) from
|
|
|
|
|
# https://acpica.org/downloads
|
2015-12-03 04:19:01 +01:00
|
|
|
|
# VS2015 -win32- Requires:
|
|
|
|
|
# Microsoft Visual Studio 2015 Professional Edition
|
|
|
|
|
# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
|
|
|
|
|
# Optional:
|
|
|
|
|
# Required to build EBC drivers:
|
|
|
|
|
# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
|
|
|
|
|
# Required to build platforms or ACPI tables:
|
|
|
|
|
# Intel(r) ACPI Compiler (iasl.exe) from
|
|
|
|
|
# https://acpica.org/downloads
|
2017-11-22 17:26:08 +01:00
|
|
|
|
# VS2017 -win32- Requires:
|
2018-02-23 10:50:03 +01:00
|
|
|
|
# Microsoft Visual Studio 2017 version 15.2 (15.4 for ARM64) or later
|
2017-11-22 17:26:08 +01:00
|
|
|
|
# Optional:
|
|
|
|
|
# Required to build EBC drivers:
|
|
|
|
|
# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
|
|
|
|
|
# Required to build platforms or ACPI tables:
|
|
|
|
|
# Intel(r) ACPI Compiler (iasl.exe) from
|
|
|
|
|
# https://acpica.org/downloads
|
2018-01-12 14:33:31 +01:00
|
|
|
|
# Note:
|
2018-02-23 10:50:03 +01:00
|
|
|
|
# Building of XIP firmware images for ARM/ARM64 is not currently supported (only applications).
|
2018-01-12 14:33:31 +01:00
|
|
|
|
# /FILEALIGN:4096 and other changes are needed for ARM firmware builds.
|
2019-09-19 10:52:25 +02:00
|
|
|
|
# VS2019 -win32- Requires:
|
|
|
|
|
# Microsoft Visual Studio 2019 version 16.2 or later
|
|
|
|
|
# Optional:
|
|
|
|
|
# Required to build EBC drivers:
|
|
|
|
|
# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
|
|
|
|
|
# Required to build platforms or ACPI tables:
|
|
|
|
|
# Intel(r) ACPI Compiler (iasl.exe) from
|
|
|
|
|
# https://acpica.org/downloads
|
|
|
|
|
# Note:
|
|
|
|
|
# Building of XIP firmware images for ARM/ARM64 is not currently supported (only applications).
|
|
|
|
|
# /FILEALIGN:4096 and other changes are needed for ARM firmware builds.
|
2014-11-18 03:38:20 +01:00
|
|
|
|
# GCC48 -Linux,Windows- Requires:
|
2014-11-24 03:43:17 +01:00
|
|
|
|
# GCC 4.8 targeting x86_64-linux-gnu, aarch64-linux-gnu, or arm-linux-gnueabi
|
2014-01-10 06:25:50 +01:00
|
|
|
|
# Optional:
|
|
|
|
|
# Required to build platforms or ACPI tables:
|
2015-06-29 05:10:25 +02:00
|
|
|
|
# Intel(r) ACPI Compiler from
|
|
|
|
|
# https://acpica.org/downloads
|
2014-11-18 03:38:20 +01:00
|
|
|
|
# GCC49 -Linux,Windows- Requires:
|
2014-11-24 03:43:17 +01:00
|
|
|
|
# GCC 4.9 targeting x86_64-linux-gnu, aarch64-linux-gnu, or arm-linux-gnueabi
|
2014-07-28 19:37:10 +02:00
|
|
|
|
# Optional:
|
|
|
|
|
# Required to build platforms or ACPI tables:
|
2015-06-29 05:10:25 +02:00
|
|
|
|
# Intel(r) ACPI Compiler from
|
|
|
|
|
# https://acpica.org/downloads
|
2016-07-17 23:20:10 +02:00
|
|
|
|
# GCC5 -Linux,Windows- Requires:
|
|
|
|
|
# GCC 5 with LTO support, targeting x86_64-linux-gnu, aarch64-linux-gnu, or arm-linux-gnueabi
|
|
|
|
|
# Optional:
|
|
|
|
|
# Required to build platforms or ACPI tables:
|
|
|
|
|
# Intel(r) ACPI Compiler from
|
|
|
|
|
# https://acpica.org/downloads
|
2015-08-10 09:55:26 +02:00
|
|
|
|
# CLANG35 -Linux,Windows- Requires:
|
2015-12-15 16:02:24 +01:00
|
|
|
|
# Clang v3.5 or later, and GNU binutils targeting aarch64-linux-gnu or arm-linux-gnueabi
|
2015-08-10 09:55:26 +02:00
|
|
|
|
# Optional:
|
|
|
|
|
# Required to build platforms or ACPI tables:
|
|
|
|
|
# Intel(r) ACPI Compiler from
|
|
|
|
|
# https://acpica.org/downloads
|
2016-08-03 11:43:04 +02:00
|
|
|
|
# CLANG38 -Linux- Requires:
|
2017-12-06 12:30:05 +01:00
|
|
|
|
# Clang v3.8, LLVMgold plugin and GNU binutils 2.26 targeting x86_64-linux-gnu, aarch64-linux-gnu or arm-linux-gnueabi
|
|
|
|
|
# Clang v3.9 or later, LLVMgold plugin and GNU binutils 2.28 targeting x86_64-linux-gnu, aarch64-linux-gnu or arm-linux-gnueabi
|
2016-08-03 11:43:04 +02:00
|
|
|
|
# Optional:
|
|
|
|
|
# Required to build platforms or ACPI tables:
|
|
|
|
|
# Intel(r) ACPI Compiler from
|
|
|
|
|
# https://acpica.org/downloads
|
2019-11-14 09:00:53 +01:00
|
|
|
|
# CLANGPDB -Linux, Windows, Mac- Requires:
|
2019-10-17 08:55:46 +02:00
|
|
|
|
# Clang 9 or above from http://releases.llvm.org/
|
|
|
|
|
# Optional:
|
|
|
|
|
# Required to compile nasm source:
|
|
|
|
|
# nasm compiler from
|
|
|
|
|
# NASM -- http://www.nasm.us/
|
|
|
|
|
# Required to build platforms or ACPI tables:
|
|
|
|
|
# Intel(r) ACPI Compiler from
|
|
|
|
|
# https://acpica.org/downloads
|
2011-09-18 14:17:25 +02:00
|
|
|
|
# VS2008x86 -win64- Requires:
|
|
|
|
|
# Microsoft Visual Studio 2008 (x86)
|
|
|
|
|
# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
|
|
|
|
|
# Optional:
|
|
|
|
|
# Required to build platforms or ACPI tables:
|
2015-06-29 05:10:25 +02:00
|
|
|
|
# Intel(r) ACPI Compiler (iasl.exe) from
|
2019-01-02 22:29:43 +01:00
|
|
|
|
# https://acpica.org/downloads
|
2012-04-10 09:18:20 +02:00
|
|
|
|
# VS2010x86 -win64- Requires:
|
|
|
|
|
# Microsoft Visual Studio 2010 (x86) Premium Edition
|
|
|
|
|
# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
|
|
|
|
|
# Optional:
|
|
|
|
|
# Required to build platforms or ACPI tables:
|
2015-06-29 05:10:25 +02:00
|
|
|
|
# Intel(r) ACPI Compiler (iasl.exe) from
|
2019-01-02 22:29:43 +01:00
|
|
|
|
# https://acpica.org/downloads
|
2013-08-23 04:18:16 +02:00
|
|
|
|
# VS2012x86 -win64- Requires:
|
|
|
|
|
# Microsoft Visual Studio 2012 (x86) Professional Edition
|
|
|
|
|
# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
|
|
|
|
|
# Optional:
|
|
|
|
|
# Required to build platforms or ACPI tables:
|
2015-06-29 05:10:25 +02:00
|
|
|
|
# Intel(r) ACPI Compiler (iasl.exe) from
|
|
|
|
|
# https://acpica.org/downloads
|
2014-07-31 08:14:01 +02:00
|
|
|
|
# VS2013x86 -win64- Requires:
|
|
|
|
|
# Microsoft Visual Studio 2013 (x86) Professional Edition
|
|
|
|
|
# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
|
|
|
|
|
# Optional:
|
|
|
|
|
# Required to build platforms or ACPI tables:
|
2015-06-29 05:10:25 +02:00
|
|
|
|
# Intel(r) ACPI Compiler (iasl.exe) from
|
|
|
|
|
# https://acpica.org/downloads
|
2015-12-03 04:19:01 +01:00
|
|
|
|
# VS2015x86 -win64- Requires:
|
2017-08-24 06:38:01 +02:00
|
|
|
|
# Microsoft Visual Studio 2015 (x86) Update 2 or above
|
2015-12-03 04:19:01 +01:00
|
|
|
|
# Microsoft Windows Server 2003 Driver Development Kit (Microsoft WINDDK) version 3790.1830
|
|
|
|
|
# Optional:
|
|
|
|
|
# Required to build platforms or ACPI tables:
|
|
|
|
|
# Intel(r) ACPI Compiler (iasl.exe) from
|
|
|
|
|
# https://acpica.org/downloads
|
2013-08-23 04:18:16 +02:00
|
|
|
|
# RVCT -win- Requires:
|
|
|
|
|
# ARM C/C++ Compiler, 5.00
|
|
|
|
|
# Optional:
|
|
|
|
|
# Required to build EBC drivers:
|
|
|
|
|
# Intel(r) Compiler for Efi Byte Code (Intel(r) EBC Compiler)
|
|
|
|
|
# Required to build platforms or ACPI tables:
|
|
|
|
|
# Microsoft ASL ACPI Compiler (asl.exe) v4.0.0 from
|
|
|
|
|
# http://download.microsoft.com/download/2/c/1/2c16c7e0-96c1-40f5-81fc-3e4bf7b65496/microsoft_asl_compiler-v4-0-0.msi
|
2019-12-02 09:24:19 +01:00
|
|
|
|
# Notes: Since this tool chain is obsolete, it doesn’t enable the compiler option for included header file list generation,
|
|
|
|
|
# and lose the incremental build capability.
|
2013-08-23 04:18:16 +02:00
|
|
|
|
# RVCTLINUX -unix- Requires:
|
|
|
|
|
# ARM C/C++ Compiler, 5.00
|
|
|
|
|
# Optional:
|
|
|
|
|
# Required to build platforms or ACPI tables:
|
2015-06-29 05:10:25 +02:00
|
|
|
|
# Intel(r) ACPI Compiler from
|
|
|
|
|
# https://acpica.org/downloads
|
2019-12-02 09:24:19 +01:00
|
|
|
|
# Notes: Since this tool chain is obsolete, it doesn’t enable the compiler option for included header file list generation,
|
|
|
|
|
# and lose the incremental build capability.
|
2007-10-17 03:54:36 +02:00
|
|
|
|
# * Commented out - All versions of VS2005 use the same standard install directory
|
|
|
|
|
#
|
|
|
|
|
####################################################################################
|
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
|
|
|
|
# Supported Tool Chain Family
|
|
|
|
|
# ===========================
|
|
|
|
|
# MSFT - Microsoft
|
|
|
|
|
# GCC - GNU GCC
|
|
|
|
|
# INTEL - INTEL
|
2011-11-25 07:21:03 +01:00
|
|
|
|
# RVCT - ARM RealView Toolchain
|
2009-04-13 14:50:50 +02:00
|
|
|
|
####################################################################################
|
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
2014-08-19 01:03:17 +02:00
|
|
|
|
# Other Supported Tools
|
|
|
|
|
# =====================
|
2016-07-14 13:29:10 +02:00
|
|
|
|
# NASM -- http://www.nasm.us/
|
|
|
|
|
# - NASM 2.10 or later for use with the GCC toolchain family
|
|
|
|
|
# - NASM 2.12.01 or later for use with all other toolchain families
|
2014-08-19 01:03:17 +02:00
|
|
|
|
#
|
|
|
|
|
####################################################################################
|
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
2009-04-13 14:50:50 +02:00
|
|
|
|
# Intel EFI Byte Code Compiler (Template)
|
|
|
|
|
#
|
|
|
|
|
####################################################################################
|
|
|
|
|
# *_*_EBC_*_FAMILY = INTEL
|
|
|
|
|
#
|
|
|
|
|
# *_*_EBC_PP_PATH = C:\Program Files\Intel\EBC\Bin\iec.exe
|
|
|
|
|
# *_*_EBC_CC_PATH = C:\Program Files\Intel\EBC\Bin\iec.exe
|
|
|
|
|
# *_*_EBC_SLINK_PATH = C:\Program Files\Intel\EBC\Bin\link.exe
|
|
|
|
|
#
|
2009-04-14 05:20:33 +02:00
|
|
|
|
# *_*_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
|
2019-10-17 08:55:45 +02:00
|
|
|
|
# *_*_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
# *_*_EBC_CC_FLAGS = /nologo /FAcs /c /W3 /WX /FIAutoGen.h
|
2011-11-09 05:32:08 +01:00
|
|
|
|
# *_*_EBC_DLINK_FLAGS = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /MACHINE:EBC /OPT:REF /NODEFAULTLIB /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /ALIGN:32 /DRIVER
|
2009-04-13 14:50:50 +02:00
|
|
|
|
#
|
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
|
|
|
|
# Intel ACPI Source Language Compiler (Template)
|
|
|
|
|
#
|
|
|
|
|
####################################################################################
|
|
|
|
|
# *_*_*_ASL_FAMILY = INTEL
|
|
|
|
|
#
|
|
|
|
|
# *_*_*_ASL_PATH = C:\ASL\iasl.exe
|
|
|
|
|
#
|
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
|
|
|
|
# Microsoft ACPI Source Language Compiler (Template)
|
|
|
|
|
#
|
|
|
|
|
####################################################################################
|
|
|
|
|
# *_*_*_ASL_FAMILY = MSFT
|
|
|
|
|
#
|
|
|
|
|
# *_*_*_ASL_PATH = C:\ASL\asl.exe
|
|
|
|
|
#
|
|
|
|
|
####################################################################################
|
|
|
|
|
|
2010-03-01 00:39:39 +01:00
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
|
|
|
|
# Microsoft Visual Studio 2008
|
|
|
|
|
#
|
|
|
|
|
# VS2008 - Microsoft Visual Studio 2005 All Edition, including Standard, Professional, Express, TeamSuite
|
|
|
|
|
# ASL - Intel ACPI Source Language Compiler
|
|
|
|
|
####################################################################################
|
|
|
|
|
# VS2008 - Microsoft Visual Studio 2008 ALL Edition, including Standard, Professional, Express, TeamSuite
|
|
|
|
|
*_VS2008_*_*_FAMILY = MSFT
|
|
|
|
|
|
|
|
|
|
*_VS2008_*_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
|
|
|
|
|
*_VS2008_*_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2008_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
|
|
|
|
|
|
|
|
|
|
*_VS2008_*_SLINK_FLAGS = /NOLOGO /LTCG
|
|
|
|
|
*_VS2008_*_APP_FLAGS = /nologo /E /TC
|
|
|
|
|
*_VS2008_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2008_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
2019-12-02 09:24:19 +01:00
|
|
|
|
*_VS2008_*_DEPS_FLAGS = DEF(MSFT_DEPS_FLAGS)
|
2010-07-21 04:46:15 +02:00
|
|
|
|
*_VS2008_*_ASM16_PATH = DEF(VS2008_BIN)\ml.exe
|
|
|
|
|
|
2010-03-01 00:39:39 +01:00
|
|
|
|
##################
|
|
|
|
|
# ASL definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2008_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
|
|
|
|
|
*_VS2008_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
|
|
|
|
|
*_VS2008_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
|
|
|
|
|
*_VS2008_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
|
|
|
|
|
*_VS2008_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
|
|
|
|
|
*_VS2008_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# IA32 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2008_IA32_*_DLL = DEF(VS2008_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2008_IA32_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
|
|
|
|
|
*_VS2008_IA32_CC_PATH = DEF(VS2008_BIN)\cl.exe
|
|
|
|
|
*_VS2008_IA32_VFRPP_PATH = DEF(VS2008_BIN)\cl.exe
|
|
|
|
|
*_VS2008_IA32_SLINK_PATH = DEF(VS2008_BIN)\lib.exe
|
|
|
|
|
*_VS2008_IA32_DLINK_PATH = DEF(VS2008_BIN)\link.exe
|
|
|
|
|
*_VS2008_IA32_APP_PATH = DEF(VS2008_BIN)\cl.exe
|
|
|
|
|
*_VS2008_IA32_PP_PATH = DEF(VS2008_BIN)\cl.exe
|
|
|
|
|
*_VS2008_IA32_ASM_PATH = DEF(VS2008_BIN)\ml.exe
|
|
|
|
|
*_VS2008_IA32_ASLCC_PATH = DEF(VS2008_BIN)\cl.exe
|
|
|
|
|
*_VS2008_IA32_ASLPP_PATH = DEF(VS2008_BIN)\cl.exe
|
|
|
|
|
*_VS2008_IA32_ASLDLINK_PATH = DEF(VS2008_BIN)\link.exe
|
|
|
|
|
|
|
|
|
|
*_VS2008_IA32_MAKE_FLAGS = /nologo
|
2016-03-16 09:23:02 +01:00
|
|
|
|
DEBUG_VS2008_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
|
|
|
|
|
RELEASE_VS2008_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
|
2011-09-18 14:17:25 +02:00
|
|
|
|
NOOPT_VS2008_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
|
|
|
|
|
|
2010-03-01 00:39:39 +01:00
|
|
|
|
DEBUG_VS2008_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
RELEASE_VS2008_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
|
2011-09-18 14:17:25 +02:00
|
|
|
|
NOOPT_VS2008_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
|
2014-09-01 19:07:19 +02:00
|
|
|
|
DEBUG_VS2008_IA32_NASM_FLAGS = -Ox -f win32 -g
|
|
|
|
|
RELEASE_VS2008_IA32_NASM_FLAGS = -Ox -f win32
|
|
|
|
|
NOOPT_VS2008_IA32_NASM_FLAGS = -O0 -f win32 -g
|
|
|
|
|
|
2011-09-18 14:17:25 +02:00
|
|
|
|
DEBUG_VS2008_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2015-06-29 05:14:33 +02:00
|
|
|
|
RELEASE_VS2008_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
2011-09-18 14:17:25 +02:00
|
|
|
|
NOOPT_VS2008_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2010-03-01 00:39:39 +01:00
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# X64 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2008_X64_*_DLL = DEF(VS2008_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2008_X64_CC_PATH = DEF(VS2008_BINX64)\cl.exe
|
|
|
|
|
*_VS2008_X64_PP_PATH = DEF(VS2008_BINX64)\cl.exe
|
|
|
|
|
*_VS2008_X64_APP_PATH = DEF(VS2008_BINX64)\cl.exe
|
|
|
|
|
*_VS2008_X64_VFRPP_PATH = DEF(VS2008_BINX64)\cl.exe
|
|
|
|
|
*_VS2008_X64_ASM_PATH = DEF(VS2008_BINX64)\ml64.exe
|
|
|
|
|
*_VS2008_X64_SLINK_PATH = DEF(VS2008_BINX64)\lib.exe
|
|
|
|
|
*_VS2008_X64_DLINK_PATH = DEF(VS2008_BINX64)\link.exe
|
|
|
|
|
*_VS2008_X64_ASLCC_PATH = DEF(VS2008_BINX64)\cl.exe
|
|
|
|
|
*_VS2008_X64_ASLPP_PATH = DEF(VS2008_BINX64)\cl.exe
|
|
|
|
|
*_VS2008_X64_ASLDLINK_PATH = DEF(VS2008_BINX64)\link.exe
|
|
|
|
|
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2008_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7
|
|
|
|
|
RELEASE_VS2008_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
|
|
|
|
|
NOOPT_VS2008_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Od
|
2011-09-18 14:17:25 +02:00
|
|
|
|
|
2010-03-01 00:39:39 +01:00
|
|
|
|
DEBUG_VS2008_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
|
|
|
|
RELEASE_VS2008_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
|
2011-09-18 14:17:25 +02:00
|
|
|
|
NOOPT_VS2008_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
|
|
|
|
|
2014-09-01 19:07:19 +02:00
|
|
|
|
DEBUG_VS2008_X64_NASM_FLAGS = -Ox -f win64 -g
|
|
|
|
|
RELEASE_VS2008_X64_NASM_FLAGS = -Ox -f win64
|
|
|
|
|
NOOPT_VS2008_X64_NASM_FLAGS = -O0 -f win64 -g
|
|
|
|
|
|
2011-09-18 14:17:25 +02:00
|
|
|
|
DEBUG_VS2008_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2015-06-29 05:14:33 +02:00
|
|
|
|
RELEASE_VS2008_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
2011-09-18 14:17:25 +02:00
|
|
|
|
NOOPT_VS2008_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2010-03-01 00:39:39 +01:00
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# EBC definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2008_EBC_*_FAMILY = INTEL
|
2013-08-23 04:18:16 +02:00
|
|
|
|
*_VS2008_EBC_*_DLL = DEF(VS2008_DLL)
|
2010-03-01 00:39:39 +01:00
|
|
|
|
|
|
|
|
|
*_VS2008_EBC_MAKE_PATH = DEF(VS2008_BIN)\nmake.exe
|
|
|
|
|
*_VS2008_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
|
|
|
|
|
*_VS2008_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
|
|
|
|
|
*_VS2008_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
|
2013-08-23 04:18:16 +02:00
|
|
|
|
*_VS2008_EBC_SLINK_PATH = DEF(VS2008_BIN)\link.exe
|
|
|
|
|
*_VS2008_EBC_DLINK_PATH = DEF(VS2008_BIN)\link.exe
|
2010-03-01 00:39:39 +01:00
|
|
|
|
|
|
|
|
|
*_VS2008_EBC_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2008_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2008_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
|
|
|
|
|
*_VS2008_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
|
|
|
|
*_VS2008_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
|
2011-11-09 05:32:08 +01:00
|
|
|
|
*_VS2008_EBC_DLINK_FLAGS = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER
|
2010-03-01 00:39:39 +01:00
|
|
|
|
|
2013-08-23 04:18:16 +02:00
|
|
|
|
|
2010-03-01 00:39:39 +01:00
|
|
|
|
####################################################################################
|
|
|
|
|
# VS2008x86 - Microsoft Visual Studio 2008 (x86) with Intel ASL
|
|
|
|
|
# ASL - Intel ACPI Source Language Compiler (iasl.exe)
|
|
|
|
|
####################################################################################
|
|
|
|
|
# VS2008x86 - Microsoft Visual Studio 2008 (x86) ALL Edition with Intel ASL
|
|
|
|
|
*_VS2008x86_*_*_FAMILY = MSFT
|
|
|
|
|
|
|
|
|
|
*_VS2008x86_*_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
|
2010-06-28 11:33:10 +02:00
|
|
|
|
*_VS2008x86_*_MAKE_FLAG = /nologo
|
2010-12-06 06:17:09 +01:00
|
|
|
|
*_VS2008x86_*_RC_PATH = DEF(WINSDK_BIN)\rc.exe
|
2010-03-01 00:39:39 +01:00
|
|
|
|
|
|
|
|
|
*_VS2008x86_*_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2008x86_*_SLINK_FLAGS = /NOLOGO /LTCG
|
|
|
|
|
*_VS2008x86_*_APP_FLAGS = /nologo /E /TC
|
|
|
|
|
*_VS2008x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2008x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
2019-12-02 09:24:19 +01:00
|
|
|
|
*_VS2008x86_*_DEPS_FLAGS = DEF(MSFT_DEPS_FLAGS)
|
2010-07-21 04:46:15 +02:00
|
|
|
|
*_VS2008x86_*_ASM16_PATH = DEF(VS2008x86_BIN)\ml.exe
|
|
|
|
|
|
2010-03-01 00:39:39 +01:00
|
|
|
|
##################
|
|
|
|
|
# ASL definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2008x86_*_ASL_PATH = DEF(WIN_IASL_BIN)
|
|
|
|
|
*_VS2008x86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
|
|
|
|
|
*_VS2008x86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
|
|
|
|
|
*_VS2008x86_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
|
|
|
|
|
*_VS2008x86_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
|
|
|
|
|
*_VS2008x86_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# IA32 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2008x86_IA32_*_DLL = DEF(VS2008x86_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2008x86_IA32_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
|
|
|
|
|
*_VS2008x86_IA32_CC_PATH = DEF(VS2008x86_BIN)\cl.exe
|
|
|
|
|
*_VS2008x86_IA32_VFRPP_PATH = DEF(VS2008x86_BIN)\cl.exe
|
|
|
|
|
*_VS2008x86_IA32_ASLCC_PATH = DEF(VS2008x86_BIN)\cl.exe
|
|
|
|
|
*_VS2008x86_IA32_ASLPP_PATH = DEF(VS2008x86_BIN)\cl.exe
|
|
|
|
|
*_VS2008x86_IA32_SLINK_PATH = DEF(VS2008x86_BIN)\lib.exe
|
|
|
|
|
*_VS2008x86_IA32_DLINK_PATH = DEF(VS2008x86_BIN)\link.exe
|
|
|
|
|
*_VS2008x86_IA32_ASLDLINK_PATH= DEF(VS2008x86_BIN)\link.exe
|
|
|
|
|
*_VS2008x86_IA32_APP_PATH = DEF(VS2008x86_BIN)\cl.exe
|
|
|
|
|
*_VS2008x86_IA32_PP_PATH = DEF(VS2008x86_BIN)\cl.exe
|
|
|
|
|
*_VS2008x86_IA32_ASM_PATH = DEF(VS2008x86_BIN)\ml.exe
|
|
|
|
|
|
|
|
|
|
*_VS2008x86_IA32_MAKE_FLAGS = /nologo
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2008x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7
|
|
|
|
|
RELEASE_VS2008x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
|
|
|
|
|
NOOPT_VS2008x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7 /Od
|
2011-09-18 14:17:25 +02:00
|
|
|
|
|
2010-11-15 03:51:34 +01:00
|
|
|
|
DEBUG_VS2008x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
2010-03-01 00:39:39 +01:00
|
|
|
|
RELEASE_VS2008x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
|
2011-09-18 14:17:25 +02:00
|
|
|
|
NOOPT_VS2008x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
|
2014-09-01 19:07:19 +02:00
|
|
|
|
DEBUG_VS2008x86_IA32_NASM_FLAGS = -Ox -f win32 -g
|
|
|
|
|
RELEASE_VS2008x86_IA32_NASM_FLAGS = -Ox -f win32
|
|
|
|
|
NOOPT_VS2008x86_IA32_NASM_FLAGS = -O0 -f win32 -g
|
|
|
|
|
|
2011-09-23 08:03:45 +02:00
|
|
|
|
DEBUG_VS2008x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2015-06-29 05:14:33 +02:00
|
|
|
|
RELEASE_VS2008x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
2011-09-23 08:03:45 +02:00
|
|
|
|
NOOPT_VS2008x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2010-03-01 00:39:39 +01:00
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# X64 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2008x86_X64_*_DLL = DEF(VS2008x86_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2008x86_X64_CC_PATH = DEF(VS2008x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2008x86_X64_PP_PATH = DEF(VS2008x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2008x86_X64_APP_PATH = DEF(VS2008x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2008x86_X64_VFRPP_PATH = DEF(VS2008x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2008x86_X64_ASLCC_PATH = DEF(VS2008x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2008x86_X64_ASLPP_PATH = DEF(VS2008x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2008x86_X64_ASM_PATH = DEF(VS2008x86_BINX64)\ml64.exe
|
|
|
|
|
*_VS2008x86_X64_SLINK_PATH = DEF(VS2008x86_BINX64)\lib.exe
|
|
|
|
|
*_VS2008x86_X64_DLINK_PATH = DEF(VS2008x86_BINX64)\link.exe
|
|
|
|
|
*_VS2008x86_X64_ASLDLINK_PATH = DEF(VS2008x86_BINX64)\link.exe
|
|
|
|
|
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2008x86_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7
|
|
|
|
|
RELEASE_VS2008x86_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
|
|
|
|
|
NOOPT_VS2008x86_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Od
|
2010-03-01 00:39:39 +01:00
|
|
|
|
DEBUG_VS2008x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
|
|
|
|
RELEASE_VS2008x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
|
2011-09-18 14:17:25 +02:00
|
|
|
|
NOOPT_VS2008x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
2014-09-01 19:07:19 +02:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2008x86_X64_NASM_FLAGS = -Ox -f win64 -g
|
|
|
|
|
RELEASE_VS2008x86_X64_NASM_FLAGS = -Ox -f win64
|
|
|
|
|
NOOPT_VS2008x86_X64_NASM_FLAGS = -O0 -f win64 -g
|
|
|
|
|
|
2011-09-23 08:03:45 +02:00
|
|
|
|
DEBUG_VS2008x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2015-06-29 05:14:33 +02:00
|
|
|
|
RELEASE_VS2008x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
2011-09-23 08:03:45 +02:00
|
|
|
|
NOOPT_VS2008x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2010-03-01 00:39:39 +01:00
|
|
|
|
|
2013-08-23 04:18:16 +02:00
|
|
|
|
##################
|
|
|
|
|
# EBC definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2008x86_EBC_*_FAMILY = INTEL
|
|
|
|
|
*_VS2008x86_EBC_*_DLL = DEF(VS2008x86_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2008x86_EBC_MAKE_PATH = DEF(VS2008x86_BIN)\nmake.exe
|
|
|
|
|
*_VS2008x86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2008x86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2008x86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2008x86_EBC_SLINK_PATH = DEF(VS2008x86_BIN)\link.exe
|
|
|
|
|
*_VS2008x86_EBC_DLINK_PATH = DEF(VS2008x86_BIN)\link.exe
|
|
|
|
|
|
|
|
|
|
*_VS2008x86_EBC_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2008x86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2008x86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
|
|
|
|
|
*_VS2008x86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
|
|
|
|
*_VS2008x86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
|
|
|
|
|
*_VS2008x86_EBC_DLINK_FLAGS = "C:\Program Files (x86)\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER
|
|
|
|
|
|
2010-03-01 00:39:39 +01:00
|
|
|
|
|
|
|
|
|
|
2012-04-10 09:18:20 +02:00
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
|
|
|
|
# Microsoft Visual Studio 2010
|
|
|
|
|
#
|
2013-08-23 04:18:16 +02:00
|
|
|
|
# VS2010 - Microsoft Visual Studio 2010 Premium Edition with Intel ASL
|
2012-04-10 09:18:20 +02:00
|
|
|
|
# ASL - Intel ACPI Source Language Compiler
|
|
|
|
|
####################################################################################
|
|
|
|
|
# VS2010 - Microsoft Visual Studio 2010 Premium Edition
|
|
|
|
|
*_VS2010_*_*_FAMILY = MSFT
|
|
|
|
|
|
|
|
|
|
*_VS2010_*_MAKE_PATH = DEF(VS2010_BIN)\nmake.exe
|
|
|
|
|
*_VS2010_*_MAKE_FLAGS = /nologo
|
2014-08-01 20:11:32 +02:00
|
|
|
|
*_VS2010_*_RC_PATH = DEF(WINSDK7_BIN)\rc.exe
|
2012-04-10 09:18:20 +02:00
|
|
|
|
|
|
|
|
|
*_VS2010_*_SLINK_FLAGS = /NOLOGO /LTCG
|
|
|
|
|
*_VS2010_*_APP_FLAGS = /nologo /E /TC
|
|
|
|
|
*_VS2010_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2010_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
2019-12-02 09:24:19 +01:00
|
|
|
|
*_VS2010_*_DEPS_FLAGS = DEF(MSFT_DEPS_FLAGS)
|
2012-04-10 09:18:20 +02:00
|
|
|
|
*_VS2010_*_ASM16_PATH = DEF(VS2010_BIN)\ml.exe
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# ASL definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2010_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
|
|
|
|
|
*_VS2010_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
|
|
|
|
|
*_VS2010_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
|
|
|
|
|
*_VS2010_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
|
|
|
|
|
*_VS2010_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
|
|
|
|
|
*_VS2010_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# IA32 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2010_IA32_*_DLL = DEF(VS2010_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2010_IA32_MAKE_PATH = DEF(VS2010_BIN)\nmake.exe
|
|
|
|
|
*_VS2010_IA32_CC_PATH = DEF(VS2010_BIN)\cl.exe
|
|
|
|
|
*_VS2010_IA32_VFRPP_PATH = DEF(VS2010_BIN)\cl.exe
|
|
|
|
|
*_VS2010_IA32_SLINK_PATH = DEF(VS2010_BIN)\lib.exe
|
|
|
|
|
*_VS2010_IA32_DLINK_PATH = DEF(VS2010_BIN)\link.exe
|
|
|
|
|
*_VS2010_IA32_APP_PATH = DEF(VS2010_BIN)\cl.exe
|
|
|
|
|
*_VS2010_IA32_PP_PATH = DEF(VS2010_BIN)\cl.exe
|
|
|
|
|
*_VS2010_IA32_ASM_PATH = DEF(VS2010_BIN)\ml.exe
|
|
|
|
|
*_VS2010_IA32_ASLCC_PATH = DEF(VS2010_BIN)\cl.exe
|
|
|
|
|
*_VS2010_IA32_ASLPP_PATH = DEF(VS2010_BIN)\cl.exe
|
|
|
|
|
*_VS2010_IA32_ASLDLINK_PATH = DEF(VS2010_BIN)\link.exe
|
|
|
|
|
|
|
|
|
|
*_VS2010_IA32_MAKE_FLAGS = /nologo
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2010_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7
|
|
|
|
|
RELEASE_VS2010_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
|
|
|
|
|
NOOPT_VS2010_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od
|
2012-04-10 09:18:20 +02:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2010_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
RELEASE_VS2010_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
|
|
|
|
|
NOOPT_VS2010_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
|
2014-09-01 19:07:19 +02:00
|
|
|
|
DEBUG_VS2010_IA32_NASM_FLAGS = -Ox -f win32 -g
|
|
|
|
|
RELEASE_VS2010_IA32_NASM_FLAGS = -Ox -f win32
|
|
|
|
|
NOOPT_VS2010_IA32_NASM_FLAGS = -O0 -f win32 -g
|
|
|
|
|
|
2012-04-10 09:18:20 +02:00
|
|
|
|
DEBUG_VS2010_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2015-06-29 05:14:33 +02:00
|
|
|
|
RELEASE_VS2010_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
2012-04-10 09:18:20 +02:00
|
|
|
|
NOOPT_VS2010_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# X64 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2010_X64_*_DLL = DEF(VS2010_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2010_X64_CC_PATH = DEF(VS2010_BINX64)\cl.exe
|
|
|
|
|
*_VS2010_X64_PP_PATH = DEF(VS2010_BINX64)\cl.exe
|
|
|
|
|
*_VS2010_X64_APP_PATH = DEF(VS2010_BINX64)\cl.exe
|
|
|
|
|
*_VS2010_X64_VFRPP_PATH = DEF(VS2010_BINX64)\cl.exe
|
|
|
|
|
*_VS2010_X64_ASM_PATH = DEF(VS2010_BINX64)\ml64.exe
|
|
|
|
|
*_VS2010_X64_SLINK_PATH = DEF(VS2010_BINX64)\lib.exe
|
|
|
|
|
*_VS2010_X64_DLINK_PATH = DEF(VS2010_BINX64)\link.exe
|
|
|
|
|
*_VS2010_X64_ASLCC_PATH = DEF(VS2010_BINX64)\cl.exe
|
|
|
|
|
*_VS2010_X64_ASLPP_PATH = DEF(VS2010_BINX64)\cl.exe
|
|
|
|
|
*_VS2010_X64_ASLDLINK_PATH = DEF(VS2010_BINX64)\link.exe
|
|
|
|
|
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2010_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7
|
|
|
|
|
RELEASE_VS2010_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
|
|
|
|
|
NOOPT_VS2010_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Od
|
2012-04-10 09:18:20 +02:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2010_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
|
|
|
|
RELEASE_VS2010_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
|
|
|
|
|
NOOPT_VS2010_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
|
|
|
|
|
2014-09-01 19:07:19 +02:00
|
|
|
|
DEBUG_VS2010_X64_NASM_FLAGS = -Ox -f win64 -g
|
|
|
|
|
RELEASE_VS2010_X64_NASM_FLAGS = -Ox -f win64
|
|
|
|
|
NOOPT_VS2010_X64_NASM_FLAGS = -O0 -f win64 -g
|
|
|
|
|
|
2012-04-10 09:18:20 +02:00
|
|
|
|
DEBUG_VS2010_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2015-06-29 05:14:33 +02:00
|
|
|
|
RELEASE_VS2010_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
2012-04-10 09:18:20 +02:00
|
|
|
|
NOOPT_VS2010_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# EBC definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2010_EBC_*_FAMILY = INTEL
|
2013-08-23 04:18:16 +02:00
|
|
|
|
*_VS2010_EBC_*_DLL = DEF(VS2010_DLL)
|
2012-04-10 09:18:20 +02:00
|
|
|
|
|
|
|
|
|
*_VS2010_EBC_MAKE_PATH = DEF(VS2010_BIN)\nmake.exe
|
|
|
|
|
*_VS2010_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
|
|
|
|
|
*_VS2010_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
|
|
|
|
|
*_VS2010_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
|
2013-08-23 04:18:16 +02:00
|
|
|
|
*_VS2010_EBC_SLINK_PATH = DEF(VS2010_BIN)\link.exe
|
|
|
|
|
*_VS2010_EBC_DLINK_PATH = DEF(VS2010_BIN)\link.exe
|
2012-04-10 09:18:20 +02:00
|
|
|
|
|
|
|
|
|
*_VS2010_EBC_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2010_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2010_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
|
|
|
|
|
*_VS2010_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
|
|
|
|
*_VS2010_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
|
|
|
|
|
*_VS2010_EBC_DLINK_FLAGS = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER
|
|
|
|
|
|
2013-08-23 04:18:16 +02:00
|
|
|
|
|
2012-04-10 09:18:20 +02:00
|
|
|
|
####################################################################################
|
|
|
|
|
# VS2010x86 - Microsoft Visual Studio 2010 (x86) with Intel ASL
|
|
|
|
|
# ASL - Intel ACPI Source Language Compiler (iasl.exe)
|
|
|
|
|
####################################################################################
|
|
|
|
|
# VS2010x86 - Microsoft Visual Studio 2010 (x86) ALL Edition with Intel ASL
|
|
|
|
|
*_VS2010x86_*_*_FAMILY = MSFT
|
|
|
|
|
|
|
|
|
|
*_VS2010x86_*_MAKE_PATH = DEF(VS2010x86_BIN)\nmake.exe
|
|
|
|
|
*_VS2010x86_*_MAKE_FLAG = /nologo
|
2014-08-01 20:11:32 +02:00
|
|
|
|
*_VS2010x86_*_RC_PATH = DEF(WINSDK7x86_BIN)\rc.exe
|
2012-04-10 09:18:20 +02:00
|
|
|
|
|
|
|
|
|
*_VS2010x86_*_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2010x86_*_SLINK_FLAGS = /NOLOGO /LTCG
|
|
|
|
|
*_VS2010x86_*_APP_FLAGS = /nologo /E /TC
|
|
|
|
|
*_VS2010x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2010x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
2019-12-02 09:24:19 +01:00
|
|
|
|
*_VS2010x86_*_DEPS_FLAGS = DEF(MSFT_DEPS_FLAGS)
|
2012-04-10 09:18:20 +02:00
|
|
|
|
*_VS2010x86_*_ASM16_PATH = DEF(VS2010x86_BIN)\ml.exe
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# ASL definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2010x86_*_ASL_PATH = DEF(WIN_IASL_BIN)
|
|
|
|
|
*_VS2010x86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
|
|
|
|
|
*_VS2010x86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
|
|
|
|
|
*_VS2010x86_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
|
|
|
|
|
*_VS2010x86_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
|
|
|
|
|
*_VS2010x86_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# IA32 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2010x86_IA32_*_DLL = DEF(VS2010x86_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2010x86_IA32_MAKE_PATH = DEF(VS2010x86_BIN)\nmake.exe
|
|
|
|
|
*_VS2010x86_IA32_CC_PATH = DEF(VS2010x86_BIN)\cl.exe
|
|
|
|
|
*_VS2010x86_IA32_VFRPP_PATH = DEF(VS2010x86_BIN)\cl.exe
|
|
|
|
|
*_VS2010x86_IA32_ASLCC_PATH = DEF(VS2010x86_BIN)\cl.exe
|
|
|
|
|
*_VS2010x86_IA32_ASLPP_PATH = DEF(VS2010x86_BIN)\cl.exe
|
|
|
|
|
*_VS2010x86_IA32_SLINK_PATH = DEF(VS2010x86_BIN)\lib.exe
|
|
|
|
|
*_VS2010x86_IA32_DLINK_PATH = DEF(VS2010x86_BIN)\link.exe
|
|
|
|
|
*_VS2010x86_IA32_ASLDLINK_PATH= DEF(VS2010x86_BIN)\link.exe
|
|
|
|
|
*_VS2010x86_IA32_APP_PATH = DEF(VS2010x86_BIN)\cl.exe
|
|
|
|
|
*_VS2010x86_IA32_PP_PATH = DEF(VS2010x86_BIN)\cl.exe
|
|
|
|
|
*_VS2010x86_IA32_ASM_PATH = DEF(VS2010x86_BIN)\ml.exe
|
|
|
|
|
|
|
|
|
|
*_VS2010x86_IA32_MAKE_FLAGS = /nologo
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2010x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7
|
|
|
|
|
RELEASE_VS2010x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
|
|
|
|
|
NOOPT_VS2010x86_IA32_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7 /Od
|
2012-04-10 09:18:20 +02:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2010x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
RELEASE_VS2010x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
|
|
|
|
|
NOOPT_VS2010x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
|
2014-09-01 19:07:19 +02:00
|
|
|
|
DEBUG_VS2010x86_IA32_NASM_FLAGS = -Ox -f win32 -g
|
|
|
|
|
RELEASE_VS2010x86_IA32_NASM_FLAGS = -Ox -f win32
|
|
|
|
|
NOOPT_VS2010x86_IA32_NASM_FLAGS = -O0 -f win32 -g
|
|
|
|
|
|
2012-04-10 09:18:20 +02:00
|
|
|
|
DEBUG_VS2010x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2015-06-29 05:14:33 +02:00
|
|
|
|
RELEASE_VS2010x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
2012-04-10 09:18:20 +02:00
|
|
|
|
NOOPT_VS2010x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# X64 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2010x86_X64_*_DLL = DEF(VS2010x86_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2010x86_X64_CC_PATH = DEF(VS2010x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2010x86_X64_PP_PATH = DEF(VS2010x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2010x86_X64_APP_PATH = DEF(VS2010x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2010x86_X64_VFRPP_PATH = DEF(VS2010x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2010x86_X64_ASLCC_PATH = DEF(VS2010x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2010x86_X64_ASLPP_PATH = DEF(VS2010x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2010x86_X64_ASM_PATH = DEF(VS2010x86_BINX64)\ml64.exe
|
|
|
|
|
*_VS2010x86_X64_SLINK_PATH = DEF(VS2010x86_BINX64)\lib.exe
|
|
|
|
|
*_VS2010x86_X64_DLINK_PATH = DEF(VS2010x86_BINX64)\link.exe
|
|
|
|
|
*_VS2010x86_X64_ASLDLINK_PATH = DEF(VS2010x86_BINX64)\link.exe
|
|
|
|
|
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2010x86_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7
|
|
|
|
|
RELEASE_VS2010x86_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
|
|
|
|
|
NOOPT_VS2010x86_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Od
|
2012-04-10 09:18:20 +02:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2010x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
|
|
|
|
RELEASE_VS2010x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
|
|
|
|
|
NOOPT_VS2010x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
2014-09-01 19:07:19 +02:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2010x86_X64_NASM_FLAGS = -Ox -f win64 -g
|
|
|
|
|
RELEASE_VS2010x86_X64_NASM_FLAGS = -Ox -f win64
|
|
|
|
|
NOOPT_VS2010x86_X64_NASM_FLAGS = -O0 -f win64 -g
|
|
|
|
|
|
2012-04-10 09:18:20 +02:00
|
|
|
|
DEBUG_VS2010x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2015-06-29 05:14:33 +02:00
|
|
|
|
RELEASE_VS2010x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
2012-04-10 09:18:20 +02:00
|
|
|
|
NOOPT_VS2010x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
2013-08-23 04:18:16 +02:00
|
|
|
|
##################
|
|
|
|
|
# EBC definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2010x86_EBC_*_FAMILY = INTEL
|
|
|
|
|
*_VS2010x86_EBC_*_DLL = DEF(VS2010x86_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2010x86_EBC_MAKE_PATH = DEF(VS2010x86_BIN)\nmake.exe
|
|
|
|
|
*_VS2010x86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2010x86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2010x86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2010x86_EBC_SLINK_PATH = DEF(VS2010x86_BIN)\link.exe
|
|
|
|
|
*_VS2010x86_EBC_DLINK_PATH = DEF(VS2010x86_BIN)\link.exe
|
|
|
|
|
|
|
|
|
|
*_VS2010x86_EBC_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2010x86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2010x86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
|
|
|
|
|
*_VS2010x86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
|
|
|
|
*_VS2010x86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
|
|
|
|
|
*_VS2010x86_EBC_DLINK_FLAGS = "C:\Program Files (x86)\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER
|
|
|
|
|
|
2012-04-10 09:18:20 +02:00
|
|
|
|
|
2013-08-23 04:18:16 +02:00
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
|
|
|
|
# Microsoft Visual Studio 2012
|
|
|
|
|
#
|
|
|
|
|
# VS2012 - Microsoft Visual Studio 2012 Professional Edition with Intel ASL
|
|
|
|
|
# ASL - Intel ACPI Source Language Compiler
|
|
|
|
|
####################################################################################
|
2015-12-03 04:19:01 +01:00
|
|
|
|
# VS2012 - Microsoft Visual Studio 2012 Professional Edition
|
2013-08-23 04:18:16 +02:00
|
|
|
|
*_VS2012_*_*_FAMILY = MSFT
|
|
|
|
|
|
|
|
|
|
*_VS2012_*_MAKE_PATH = DEF(VS2012_BIN)\nmake.exe
|
|
|
|
|
*_VS2012_*_MAKE_FLAGS = /nologo
|
2014-08-01 20:11:32 +02:00
|
|
|
|
*_VS2012_*_RC_PATH = DEF(WINSDK71_BIN)\rc.exe
|
2013-08-23 04:18:16 +02:00
|
|
|
|
|
|
|
|
|
*_VS2012_*_SLINK_FLAGS = /NOLOGO /LTCG
|
|
|
|
|
*_VS2012_*_APP_FLAGS = /nologo /E /TC
|
|
|
|
|
*_VS2012_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2012_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
2019-12-02 09:24:19 +01:00
|
|
|
|
*_VS2012_*_DEPS_FLAGS = DEF(MSFT_DEPS_FLAGS)
|
2013-08-23 04:18:16 +02:00
|
|
|
|
*_VS2012_*_ASM16_PATH = DEF(VS2012_BIN)\ml.exe
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# ASL definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2012_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
|
|
|
|
|
*_VS2012_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
|
|
|
|
|
*_VS2012_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
|
|
|
|
|
*_VS2012_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
|
|
|
|
|
*_VS2012_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
|
|
|
|
|
*_VS2012_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# IA32 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2012_IA32_*_DLL = DEF(VS2012_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2012_IA32_MAKE_PATH = DEF(VS2012_BIN)\nmake.exe
|
|
|
|
|
*_VS2012_IA32_CC_PATH = DEF(VS2012_BIN)\cl.exe
|
|
|
|
|
*_VS2012_IA32_VFRPP_PATH = DEF(VS2012_BIN)\cl.exe
|
|
|
|
|
*_VS2012_IA32_SLINK_PATH = DEF(VS2012_BIN)\lib.exe
|
|
|
|
|
*_VS2012_IA32_DLINK_PATH = DEF(VS2012_BIN)\link.exe
|
|
|
|
|
*_VS2012_IA32_APP_PATH = DEF(VS2012_BIN)\cl.exe
|
|
|
|
|
*_VS2012_IA32_PP_PATH = DEF(VS2012_BIN)\cl.exe
|
|
|
|
|
*_VS2012_IA32_ASM_PATH = DEF(VS2012_BIN)\ml.exe
|
|
|
|
|
*_VS2012_IA32_ASLCC_PATH = DEF(VS2012_BIN)\cl.exe
|
|
|
|
|
*_VS2012_IA32_ASLPP_PATH = DEF(VS2012_BIN)\cl.exe
|
|
|
|
|
*_VS2012_IA32_ASLDLINK_PATH = DEF(VS2012_BIN)\link.exe
|
|
|
|
|
|
|
|
|
|
*_VS2012_IA32_MAKE_FLAGS = /nologo
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2012_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7
|
|
|
|
|
RELEASE_VS2012_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
|
|
|
|
|
NOOPT_VS2012_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7 /Od
|
2013-08-23 04:18:16 +02:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2012_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
RELEASE_VS2012_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
|
|
|
|
|
NOOPT_VS2012_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
|
2014-09-01 19:07:19 +02:00
|
|
|
|
DEBUG_VS2012_IA32_NASM_FLAGS = -Ox -f win32 -g
|
|
|
|
|
RELEASE_VS2012_IA32_NASM_FLAGS = -Ox -f win32
|
|
|
|
|
NOOPT_VS2012_IA32_NASM_FLAGS = -O0 -f win32 -g
|
|
|
|
|
|
2013-08-23 04:18:16 +02:00
|
|
|
|
DEBUG_VS2012_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2015-06-29 05:14:33 +02:00
|
|
|
|
RELEASE_VS2012_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
2013-08-23 04:18:16 +02:00
|
|
|
|
NOOPT_VS2012_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# X64 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2012_X64_*_DLL = DEF(VS2012_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2012_X64_CC_PATH = DEF(VS2012_BINX64)\cl.exe
|
|
|
|
|
*_VS2012_X64_PP_PATH = DEF(VS2012_BINX64)\cl.exe
|
|
|
|
|
*_VS2012_X64_APP_PATH = DEF(VS2012_BINX64)\cl.exe
|
|
|
|
|
*_VS2012_X64_VFRPP_PATH = DEF(VS2012_BINX64)\cl.exe
|
|
|
|
|
*_VS2012_X64_ASM_PATH = DEF(VS2012_BINX64)\ml64.exe
|
|
|
|
|
*_VS2012_X64_SLINK_PATH = DEF(VS2012_BINX64)\lib.exe
|
|
|
|
|
*_VS2012_X64_DLINK_PATH = DEF(VS2012_BINX64)\link.exe
|
|
|
|
|
*_VS2012_X64_ASLCC_PATH = DEF(VS2012_BINX64)\cl.exe
|
|
|
|
|
*_VS2012_X64_ASLPP_PATH = DEF(VS2012_BINX64)\cl.exe
|
|
|
|
|
*_VS2012_X64_ASLDLINK_PATH = DEF(VS2012_BINX64)\link.exe
|
|
|
|
|
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2012_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7
|
|
|
|
|
RELEASE_VS2012_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
|
|
|
|
|
NOOPT_VS2012_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Od
|
2013-08-23 04:18:16 +02:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2012_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
|
|
|
|
RELEASE_VS2012_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
|
|
|
|
|
NOOPT_VS2012_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
|
|
|
|
|
2014-09-01 19:07:19 +02:00
|
|
|
|
DEBUG_VS2012_X64_NASM_FLAGS = -Ox -f win64 -g
|
|
|
|
|
RELEASE_VS2012_X64_NASM_FLAGS = -Ox -f win64
|
|
|
|
|
NOOPT_VS2012_X64_NASM_FLAGS = -O0 -f win64 -g
|
|
|
|
|
|
2013-08-23 04:18:16 +02:00
|
|
|
|
DEBUG_VS2012_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2015-06-29 05:14:33 +02:00
|
|
|
|
RELEASE_VS2012_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
2013-08-23 04:18:16 +02:00
|
|
|
|
NOOPT_VS2012_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# EBC definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2012_EBC_*_FAMILY = INTEL
|
|
|
|
|
*_VS2012_EBC_*_DLL = DEF(VS2012_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2012_EBC_MAKE_PATH = DEF(VS2012_BIN)\nmake.exe
|
|
|
|
|
*_VS2012_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
|
|
|
|
|
*_VS2012_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
|
|
|
|
|
*_VS2012_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
|
|
|
|
|
*_VS2012_EBC_SLINK_PATH = DEF(VS2012_BIN)\link.exe
|
|
|
|
|
*_VS2012_EBC_DLINK_PATH = DEF(VS2012_BIN)\link.exe
|
|
|
|
|
|
|
|
|
|
*_VS2012_EBC_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2012_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2012_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
|
|
|
|
|
*_VS2012_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
|
|
|
|
*_VS2012_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
|
|
|
|
|
*_VS2012_EBC_DLINK_FLAGS = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
####################################################################################
|
|
|
|
|
# VS2012x86 - Microsoft Visual Studio 2012 (x86) professional with Intel ASL
|
|
|
|
|
# ASL - Intel ACPI Source Language Compiler (iasl.exe)
|
|
|
|
|
####################################################################################
|
|
|
|
|
# VS2012x86 - Microsoft Visual Studio 2012 (x86) professional Edition with Intel ASL
|
|
|
|
|
*_VS2012x86_*_*_FAMILY = MSFT
|
|
|
|
|
|
|
|
|
|
*_VS2012x86_*_MAKE_PATH = DEF(VS2012x86_BIN)\nmake.exe
|
|
|
|
|
*_VS2012x86_*_MAKE_FLAG = /nologo
|
2014-08-01 20:11:32 +02:00
|
|
|
|
*_VS2012x86_*_RC_PATH = DEF(WINSDK71x86_BIN)\rc.exe
|
2013-08-23 04:18:16 +02:00
|
|
|
|
|
|
|
|
|
*_VS2012x86_*_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2012x86_*_SLINK_FLAGS = /NOLOGO /LTCG
|
|
|
|
|
*_VS2012x86_*_APP_FLAGS = /nologo /E /TC
|
|
|
|
|
*_VS2012x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2012x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
2019-12-02 09:24:19 +01:00
|
|
|
|
*_VS2012x86_*_DEPS_FLAGS = DEF(MSFT_DEPS_FLAGS)
|
2013-08-23 04:18:16 +02:00
|
|
|
|
*_VS2012x86_*_ASM16_PATH = DEF(VS2012x86_BIN)\ml.exe
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# ASL definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2012x86_*_ASL_PATH = DEF(WIN_IASL_BIN)
|
|
|
|
|
*_VS2012x86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
|
|
|
|
|
*_VS2012x86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
|
|
|
|
|
*_VS2012x86_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
|
|
|
|
|
*_VS2012x86_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
|
|
|
|
|
*_VS2012x86_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# IA32 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2012x86_IA32_*_DLL = DEF(VS2012x86_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2012x86_IA32_MAKE_PATH = DEF(VS2012x86_BIN)\nmake.exe
|
|
|
|
|
*_VS2012x86_IA32_CC_PATH = DEF(VS2012x86_BIN)\cl.exe
|
|
|
|
|
*_VS2012x86_IA32_VFRPP_PATH = DEF(VS2012x86_BIN)\cl.exe
|
|
|
|
|
*_VS2012x86_IA32_ASLCC_PATH = DEF(VS2012x86_BIN)\cl.exe
|
|
|
|
|
*_VS2012x86_IA32_ASLPP_PATH = DEF(VS2012x86_BIN)\cl.exe
|
|
|
|
|
*_VS2012x86_IA32_SLINK_PATH = DEF(VS2012x86_BIN)\lib.exe
|
|
|
|
|
*_VS2012x86_IA32_DLINK_PATH = DEF(VS2012x86_BIN)\link.exe
|
|
|
|
|
*_VS2012x86_IA32_ASLDLINK_PATH= DEF(VS2012x86_BIN)\link.exe
|
|
|
|
|
*_VS2012x86_IA32_APP_PATH = DEF(VS2012x86_BIN)\cl.exe
|
|
|
|
|
*_VS2012x86_IA32_PP_PATH = DEF(VS2012x86_BIN)\cl.exe
|
|
|
|
|
*_VS2012x86_IA32_ASM_PATH = DEF(VS2012x86_BIN)\ml.exe
|
|
|
|
|
|
|
|
|
|
*_VS2012x86_IA32_MAKE_FLAGS = /nologo
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2012x86_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7
|
|
|
|
|
RELEASE_VS2012x86_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF
|
|
|
|
|
NOOPT_VS2012x86_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7 /Od
|
2013-08-23 04:18:16 +02:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2012x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
RELEASE_VS2012x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
|
|
|
|
|
NOOPT_VS2012x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
|
2014-09-01 19:07:19 +02:00
|
|
|
|
DEBUG_VS2012x86_IA32_NASM_FLAGS = -Ox -f win32 -g
|
|
|
|
|
RELEASE_VS2012x86_IA32_NASM_FLAGS = -Ox -f win32
|
|
|
|
|
NOOPT_VS2012x86_IA32_NASM_FLAGS = -O0 -f win32 -g
|
|
|
|
|
|
2013-08-23 04:18:16 +02:00
|
|
|
|
DEBUG_VS2012x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2015-06-29 05:14:33 +02:00
|
|
|
|
RELEASE_VS2012x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
2013-08-23 04:18:16 +02:00
|
|
|
|
NOOPT_VS2012x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# X64 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2012x86_X64_*_DLL = DEF(VS2012x86_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2012x86_X64_CC_PATH = DEF(VS2012x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2012x86_X64_PP_PATH = DEF(VS2012x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2012x86_X64_APP_PATH = DEF(VS2012x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2012x86_X64_VFRPP_PATH = DEF(VS2012x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2012x86_X64_ASLCC_PATH = DEF(VS2012x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2012x86_X64_ASLPP_PATH = DEF(VS2012x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2012x86_X64_ASM_PATH = DEF(VS2012x86_BINX64)\ml64.exe
|
|
|
|
|
*_VS2012x86_X64_SLINK_PATH = DEF(VS2012x86_BINX64)\lib.exe
|
|
|
|
|
*_VS2012x86_X64_DLINK_PATH = DEF(VS2012x86_BINX64)\link.exe
|
|
|
|
|
*_VS2012x86_X64_ASLDLINK_PATH = DEF(VS2012x86_BINX64)\link.exe
|
|
|
|
|
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2012x86_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7
|
|
|
|
|
RELEASE_VS2012x86_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF
|
|
|
|
|
NOOPT_VS2012x86_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Od
|
2013-08-23 04:18:16 +02:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2012x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
|
|
|
|
RELEASE_VS2012x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
|
|
|
|
|
NOOPT_VS2012x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
2014-09-01 19:07:19 +02:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2012x86_X64_NASM_FLAGS = -Ox -f win64 -g
|
|
|
|
|
RELEASE_VS2012x86_X64_NASM_FLAGS = -Ox -f win64
|
|
|
|
|
NOOPT_VS2012x86_X64_NASM_FLAGS = -O0 -f win64 -g
|
|
|
|
|
|
2013-08-23 04:18:16 +02:00
|
|
|
|
DEBUG_VS2012x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2015-06-29 05:14:33 +02:00
|
|
|
|
RELEASE_VS2012x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
2013-08-23 04:18:16 +02:00
|
|
|
|
NOOPT_VS2012x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# EBC definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2012x86_EBC_*_FAMILY = INTEL
|
|
|
|
|
*_VS2012x86_EBC_*_DLL = DEF(VS2012x86_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2012x86_EBC_MAKE_PATH = DEF(VS2012x86_BIN)\nmake.exe
|
|
|
|
|
*_VS2012x86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2012x86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2012x86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2012x86_EBC_SLINK_PATH = DEF(VS2012x86_BIN)\link.exe
|
|
|
|
|
*_VS2012x86_EBC_DLINK_PATH = DEF(VS2012x86_BIN)\link.exe
|
|
|
|
|
|
|
|
|
|
*_VS2012x86_EBC_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2012x86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2012x86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
|
|
|
|
|
*_VS2012x86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
|
|
|
|
*_VS2012x86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
|
|
|
|
|
*_VS2012x86_EBC_DLINK_FLAGS = "C:\Program Files (x86)\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER
|
|
|
|
|
|
|
|
|
|
|
2014-07-31 08:14:01 +02:00
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
|
|
|
|
# Microsoft Visual Studio 2013
|
|
|
|
|
#
|
|
|
|
|
# VS2013 - Microsoft Visual Studio 2013 Professional Edition with Intel ASL
|
|
|
|
|
# ASL - Intel ACPI Source Language Compiler
|
|
|
|
|
####################################################################################
|
2015-12-03 04:19:01 +01:00
|
|
|
|
# VS2013 - Microsoft Visual Studio 2013 Professional Edition
|
2014-07-31 08:14:01 +02:00
|
|
|
|
*_VS2013_*_*_FAMILY = MSFT
|
|
|
|
|
|
|
|
|
|
*_VS2013_*_MAKE_PATH = DEF(VS2013_BIN)\nmake.exe
|
|
|
|
|
*_VS2013_*_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2013_*_RC_PATH = DEF(WINSDK8_BIN)\rc.exe
|
|
|
|
|
|
|
|
|
|
*_VS2013_*_SLINK_FLAGS = /NOLOGO /LTCG
|
|
|
|
|
*_VS2013_*_APP_FLAGS = /nologo /E /TC
|
|
|
|
|
*_VS2013_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2013_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
2019-12-02 09:24:19 +01:00
|
|
|
|
*_VS2013_*_DEPS_FLAGS = DEF(MSFT_DEPS_FLAGS)
|
2014-07-31 08:14:01 +02:00
|
|
|
|
*_VS2013_*_ASM16_PATH = DEF(VS2013_BIN)\ml.exe
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# ASL definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2013_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
|
|
|
|
|
*_VS2013_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
|
|
|
|
|
*_VS2013_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
|
|
|
|
|
*_VS2013_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
|
|
|
|
|
*_VS2013_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
|
|
|
|
|
*_VS2013_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# IA32 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2013_IA32_*_DLL = DEF(VS2013_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2013_IA32_MAKE_PATH = DEF(VS2013_BIN)\nmake.exe
|
|
|
|
|
*_VS2013_IA32_CC_PATH = DEF(VS2013_BIN)\cl.exe
|
|
|
|
|
*_VS2013_IA32_VFRPP_PATH = DEF(VS2013_BIN)\cl.exe
|
|
|
|
|
*_VS2013_IA32_SLINK_PATH = DEF(VS2013_BIN)\lib.exe
|
|
|
|
|
*_VS2013_IA32_DLINK_PATH = DEF(VS2013_BIN)\link.exe
|
|
|
|
|
*_VS2013_IA32_APP_PATH = DEF(VS2013_BIN)\cl.exe
|
|
|
|
|
*_VS2013_IA32_PP_PATH = DEF(VS2013_BIN)\cl.exe
|
|
|
|
|
*_VS2013_IA32_ASM_PATH = DEF(VS2013_BIN)\ml.exe
|
|
|
|
|
*_VS2013_IA32_ASLCC_PATH = DEF(VS2013_BIN)\cl.exe
|
|
|
|
|
*_VS2013_IA32_ASLPP_PATH = DEF(VS2013_BIN)\cl.exe
|
|
|
|
|
*_VS2013_IA32_ASLDLINK_PATH = DEF(VS2013_BIN)\link.exe
|
|
|
|
|
|
|
|
|
|
*_VS2013_IA32_MAKE_FLAGS = /nologo
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2013_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7 /Gw
|
|
|
|
|
RELEASE_VS2013_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gw
|
|
|
|
|
NOOPT_VS2013_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7 /Od
|
2014-07-31 08:14:01 +02:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2013_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
RELEASE_VS2013_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
|
|
|
|
|
NOOPT_VS2013_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
|
2014-09-01 19:07:19 +02:00
|
|
|
|
DEBUG_VS2013_IA32_NASM_FLAGS = -Ox -f win32 -g
|
|
|
|
|
RELEASE_VS2013_IA32_NASM_FLAGS = -Ox -f win32
|
|
|
|
|
NOOPT_VS2013_IA32_NASM_FLAGS = -O0 -f win32 -g
|
|
|
|
|
|
2014-07-31 08:14:01 +02:00
|
|
|
|
DEBUG_VS2013_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2015-06-29 05:14:33 +02:00
|
|
|
|
RELEASE_VS2013_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
2014-07-31 08:14:01 +02:00
|
|
|
|
NOOPT_VS2013_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# X64 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2013_X64_*_DLL = DEF(VS2013_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2013_X64_CC_PATH = DEF(VS2013_BINX64)\cl.exe
|
|
|
|
|
*_VS2013_X64_PP_PATH = DEF(VS2013_BINX64)\cl.exe
|
|
|
|
|
*_VS2013_X64_APP_PATH = DEF(VS2013_BINX64)\cl.exe
|
|
|
|
|
*_VS2013_X64_VFRPP_PATH = DEF(VS2013_BINX64)\cl.exe
|
|
|
|
|
*_VS2013_X64_ASM_PATH = DEF(VS2013_BINX64)\ml64.exe
|
|
|
|
|
*_VS2013_X64_SLINK_PATH = DEF(VS2013_BINX64)\lib.exe
|
|
|
|
|
*_VS2013_X64_DLINK_PATH = DEF(VS2013_BINX64)\link.exe
|
|
|
|
|
*_VS2013_X64_ASLCC_PATH = DEF(VS2013_BINX64)\cl.exe
|
|
|
|
|
*_VS2013_X64_ASLPP_PATH = DEF(VS2013_BINX64)\cl.exe
|
|
|
|
|
*_VS2013_X64_ASLDLINK_PATH = DEF(VS2013_BINX64)\link.exe
|
|
|
|
|
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2013_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Gw
|
|
|
|
|
RELEASE_VS2013_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Gw
|
|
|
|
|
NOOPT_VS2013_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Od
|
2014-07-31 08:14:01 +02:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2013_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
|
|
|
|
RELEASE_VS2013_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
|
|
|
|
|
NOOPT_VS2013_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
|
|
|
|
|
2014-09-01 19:07:19 +02:00
|
|
|
|
DEBUG_VS2013_X64_NASM_FLAGS = -Ox -f win64 -g
|
|
|
|
|
RELEASE_VS2013_X64_NASM_FLAGS = -Ox -f win64
|
|
|
|
|
NOOPT_VS2013_X64_NASM_FLAGS = -O0 -f win64 -g
|
|
|
|
|
|
2014-07-31 08:14:01 +02:00
|
|
|
|
DEBUG_VS2013_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2015-06-29 05:14:33 +02:00
|
|
|
|
RELEASE_VS2013_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
2014-07-31 08:14:01 +02:00
|
|
|
|
NOOPT_VS2013_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# EBC definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2013_EBC_*_FAMILY = INTEL
|
|
|
|
|
*_VS2013_EBC_*_DLL = DEF(VS2013_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2013_EBC_MAKE_PATH = DEF(VS2013_BIN)\nmake.exe
|
|
|
|
|
*_VS2013_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
|
|
|
|
|
*_VS2013_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
|
|
|
|
|
*_VS2013_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
|
|
|
|
|
*_VS2013_EBC_SLINK_PATH = DEF(VS2013_BIN)\link.exe
|
|
|
|
|
*_VS2013_EBC_DLINK_PATH = DEF(VS2013_BIN)\link.exe
|
|
|
|
|
|
|
|
|
|
*_VS2013_EBC_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2013_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2013_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
|
|
|
|
|
*_VS2013_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
|
|
|
|
*_VS2013_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
|
|
|
|
|
*_VS2013_EBC_DLINK_FLAGS = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
####################################################################################
|
|
|
|
|
# VS2013x86 - Microsoft Visual Studio 2013 (x86) professional with Intel ASL
|
|
|
|
|
# ASL - Intel ACPI Source Language Compiler (iasl.exe)
|
|
|
|
|
####################################################################################
|
|
|
|
|
# VS2013x86 - Microsoft Visual Studio 2013 (x86) professional Edition with Intel ASL
|
|
|
|
|
*_VS2013x86_*_*_FAMILY = MSFT
|
|
|
|
|
|
|
|
|
|
*_VS2013x86_*_MAKE_PATH = DEF(VS2013x86_BIN)\nmake.exe
|
|
|
|
|
*_VS2013x86_*_MAKE_FLAG = /nologo
|
|
|
|
|
*_VS2013x86_*_RC_PATH = DEF(WINSDK8x86_BIN)\rc.exe
|
|
|
|
|
|
|
|
|
|
*_VS2013x86_*_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2013x86_*_SLINK_FLAGS = /NOLOGO /LTCG
|
|
|
|
|
*_VS2013x86_*_APP_FLAGS = /nologo /E /TC
|
|
|
|
|
*_VS2013x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2013x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
2019-12-02 09:24:19 +01:00
|
|
|
|
*_VS2013x86_*_DEPS_FLAGS = DEF(MSFT_DEPS_FLAGS)
|
2014-07-31 08:14:01 +02:00
|
|
|
|
*_VS2013x86_*_ASM16_PATH = DEF(VS2013x86_BIN)\ml.exe
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# ASL definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2013x86_*_ASL_PATH = DEF(WIN_IASL_BIN)
|
|
|
|
|
*_VS2013x86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
|
|
|
|
|
*_VS2013x86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
|
|
|
|
|
*_VS2013x86_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
|
|
|
|
|
*_VS2013x86_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
|
|
|
|
|
*_VS2013x86_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# IA32 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2013x86_IA32_*_DLL = DEF(VS2013x86_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2013x86_IA32_MAKE_PATH = DEF(VS2013x86_BIN)\nmake.exe
|
|
|
|
|
*_VS2013x86_IA32_CC_PATH = DEF(VS2013x86_BIN)\cl.exe
|
|
|
|
|
*_VS2013x86_IA32_VFRPP_PATH = DEF(VS2013x86_BIN)\cl.exe
|
|
|
|
|
*_VS2013x86_IA32_ASLCC_PATH = DEF(VS2013x86_BIN)\cl.exe
|
|
|
|
|
*_VS2013x86_IA32_ASLPP_PATH = DEF(VS2013x86_BIN)\cl.exe
|
|
|
|
|
*_VS2013x86_IA32_SLINK_PATH = DEF(VS2013x86_BIN)\lib.exe
|
|
|
|
|
*_VS2013x86_IA32_DLINK_PATH = DEF(VS2013x86_BIN)\link.exe
|
|
|
|
|
*_VS2013x86_IA32_ASLDLINK_PATH= DEF(VS2013x86_BIN)\link.exe
|
|
|
|
|
*_VS2013x86_IA32_APP_PATH = DEF(VS2013x86_BIN)\cl.exe
|
|
|
|
|
*_VS2013x86_IA32_PP_PATH = DEF(VS2013x86_BIN)\cl.exe
|
|
|
|
|
*_VS2013x86_IA32_ASM_PATH = DEF(VS2013x86_BIN)\ml.exe
|
|
|
|
|
|
|
|
|
|
*_VS2013x86_IA32_MAKE_FLAGS = /nologo
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2013x86_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7 /Gw
|
|
|
|
|
RELEASE_VS2013x86_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gw
|
|
|
|
|
NOOPT_VS2013x86_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7 /Od
|
2014-07-31 08:14:01 +02:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2013x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
RELEASE_VS2013x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
|
|
|
|
|
NOOPT_VS2013x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
|
2014-09-01 19:07:19 +02:00
|
|
|
|
DEBUG_VS2013x86_IA32_NASM_FLAGS = -Ox -f win32 -g
|
|
|
|
|
RELEASE_VS2013x86_IA32_NASM_FLAGS = -Ox -f win32
|
|
|
|
|
NOOPT_VS2013x86_IA32_NASM_FLAGS = -O0 -f win32 -g
|
|
|
|
|
|
2014-07-31 08:14:01 +02:00
|
|
|
|
DEBUG_VS2013x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2015-06-29 05:14:33 +02:00
|
|
|
|
RELEASE_VS2013x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
2014-07-31 08:14:01 +02:00
|
|
|
|
NOOPT_VS2013x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# X64 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2013x86_X64_*_DLL = DEF(VS2013x86_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2013x86_X64_CC_PATH = DEF(VS2013x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2013x86_X64_PP_PATH = DEF(VS2013x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2013x86_X64_APP_PATH = DEF(VS2013x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2013x86_X64_VFRPP_PATH = DEF(VS2013x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2013x86_X64_ASLCC_PATH = DEF(VS2013x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2013x86_X64_ASLPP_PATH = DEF(VS2013x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2013x86_X64_ASM_PATH = DEF(VS2013x86_BINX64)\ml64.exe
|
|
|
|
|
*_VS2013x86_X64_SLINK_PATH = DEF(VS2013x86_BINX64)\lib.exe
|
|
|
|
|
*_VS2013x86_X64_DLINK_PATH = DEF(VS2013x86_BINX64)\link.exe
|
|
|
|
|
*_VS2013x86_X64_ASLDLINK_PATH = DEF(VS2013x86_BINX64)\link.exe
|
|
|
|
|
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2013x86_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Gw
|
|
|
|
|
RELEASE_VS2013x86_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Gw
|
|
|
|
|
NOOPT_VS2013x86_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Od
|
2014-07-31 08:14:01 +02:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2013x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
|
|
|
|
RELEASE_VS2013x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
|
|
|
|
|
NOOPT_VS2013x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
2014-09-01 19:07:19 +02:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2013x86_X64_NASM_FLAGS = -Ox -f win64 -g
|
|
|
|
|
RELEASE_VS2013x86_X64_NASM_FLAGS = -Ox -f win64
|
|
|
|
|
NOOPT_VS2013x86_X64_NASM_FLAGS = -O0 -f win64 -g
|
|
|
|
|
|
2014-07-31 08:14:01 +02:00
|
|
|
|
DEBUG_VS2013x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2015-06-29 05:14:33 +02:00
|
|
|
|
RELEASE_VS2013x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
2014-07-31 08:14:01 +02:00
|
|
|
|
NOOPT_VS2013x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# EBC definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2013x86_EBC_*_FAMILY = INTEL
|
|
|
|
|
*_VS2013x86_EBC_*_DLL = DEF(VS2013x86_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2013x86_EBC_MAKE_PATH = DEF(VS2013x86_BIN)\nmake.exe
|
|
|
|
|
*_VS2013x86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2013x86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2013x86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2013x86_EBC_SLINK_PATH = DEF(VS2013x86_BIN)\link.exe
|
|
|
|
|
*_VS2013x86_EBC_DLINK_PATH = DEF(VS2013x86_BIN)\link.exe
|
|
|
|
|
|
|
|
|
|
*_VS2013x86_EBC_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2013x86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2013x86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
|
|
|
|
|
*_VS2013x86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
|
|
|
|
*_VS2013x86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
|
|
|
|
|
*_VS2013x86_EBC_DLINK_FLAGS = "C:\Program Files (x86)\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER
|
|
|
|
|
|
|
|
|
|
|
2015-12-03 04:19:01 +01:00
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
|
|
|
|
# Microsoft Visual Studio 2015
|
|
|
|
|
#
|
|
|
|
|
# VS2015 - Microsoft Visual Studio 2015 Professional Edition with Intel ASL
|
|
|
|
|
# ASL - Intel ACPI Source Language Compiler
|
|
|
|
|
####################################################################################
|
|
|
|
|
# VS2015 - Microsoft Visual Studio 2015 Professional Edition
|
|
|
|
|
*_VS2015_*_*_FAMILY = MSFT
|
|
|
|
|
|
|
|
|
|
*_VS2015_*_MAKE_PATH = DEF(VS2015_BIN)\nmake.exe
|
|
|
|
|
*_VS2015_*_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2015_*_RC_PATH = DEF(WINSDK81_BIN)\rc.exe
|
|
|
|
|
|
|
|
|
|
*_VS2015_*_SLINK_FLAGS = /NOLOGO /LTCG
|
|
|
|
|
*_VS2015_*_APP_FLAGS = /nologo /E /TC
|
|
|
|
|
*_VS2015_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2015_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
2017-08-24 06:38:01 +02:00
|
|
|
|
*_VS2015_*_DLINK2_FLAGS =
|
2019-12-02 09:24:19 +01:00
|
|
|
|
*_VS2015_*_DEPS_FLAGS = DEF(MSFT_DEPS_FLAGS)
|
2015-12-03 04:19:01 +01:00
|
|
|
|
*_VS2015_*_ASM16_PATH = DEF(VS2015_BIN)\ml.exe
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# ASL definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2015_*_ASL_PATH = DEF(DEFAULT_WIN_ASL_BIN)
|
|
|
|
|
*_VS2015_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
|
|
|
|
|
*_VS2015_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
|
|
|
|
|
*_VS2015_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
|
|
|
|
|
*_VS2015_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
|
|
|
|
|
*_VS2015_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# IA32 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2015_IA32_*_DLL = DEF(VS2015_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2015_IA32_MAKE_PATH = DEF(VS2015_BIN)\nmake.exe
|
|
|
|
|
*_VS2015_IA32_CC_PATH = DEF(VS2015_BIN)\cl.exe
|
|
|
|
|
*_VS2015_IA32_VFRPP_PATH = DEF(VS2015_BIN)\cl.exe
|
|
|
|
|
*_VS2015_IA32_SLINK_PATH = DEF(VS2015_BIN)\lib.exe
|
|
|
|
|
*_VS2015_IA32_DLINK_PATH = DEF(VS2015_BIN)\link.exe
|
|
|
|
|
*_VS2015_IA32_APP_PATH = DEF(VS2015_BIN)\cl.exe
|
|
|
|
|
*_VS2015_IA32_PP_PATH = DEF(VS2015_BIN)\cl.exe
|
|
|
|
|
*_VS2015_IA32_ASM_PATH = DEF(VS2015_BIN)\ml.exe
|
|
|
|
|
*_VS2015_IA32_ASLCC_PATH = DEF(VS2015_BIN)\cl.exe
|
|
|
|
|
*_VS2015_IA32_ASLPP_PATH = DEF(VS2015_BIN)\cl.exe
|
|
|
|
|
*_VS2015_IA32_ASLDLINK_PATH = DEF(VS2015_BIN)\link.exe
|
|
|
|
|
|
|
|
|
|
*_VS2015_IA32_MAKE_FLAGS = /nologo
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2015_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7 /Gw
|
|
|
|
|
RELEASE_VS2015_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gw
|
|
|
|
|
NOOPT_VS2015_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7 /Od
|
2015-12-03 04:19:01 +01:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2015_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
RELEASE_VS2015_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
|
|
|
|
|
NOOPT_VS2015_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2015_IA32_NASM_FLAGS = -Ox -f win32 -g
|
|
|
|
|
RELEASE_VS2015_IA32_NASM_FLAGS = -Ox -f win32
|
|
|
|
|
NOOPT_VS2015_IA32_NASM_FLAGS = -O0 -f win32 -g
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2015_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
RELEASE_VS2015_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
|
|
|
|
NOOPT_VS2015_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# X64 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2015_X64_*_DLL = DEF(VS2015_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2015_X64_CC_PATH = DEF(VS2015_BINX64)\cl.exe
|
|
|
|
|
*_VS2015_X64_PP_PATH = DEF(VS2015_BINX64)\cl.exe
|
|
|
|
|
*_VS2015_X64_APP_PATH = DEF(VS2015_BINX64)\cl.exe
|
|
|
|
|
*_VS2015_X64_VFRPP_PATH = DEF(VS2015_BINX64)\cl.exe
|
|
|
|
|
*_VS2015_X64_ASM_PATH = DEF(VS2015_BINX64)\ml64.exe
|
|
|
|
|
*_VS2015_X64_SLINK_PATH = DEF(VS2015_BINX64)\lib.exe
|
|
|
|
|
*_VS2015_X64_DLINK_PATH = DEF(VS2015_BINX64)\link.exe
|
|
|
|
|
*_VS2015_X64_ASLCC_PATH = DEF(VS2015_BINX64)\cl.exe
|
|
|
|
|
*_VS2015_X64_ASLPP_PATH = DEF(VS2015_BINX64)\cl.exe
|
|
|
|
|
*_VS2015_X64_ASLDLINK_PATH = DEF(VS2015_BINX64)\link.exe
|
|
|
|
|
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2015_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Gw
|
|
|
|
|
RELEASE_VS2015_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Gw
|
|
|
|
|
NOOPT_VS2015_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Od
|
2015-12-03 04:19:01 +01:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2015_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
|
|
|
|
RELEASE_VS2015_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
|
|
|
|
|
NOOPT_VS2015_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2015_X64_NASM_FLAGS = -Ox -f win64 -g
|
|
|
|
|
RELEASE_VS2015_X64_NASM_FLAGS = -Ox -f win64
|
|
|
|
|
NOOPT_VS2015_X64_NASM_FLAGS = -O0 -f win64 -g
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2015_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
RELEASE_VS2015_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
|
|
|
|
NOOPT_VS2015_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# EBC definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2015_EBC_*_FAMILY = INTEL
|
|
|
|
|
*_VS2015_EBC_*_DLL = DEF(VS2015_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2015_EBC_MAKE_PATH = DEF(VS2015_BIN)\nmake.exe
|
|
|
|
|
*_VS2015_EBC_PP_PATH = DEF(EBC_BIN)\iec.exe
|
|
|
|
|
*_VS2015_EBC_VFRPP_PATH = DEF(EBC_BIN)\iec.exe
|
|
|
|
|
*_VS2015_EBC_CC_PATH = DEF(EBC_BIN)\iec.exe
|
|
|
|
|
*_VS2015_EBC_SLINK_PATH = DEF(VS2015_BIN)\link.exe
|
|
|
|
|
*_VS2015_EBC_DLINK_PATH = DEF(VS2015_BIN)\link.exe
|
|
|
|
|
|
|
|
|
|
*_VS2015_EBC_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2015_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2015_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
|
|
|
|
|
*_VS2015_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
|
|
|
|
*_VS2015_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
|
|
|
|
|
*_VS2015_EBC_DLINK_FLAGS = "C:\Program Files\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
####################################################################################
|
|
|
|
|
# VS2015x86 - Microsoft Visual Studio 2015 (x86) professional with Intel ASL
|
|
|
|
|
# ASL - Intel ACPI Source Language Compiler (iasl.exe)
|
|
|
|
|
####################################################################################
|
|
|
|
|
# VS2015x86 - Microsoft Visual Studio 2015 (x86) professional Edition with Intel ASL
|
|
|
|
|
*_VS2015x86_*_*_FAMILY = MSFT
|
|
|
|
|
|
|
|
|
|
*_VS2015x86_*_MAKE_PATH = DEF(VS2015x86_BIN)\nmake.exe
|
|
|
|
|
*_VS2015x86_*_MAKE_FLAG = /nologo
|
|
|
|
|
*_VS2015x86_*_RC_PATH = DEF(WINSDK81x86_BIN)\rc.exe
|
|
|
|
|
|
|
|
|
|
*_VS2015x86_*_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2015x86_*_SLINK_FLAGS = /NOLOGO /LTCG
|
|
|
|
|
*_VS2015x86_*_APP_FLAGS = /nologo /E /TC
|
|
|
|
|
*_VS2015x86_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2015x86_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
2017-08-24 06:38:01 +02:00
|
|
|
|
*_VS2015x86_*_DLINK2_FLAGS =
|
2019-12-02 09:24:19 +01:00
|
|
|
|
*_VS2015x86_*_DEPS_FLAGS = DEF(MSFT_DEPS_FLAGS)
|
2015-12-03 04:19:01 +01:00
|
|
|
|
*_VS2015x86_*_ASM16_PATH = DEF(VS2015x86_BIN)\ml.exe
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# ASL definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2015x86_*_ASL_PATH = DEF(WIN_IASL_BIN)
|
|
|
|
|
*_VS2015x86_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
|
|
|
|
|
*_VS2015x86_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
|
|
|
|
|
*_VS2015x86_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
|
|
|
|
|
*_VS2015x86_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
|
|
|
|
|
*_VS2015x86_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# IA32 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2015x86_IA32_*_DLL = DEF(VS2015x86_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2015x86_IA32_MAKE_PATH = DEF(VS2015x86_BIN)\nmake.exe
|
|
|
|
|
*_VS2015x86_IA32_CC_PATH = DEF(VS2015x86_BIN)\cl.exe
|
|
|
|
|
*_VS2015x86_IA32_VFRPP_PATH = DEF(VS2015x86_BIN)\cl.exe
|
|
|
|
|
*_VS2015x86_IA32_ASLCC_PATH = DEF(VS2015x86_BIN)\cl.exe
|
|
|
|
|
*_VS2015x86_IA32_ASLPP_PATH = DEF(VS2015x86_BIN)\cl.exe
|
|
|
|
|
*_VS2015x86_IA32_SLINK_PATH = DEF(VS2015x86_BIN)\lib.exe
|
|
|
|
|
*_VS2015x86_IA32_DLINK_PATH = DEF(VS2015x86_BIN)\link.exe
|
|
|
|
|
*_VS2015x86_IA32_ASLDLINK_PATH= DEF(VS2015x86_BIN)\link.exe
|
|
|
|
|
*_VS2015x86_IA32_APP_PATH = DEF(VS2015x86_BIN)\cl.exe
|
|
|
|
|
*_VS2015x86_IA32_PP_PATH = DEF(VS2015x86_BIN)\cl.exe
|
|
|
|
|
*_VS2015x86_IA32_ASM_PATH = DEF(VS2015x86_BIN)\ml.exe
|
|
|
|
|
|
|
|
|
|
*_VS2015x86_IA32_MAKE_FLAGS = /nologo
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2015x86_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7 /Gw
|
|
|
|
|
RELEASE_VS2015x86_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gw
|
|
|
|
|
NOOPT_VS2015x86_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7 /Od
|
2015-12-03 04:19:01 +01:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2015x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
RELEASE_VS2015x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
|
|
|
|
|
NOOPT_VS2015x86_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2015x86_IA32_NASM_FLAGS = -Ox -f win32 -g
|
|
|
|
|
RELEASE_VS2015x86_IA32_NASM_FLAGS = -Ox -f win32
|
|
|
|
|
NOOPT_VS2015x86_IA32_NASM_FLAGS = -O0 -f win32 -g
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2015x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
RELEASE_VS2015x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
|
|
|
|
NOOPT_VS2015x86_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# X64 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2015x86_X64_*_DLL = DEF(VS2015x86_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2015x86_X64_CC_PATH = DEF(VS2015x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2015x86_X64_PP_PATH = DEF(VS2015x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2015x86_X64_APP_PATH = DEF(VS2015x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2015x86_X64_VFRPP_PATH = DEF(VS2015x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2015x86_X64_ASLCC_PATH = DEF(VS2015x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2015x86_X64_ASLPP_PATH = DEF(VS2015x86_BINX64)\cl.exe
|
|
|
|
|
*_VS2015x86_X64_ASM_PATH = DEF(VS2015x86_BINX64)\ml64.exe
|
|
|
|
|
*_VS2015x86_X64_SLINK_PATH = DEF(VS2015x86_BINX64)\lib.exe
|
|
|
|
|
*_VS2015x86_X64_DLINK_PATH = DEF(VS2015x86_BINX64)\link.exe
|
|
|
|
|
*_VS2015x86_X64_ASLDLINK_PATH = DEF(VS2015x86_BINX64)\link.exe
|
|
|
|
|
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2015x86_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Gw
|
|
|
|
|
RELEASE_VS2015x86_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Gw
|
|
|
|
|
NOOPT_VS2015x86_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Od
|
2015-12-03 04:19:01 +01:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2015x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
|
|
|
|
RELEASE_VS2015x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
|
|
|
|
|
NOOPT_VS2015x86_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2015x86_X64_NASM_FLAGS = -Ox -f win64 -g
|
|
|
|
|
RELEASE_VS2015x86_X64_NASM_FLAGS = -Ox -f win64
|
|
|
|
|
NOOPT_VS2015x86_X64_NASM_FLAGS = -O0 -f win64 -g
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2015x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
RELEASE_VS2015x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
|
|
|
|
NOOPT_VS2015x86_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# EBC definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2015x86_EBC_*_FAMILY = INTEL
|
|
|
|
|
*_VS2015x86_EBC_*_DLL = DEF(VS2015x86_DLL)
|
|
|
|
|
|
|
|
|
|
*_VS2015x86_EBC_MAKE_PATH = DEF(VS2015x86_BIN)\nmake.exe
|
|
|
|
|
*_VS2015x86_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2015x86_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2015x86_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2015x86_EBC_SLINK_PATH = DEF(VS2015x86_BIN)\link.exe
|
|
|
|
|
*_VS2015x86_EBC_DLINK_PATH = DEF(VS2015x86_BIN)\link.exe
|
|
|
|
|
|
|
|
|
|
*_VS2015x86_EBC_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2015x86_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2015x86_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
|
|
|
|
|
*_VS2015x86_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
|
|
|
|
*_VS2015x86_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
|
|
|
|
|
*_VS2015x86_EBC_DLINK_FLAGS = "C:\Program Files (x86)\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER
|
|
|
|
|
|
|
|
|
|
|
2017-11-22 17:26:08 +01:00
|
|
|
|
####################################################################################
|
|
|
|
|
# VS2017 - Microsoft Visual Studio 2017 with Intel ASL
|
|
|
|
|
# ASL - Intel ACPI Source Language Compiler (iasl.exe)
|
|
|
|
|
####################################################################################
|
|
|
|
|
# VS2017 - Microsoft Visual Studio 2017 professional Edition with Intel ASL
|
|
|
|
|
*_VS2017_*_*_FAMILY = MSFT
|
|
|
|
|
*_VS2017_*_*_DLL = DEF(VS2017_BIN_HOST)
|
|
|
|
|
|
|
|
|
|
*_VS2017_*_MAKE_PATH = DEF(VS2017_BIN_HOST)\nmake.exe
|
|
|
|
|
*_VS2017_*_MAKE_FLAG = /nologo
|
2019-10-08 04:54:21 +02:00
|
|
|
|
*_VS2017_*_RC_PATH = DEF(RC_PATH)
|
2017-11-22 17:26:08 +01:00
|
|
|
|
|
|
|
|
|
*_VS2017_*_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2017_*_SLINK_FLAGS = /NOLOGO /LTCG
|
|
|
|
|
*_VS2017_*_APP_FLAGS = /nologo /E /TC
|
|
|
|
|
*_VS2017_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2017_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
|
|
|
|
*_VS2017_*_DLINK2_FLAGS = /WHOLEARCHIVE
|
|
|
|
|
*_VS2017_*_ASM16_PATH = DEF(VS2017_BIN_IA32)\ml.exe
|
2019-12-02 09:24:19 +01:00
|
|
|
|
*_VS2017_*_DEPS_FLAGS = DEF(MSFT_DEPS_FLAGS)
|
2017-11-22 17:26:08 +01:00
|
|
|
|
##################
|
|
|
|
|
# ASL definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2017_*_ASL_PATH = DEF(WIN_IASL_BIN)
|
|
|
|
|
*_VS2017_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
|
|
|
|
|
*_VS2017_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
|
|
|
|
|
*_VS2017_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
|
|
|
|
|
*_VS2017_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
|
|
|
|
|
*_VS2017_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# IA32 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2017_IA32_CC_PATH = DEF(VS2017_BIN_IA32)\cl.exe
|
|
|
|
|
*_VS2017_IA32_VFRPP_PATH = DEF(VS2017_BIN_IA32)\cl.exe
|
|
|
|
|
*_VS2017_IA32_ASLCC_PATH = DEF(VS2017_BIN_IA32)\cl.exe
|
|
|
|
|
*_VS2017_IA32_ASLPP_PATH = DEF(VS2017_BIN_IA32)\cl.exe
|
|
|
|
|
*_VS2017_IA32_SLINK_PATH = DEF(VS2017_BIN_IA32)\lib.exe
|
|
|
|
|
*_VS2017_IA32_DLINK_PATH = DEF(VS2017_BIN_IA32)\link.exe
|
|
|
|
|
*_VS2017_IA32_ASLDLINK_PATH= DEF(VS2017_BIN_IA32)\link.exe
|
|
|
|
|
*_VS2017_IA32_APP_PATH = DEF(VS2017_BIN_IA32)\cl.exe
|
|
|
|
|
*_VS2017_IA32_PP_PATH = DEF(VS2017_BIN_IA32)\cl.exe
|
|
|
|
|
*_VS2017_IA32_ASM_PATH = DEF(VS2017_BIN_IA32)\ml.exe
|
|
|
|
|
|
|
|
|
|
*_VS2017_IA32_MAKE_FLAGS = /nologo
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2017_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7 /Gw
|
|
|
|
|
RELEASE_VS2017_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gw
|
|
|
|
|
NOOPT_VS2017_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7 /Od
|
2017-11-22 17:26:08 +01:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2017_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
RELEASE_VS2017_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
|
|
|
|
|
NOOPT_VS2017_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2017_IA32_NASM_FLAGS = -Ox -f win32 -g
|
|
|
|
|
RELEASE_VS2017_IA32_NASM_FLAGS = -Ox -f win32
|
|
|
|
|
NOOPT_VS2017_IA32_NASM_FLAGS = -O0 -f win32 -g
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2017_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
RELEASE_VS2017_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
|
|
|
|
NOOPT_VS2017_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# X64 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2017_X64_CC_PATH = DEF(VS2017_BIN_X64)\cl.exe
|
|
|
|
|
*_VS2017_X64_PP_PATH = DEF(VS2017_BIN_X64)\cl.exe
|
|
|
|
|
*_VS2017_X64_APP_PATH = DEF(VS2017_BIN_X64)\cl.exe
|
|
|
|
|
*_VS2017_X64_VFRPP_PATH = DEF(VS2017_BIN_X64)\cl.exe
|
|
|
|
|
*_VS2017_X64_ASLCC_PATH = DEF(VS2017_BIN_X64)\cl.exe
|
|
|
|
|
*_VS2017_X64_ASLPP_PATH = DEF(VS2017_BIN_X64)\cl.exe
|
|
|
|
|
*_VS2017_X64_ASM_PATH = DEF(VS2017_BIN_X64)\ml64.exe
|
|
|
|
|
*_VS2017_X64_SLINK_PATH = DEF(VS2017_BIN_X64)\lib.exe
|
|
|
|
|
*_VS2017_X64_DLINK_PATH = DEF(VS2017_BIN_X64)\link.exe
|
|
|
|
|
*_VS2017_X64_ASLDLINK_PATH = DEF(VS2017_BIN_X64)\link.exe
|
|
|
|
|
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2017_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Gw
|
|
|
|
|
RELEASE_VS2017_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Gw
|
|
|
|
|
NOOPT_VS2017_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Od
|
2017-11-22 17:26:08 +01:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2017_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
|
|
|
|
RELEASE_VS2017_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
|
|
|
|
|
NOOPT_VS2017_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2017_X64_NASM_FLAGS = -Ox -f win64 -g
|
|
|
|
|
RELEASE_VS2017_X64_NASM_FLAGS = -Ox -f win64
|
|
|
|
|
NOOPT_VS2017_X64_NASM_FLAGS = -O0 -f win64 -g
|
|
|
|
|
|
2018-06-22 04:33:12 +02:00
|
|
|
|
DEBUG_VS2017_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4281 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
RELEASE_VS2017_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4281 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
|
|
|
|
NOOPT_VS2017_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4281 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
2017-11-22 17:26:08 +01:00
|
|
|
|
|
2018-01-12 14:33:31 +01:00
|
|
|
|
#################
|
|
|
|
|
# ARM definitions
|
|
|
|
|
#################
|
|
|
|
|
*_VS2017_ARM_CC_PATH = DEF(VS2017_BIN_ARM)\cl.exe
|
|
|
|
|
*_VS2017_ARM_VFRPP_PATH = DEF(VS2017_BIN_ARM)\cl.exe
|
|
|
|
|
*_VS2017_ARM_SLINK_PATH = DEF(VS2017_BIN_ARM)\lib.exe
|
|
|
|
|
*_VS2017_ARM_DLINK_PATH = DEF(VS2017_BIN_ARM)\link.exe
|
|
|
|
|
*_VS2017_ARM_APP_PATH = DEF(VS2017_BIN_ARM)\cl.exe
|
|
|
|
|
*_VS2017_ARM_PP_PATH = DEF(VS2017_BIN_ARM)\cl.exe
|
|
|
|
|
*_VS2017_ARM_ASM_PATH = DEF(VS2017_BIN_ARM)\armasm.exe
|
|
|
|
|
*_VS2017_ARM_ASLCC_PATH = DEF(VS2017_BIN_ARM)\cl.exe
|
|
|
|
|
*_VS2017_ARM_ASLPP_PATH = DEF(VS2017_BIN_ARM)\cl.exe
|
|
|
|
|
*_VS2017_ARM_ASLDLINK_PATH = DEF(VS2017_BIN_ARM)\link.exe
|
|
|
|
|
|
|
|
|
|
*_VS2017_ARM_MAKE_FLAGS = /nologo
|
|
|
|
|
DEBUG_VS2017_ARM_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Gw /Oi-
|
|
|
|
|
RELEASE_VS2017_ARM_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gw /Oi-
|
|
|
|
|
NOOPT_VS2017_ARM_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od /Oi-
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2017_ARM_ASM_FLAGS = /nologo /g
|
|
|
|
|
RELEASE_VS2017_ARM_ASM_FLAGS = /nologo
|
|
|
|
|
NOOPT_VS2017_ARM_ASM_FLAGS = /nologo
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2017_ARM_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:ARM /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
RELEASE_VS2017_ARM_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:ARM /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
|
|
|
|
NOOPT_VS2017_ARM_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:ARM /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
2018-02-23 10:50:03 +01:00
|
|
|
|
#####################
|
|
|
|
|
# AARCH64 definitions
|
|
|
|
|
#####################
|
|
|
|
|
*_VS2017_AARCH64_CC_PATH = DEF(VS2017_BIN_AARCH64)\cl.exe
|
|
|
|
|
*_VS2017_AARCH64_VFRPP_PATH = DEF(VS2017_BIN_AARCH64)\cl.exe
|
|
|
|
|
*_VS2017_AARCH64_SLINK_PATH = DEF(VS2017_BIN_AARCH64)\lib.exe
|
|
|
|
|
*_VS2017_AARCH64_DLINK_PATH = DEF(VS2017_BIN_AARCH64)\link.exe
|
|
|
|
|
*_VS2017_AARCH64_APP_PATH = DEF(VS2017_BIN_AARCH64)\cl.exe
|
|
|
|
|
*_VS2017_AARCH64_PP_PATH = DEF(VS2017_BIN_AARCH64)\cl.exe
|
|
|
|
|
*_VS2017_AARCH64_ASM_PATH = DEF(VS2017_BIN_AARCH64)\armasm64.exe
|
|
|
|
|
*_VS2017_AARCH64_ASLCC_PATH = DEF(VS2017_BIN_AARCH64)\cl.exe
|
|
|
|
|
*_VS2017_AARCH64_ASLPP_PATH = DEF(VS2017_BIN_AARCH64)\cl.exe
|
|
|
|
|
*_VS2017_AARCH64_ASLDLINK_PATH = DEF(VS2017_BIN_AARCH64)\link.exe
|
|
|
|
|
|
|
|
|
|
*_VS2017_AARCH64_MAKE_FLAGS = /nologo
|
|
|
|
|
DEBUG_VS2017_AARCH64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Gw /Oi-
|
|
|
|
|
RELEASE_VS2017_AARCH64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gw /Oi-
|
|
|
|
|
NOOPT_VS2017_AARCH64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od /Oi-
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2017_AARCH64_ASM_FLAGS = /nologo /g
|
|
|
|
|
RELEASE_VS2017_AARCH64_ASM_FLAGS = /nologo
|
|
|
|
|
NOOPT_VS2017_AARCH64_ASM_FLAGS = /nologo
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2017_AARCH64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:ARM64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /DRIVER /DEBUG
|
|
|
|
|
RELEASE_VS2017_AARCH64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:ARM64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /DRIVER /MERGE:.rdata=.data
|
|
|
|
|
NOOPT_VS2017_AARCH64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:ARM64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /DRIVER /DEBUG
|
|
|
|
|
|
2017-11-22 17:26:08 +01:00
|
|
|
|
##################
|
|
|
|
|
# EBC definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2017_EBC_*_FAMILY = INTEL
|
|
|
|
|
|
|
|
|
|
*_VS2017_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2017_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2017_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2017_EBC_SLINK_PATH = DEF(VS2017_BIN_IA32)\link.exe
|
|
|
|
|
*_VS2017_EBC_DLINK_PATH = DEF(VS2017_BIN_IA32)\link.exe
|
|
|
|
|
|
|
|
|
|
*_VS2017_EBC_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2017_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2017_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
|
|
|
|
|
*_VS2017_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
|
|
|
|
*_VS2017_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
|
|
|
|
|
*_VS2017_EBC_DLINK_FLAGS = "C:\Program Files (x86)\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER
|
|
|
|
|
|
2019-09-19 10:52:25 +02:00
|
|
|
|
####################################################################################
|
|
|
|
|
# VS2019 - Microsoft Visual Studio 2019 with Intel ASL
|
|
|
|
|
# ASL - Intel ACPI Source Language Compiler (iasl.exe)
|
|
|
|
|
####################################################################################
|
|
|
|
|
# VS2019 - Microsoft Visual Studio 2017 professional Edition with Intel ASL
|
|
|
|
|
*_VS2019_*_*_FAMILY = MSFT
|
|
|
|
|
*_VS2019_*_*_DLL = DEF(VS2019_BIN_HOST)
|
|
|
|
|
|
|
|
|
|
*_VS2019_*_MAKE_PATH = DEF(VS2019_BIN_HOST)\nmake.exe
|
|
|
|
|
*_VS2019_*_MAKE_FLAG = /nologo
|
2019-10-08 04:54:21 +02:00
|
|
|
|
*_VS2019_*_RC_PATH = DEF(RC_PATH)
|
2019-09-19 10:52:25 +02:00
|
|
|
|
|
|
|
|
|
*_VS2019_*_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2019_*_SLINK_FLAGS = /NOLOGO /LTCG
|
|
|
|
|
*_VS2019_*_APP_FLAGS = /nologo /E /TC
|
|
|
|
|
*_VS2019_*_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2019_*_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
|
|
|
|
*_VS2019_*_DLINK2_FLAGS = /WHOLEARCHIVE
|
|
|
|
|
*_VS2019_*_ASM16_PATH = DEF(VS2019_BIN_IA32)\ml.exe
|
2019-12-02 09:24:19 +01:00
|
|
|
|
*_VS2019_*_DEPS_FLAGS = DEF(MSFT_DEPS_FLAGS)
|
2019-09-19 10:52:25 +02:00
|
|
|
|
##################
|
|
|
|
|
# ASL definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2019_*_ASL_PATH = DEF(WIN_IASL_BIN)
|
|
|
|
|
*_VS2019_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
|
|
|
|
|
*_VS2019_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
|
|
|
|
|
*_VS2019_*_ASLCC_FLAGS = DEF(MSFT_ASLCC_FLAGS)
|
|
|
|
|
*_VS2019_*_ASLPP_FLAGS = DEF(MSFT_ASLPP_FLAGS)
|
|
|
|
|
*_VS2019_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# IA32 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2019_IA32_CC_PATH = DEF(VS2019_BIN_IA32)\cl.exe
|
|
|
|
|
*_VS2019_IA32_VFRPP_PATH = DEF(VS2019_BIN_IA32)\cl.exe
|
|
|
|
|
*_VS2019_IA32_ASLCC_PATH = DEF(VS2019_BIN_IA32)\cl.exe
|
|
|
|
|
*_VS2019_IA32_ASLPP_PATH = DEF(VS2019_BIN_IA32)\cl.exe
|
|
|
|
|
*_VS2019_IA32_SLINK_PATH = DEF(VS2019_BIN_IA32)\lib.exe
|
|
|
|
|
*_VS2019_IA32_DLINK_PATH = DEF(VS2019_BIN_IA32)\link.exe
|
|
|
|
|
*_VS2019_IA32_ASLDLINK_PATH= DEF(VS2019_BIN_IA32)\link.exe
|
|
|
|
|
*_VS2019_IA32_APP_PATH = DEF(VS2019_BIN_IA32)\cl.exe
|
|
|
|
|
*_VS2019_IA32_PP_PATH = DEF(VS2019_BIN_IA32)\cl.exe
|
|
|
|
|
*_VS2019_IA32_ASM_PATH = DEF(VS2019_BIN_IA32)\ml.exe
|
|
|
|
|
|
|
|
|
|
*_VS2019_IA32_MAKE_FLAGS = /nologo
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2019_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7 /Gw
|
|
|
|
|
RELEASE_VS2019_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gw
|
|
|
|
|
NOOPT_VS2019_IA32_CC_FLAGS = /nologo /arch:IA32 /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Z7 /Od
|
2019-09-19 10:52:25 +02:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2019_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
RELEASE_VS2019_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd
|
|
|
|
|
NOOPT_VS2019_IA32_ASM_FLAGS = /nologo /c /WX /W3 /Cx /coff /Zd /Zi
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2019_IA32_NASM_FLAGS = -Ox -f win32 -g
|
|
|
|
|
RELEASE_VS2019_IA32_NASM_FLAGS = -Ox -f win32
|
|
|
|
|
NOOPT_VS2019_IA32_NASM_FLAGS = -O0 -f win32 -g
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2019_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
RELEASE_VS2019_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
|
|
|
|
NOOPT_VS2019_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# X64 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2019_X64_CC_PATH = DEF(VS2019_BIN_X64)\cl.exe
|
|
|
|
|
*_VS2019_X64_PP_PATH = DEF(VS2019_BIN_X64)\cl.exe
|
|
|
|
|
*_VS2019_X64_APP_PATH = DEF(VS2019_BIN_X64)\cl.exe
|
|
|
|
|
*_VS2019_X64_VFRPP_PATH = DEF(VS2019_BIN_X64)\cl.exe
|
|
|
|
|
*_VS2019_X64_ASLCC_PATH = DEF(VS2019_BIN_X64)\cl.exe
|
|
|
|
|
*_VS2019_X64_ASLPP_PATH = DEF(VS2019_BIN_X64)\cl.exe
|
|
|
|
|
*_VS2019_X64_ASM_PATH = DEF(VS2019_BIN_X64)\ml64.exe
|
|
|
|
|
*_VS2019_X64_SLINK_PATH = DEF(VS2019_BIN_X64)\lib.exe
|
|
|
|
|
*_VS2019_X64_DLINK_PATH = DEF(VS2019_BIN_X64)\link.exe
|
|
|
|
|
*_VS2019_X64_ASLDLINK_PATH = DEF(VS2019_BIN_X64)\link.exe
|
|
|
|
|
|
2019-12-02 09:24:19 +01:00
|
|
|
|
DEBUG_VS2019_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Gw
|
|
|
|
|
RELEASE_VS2019_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Gw
|
|
|
|
|
NOOPT_VS2019_X64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Z7 /Od
|
2019-09-19 10:52:25 +02:00
|
|
|
|
|
|
|
|
|
DEBUG_VS2019_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
|
|
|
|
RELEASE_VS2019_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd
|
|
|
|
|
NOOPT_VS2019_X64_ASM_FLAGS = /nologo /c /WX /W3 /Cx /Zd /Zi
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2019_X64_NASM_FLAGS = -Ox -f win64 -g
|
|
|
|
|
RELEASE_VS2019_X64_NASM_FLAGS = -Ox -f win64
|
|
|
|
|
NOOPT_VS2019_X64_NASM_FLAGS = -O0 -f win64 -g
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2019_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4281 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
RELEASE_VS2019_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4281 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
|
|
|
|
NOOPT_VS2019_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4281 /OPT:REF /OPT:ICF=10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
|
|
|
|
#################
|
|
|
|
|
# ARM definitions
|
|
|
|
|
#################
|
|
|
|
|
*_VS2019_ARM_CC_PATH = DEF(VS2019_BIN_ARM)\cl.exe
|
|
|
|
|
*_VS2019_ARM_VFRPP_PATH = DEF(VS2019_BIN_ARM)\cl.exe
|
|
|
|
|
*_VS2019_ARM_SLINK_PATH = DEF(VS2019_BIN_ARM)\lib.exe
|
|
|
|
|
*_VS2019_ARM_DLINK_PATH = DEF(VS2019_BIN_ARM)\link.exe
|
|
|
|
|
*_VS2019_ARM_APP_PATH = DEF(VS2019_BIN_ARM)\cl.exe
|
|
|
|
|
*_VS2019_ARM_PP_PATH = DEF(VS2019_BIN_ARM)\cl.exe
|
|
|
|
|
*_VS2019_ARM_ASM_PATH = DEF(VS2019_BIN_ARM)\armasm.exe
|
|
|
|
|
*_VS2019_ARM_ASLCC_PATH = DEF(VS2019_BIN_ARM)\cl.exe
|
|
|
|
|
*_VS2019_ARM_ASLPP_PATH = DEF(VS2019_BIN_ARM)\cl.exe
|
|
|
|
|
*_VS2019_ARM_ASLDLINK_PATH = DEF(VS2019_BIN_ARM)\link.exe
|
|
|
|
|
|
|
|
|
|
*_VS2019_ARM_MAKE_FLAGS = /nologo
|
|
|
|
|
DEBUG_VS2019_ARM_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Gw /Oi-
|
|
|
|
|
RELEASE_VS2019_ARM_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gw /Oi-
|
|
|
|
|
NOOPT_VS2019_ARM_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od /Oi-
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2019_ARM_ASM_FLAGS = /nologo /g
|
|
|
|
|
RELEASE_VS2019_ARM_ASM_FLAGS = /nologo
|
|
|
|
|
NOOPT_VS2019_ARM_ASM_FLAGS = /nologo
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2019_ARM_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:ARM /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
RELEASE_VS2019_ARM_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:ARM /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=.data
|
|
|
|
|
NOOPT_VS2019_ARM_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:ARM /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG
|
|
|
|
|
|
|
|
|
|
#####################
|
|
|
|
|
# AARCH64 definitions
|
|
|
|
|
#####################
|
|
|
|
|
*_VS2019_AARCH64_CC_PATH = DEF(VS2019_BIN_AARCH64)\cl.exe
|
|
|
|
|
*_VS2019_AARCH64_VFRPP_PATH = DEF(VS2019_BIN_AARCH64)\cl.exe
|
|
|
|
|
*_VS2019_AARCH64_SLINK_PATH = DEF(VS2019_BIN_AARCH64)\lib.exe
|
|
|
|
|
*_VS2019_AARCH64_DLINK_PATH = DEF(VS2019_BIN_AARCH64)\link.exe
|
|
|
|
|
*_VS2019_AARCH64_APP_PATH = DEF(VS2019_BIN_AARCH64)\cl.exe
|
|
|
|
|
*_VS2019_AARCH64_PP_PATH = DEF(VS2019_BIN_AARCH64)\cl.exe
|
|
|
|
|
*_VS2019_AARCH64_ASM_PATH = DEF(VS2019_BIN_AARCH64)\armasm64.exe
|
|
|
|
|
*_VS2019_AARCH64_ASLCC_PATH = DEF(VS2019_BIN_AARCH64)\cl.exe
|
|
|
|
|
*_VS2019_AARCH64_ASLPP_PATH = DEF(VS2019_BIN_AARCH64)\cl.exe
|
|
|
|
|
*_VS2019_AARCH64_ASLDLINK_PATH = DEF(VS2019_BIN_AARCH64)\link.exe
|
|
|
|
|
|
|
|
|
|
*_VS2019_AARCH64_MAKE_FLAGS = /nologo
|
|
|
|
|
DEBUG_VS2019_AARCH64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Gw /Oi-
|
|
|
|
|
RELEASE_VS2019_AARCH64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gw /Oi-
|
|
|
|
|
NOOPT_VS2019_AARCH64_CC_FLAGS = /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od /Oi-
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2019_AARCH64_ASM_FLAGS = /nologo /g
|
|
|
|
|
RELEASE_VS2019_AARCH64_ASM_FLAGS = /nologo
|
|
|
|
|
NOOPT_VS2019_AARCH64_ASM_FLAGS = /nologo
|
|
|
|
|
|
|
|
|
|
DEBUG_VS2019_AARCH64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:ARM64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /DRIVER /DEBUG
|
|
|
|
|
RELEASE_VS2019_AARCH64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /MAP /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:ARM64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /DRIVER /MERGE:.rdata=.data
|
|
|
|
|
NOOPT_VS2019_AARCH64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /MAP /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:ARM64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /DRIVER /DEBUG
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# EBC definitions
|
|
|
|
|
##################
|
|
|
|
|
*_VS2019_EBC_*_FAMILY = INTEL
|
|
|
|
|
|
|
|
|
|
*_VS2019_EBC_PP_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2019_EBC_VFRPP_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2019_EBC_CC_PATH = DEF(EBC_BINx86)\iec.exe
|
|
|
|
|
*_VS2019_EBC_SLINK_PATH = DEF(VS2019_BIN_IA32)\link.exe
|
|
|
|
|
*_VS2019_EBC_DLINK_PATH = DEF(VS2019_BIN_IA32)\link.exe
|
|
|
|
|
|
|
|
|
|
*_VS2019_EBC_MAKE_FLAGS = /nologo
|
|
|
|
|
*_VS2019_EBC_PP_FLAGS = /nologo /E /TC /FIAutoGen.h
|
|
|
|
|
*_VS2019_EBC_CC_FLAGS = /nologo /c /WX /W3 /FIAutoGen.h /D$(MODULE_ENTRY_POINT)=$(ARCH_ENTRY_POINT)
|
|
|
|
|
*_VS2019_EBC_VFRPP_FLAGS = /nologo /E /TC /DVFRCOMPILE /FI$(MODULE_NAME)StrDefs.h
|
|
|
|
|
*_VS2019_EBC_SLINK_FLAGS = /lib /NOLOGO /MACHINE:EBC
|
|
|
|
|
*_VS2019_EBC_DLINK_FLAGS = "C:\Program Files (x86)\Intel\EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER
|
|
|
|
|
|
2009-04-13 14:50:50 +02:00
|
|
|
|
####################################################################################
|
|
|
|
|
# GCC Common
|
|
|
|
|
####################################################################################
|
|
|
|
|
|
|
|
|
|
*_*_*_OBJCOPY_PATH = echo
|
|
|
|
|
*_*_*_OBJCOPY_FLAGS = objcopy not needed for
|
|
|
|
|
*_*_*_SYMRENAME_PATH = echo
|
|
|
|
|
*_*_*_SYMRENAME_FLAGS = Symbol renaming not needed for
|
2014-09-25 04:29:18 +02:00
|
|
|
|
DEBUG_*_*_OBJCOPY_ADDDEBUGFLAG = --add-gnu-debuglink=$(DEBUG_DIR)/$(MODULE_NAME).debug
|
2011-10-29 08:59:30 +02:00
|
|
|
|
RELEASE_*_*_OBJCOPY_ADDDEBUGFLAG =
|
2016-09-30 09:30:59 +02:00
|
|
|
|
NOOPT_*_*_OBJCOPY_ADDDEBUGFLAG = --add-gnu-debuglink=$(DEBUG_DIR)/$(MODULE_NAME).debug
|
2018-01-05 10:24:22 +01:00
|
|
|
|
*_*_*_DTC_FLAGS = -H epapr
|
2018-02-27 18:47:06 +01:00
|
|
|
|
*_*_*_DTCPP_PATH = DEF(DTCPP_BIN)
|
|
|
|
|
*_*_*_DTC_PATH = DEF(DTC_BIN)
|
2009-04-13 14:50:50 +02:00
|
|
|
|
|
2017-04-06 02:45:32 +02:00
|
|
|
|
DEFINE GCC_ALL_CC_FLAGS = -g -Os -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -include AutoGen.h -fno-common
|
2010-06-28 11:33:10 +02:00
|
|
|
|
DEFINE GCC_IA32_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -m32 -malign-double -freorder-blocks -freorder-blocks-and-partition -O2 -mno-stack-arg-probe
|
|
|
|
|
DEFINE GCC_X64_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -mno-red-zone -Wno-address -mno-stack-arg-probe
|
2017-05-31 18:57:54 +02:00
|
|
|
|
DEFINE GCC_ARM_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -mlittle-endian -mabi=aapcs -fno-short-enums -funsigned-char -ffunction-sections -fdata-sections -fomit-frame-pointer -Wno-address -mthumb -mfloat-abi=soft -fno-pic -fno-pie
|
2016-08-08 12:33:06 +02:00
|
|
|
|
DEFINE GCC_ARM_CC_XIPFLAGS = -mno-unaligned-access
|
2018-05-18 19:20:32 +02:00
|
|
|
|
DEFINE GCC_AARCH64_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -mlittle-endian -fno-short-enums -fverbose-asm -funsigned-char -ffunction-sections -fdata-sections -Wno-address -fno-asynchronous-unwind-tables -fno-unwind-tables -fno-pic -fno-pie -ffixed-x18
|
2017-07-13 14:44:27 +02:00
|
|
|
|
DEFINE GCC_AARCH64_CC_XIPFLAGS = -mstrict-align -mgeneral-regs-only
|
2010-03-01 00:39:39 +01:00
|
|
|
|
DEFINE GCC_DLINK_FLAGS_COMMON = -nostdlib --pie
|
2016-07-23 10:19:46 +02:00
|
|
|
|
DEFINE GCC_DLINK2_FLAGS_COMMON = -Wl,--script=$(EDK_TOOLS_PATH)/Scripts/GccBase.lds
|
2009-12-29 07:16:53 +01:00
|
|
|
|
DEFINE GCC_IA32_X64_DLINK_COMMON = DEF(GCC_DLINK_FLAGS_COMMON) --gc-sections
|
2016-07-23 10:19:46 +02:00
|
|
|
|
DEFINE GCC_ARM_AARCH64_DLINK_COMMON= -Wl,--emit-relocs -nostdlib -Wl,--gc-sections -u $(IMAGE_ENTRY_POINT) -Wl,-e,$(IMAGE_ENTRY_POINT),-Map,$(DEST_DIR_DEBUG)/$(BASE_NAME).map
|
2018-12-12 13:11:04 +01:00
|
|
|
|
DEFINE GCC_ARM_DLINK_FLAGS = DEF(GCC_ARM_AARCH64_DLINK_COMMON) -z common-page-size=0x20 -Wl,--pic-veneer
|
2015-08-03 10:23:05 +02:00
|
|
|
|
DEFINE GCC_AARCH64_DLINK_FLAGS = DEF(GCC_ARM_AARCH64_DLINK_COMMON) -z common-page-size=0x20
|
2017-11-21 17:02:14 +01:00
|
|
|
|
DEFINE GCC_ARM_AARCH64_ASLDLINK_FLAGS = -Wl,--defsym=PECOFF_HEADER_SIZE=0 DEF(GCC_DLINK2_FLAGS_COMMON) -z common-page-size=0x20
|
2009-04-13 14:50:50 +02:00
|
|
|
|
DEFINE GCC_IA32_X64_ASLDLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_COMMON) --entry _ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT)
|
2017-11-21 17:02:14 +01:00
|
|
|
|
DEFINE GCC_ARM_ASLDLINK_FLAGS = DEF(GCC_ARM_DLINK_FLAGS) -Wl,--entry,ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT) DEF(GCC_ARM_AARCH64_ASLDLINK_FLAGS)
|
|
|
|
|
DEFINE GCC_AARCH64_ASLDLINK_FLAGS = DEF(GCC_AARCH64_DLINK_FLAGS) -Wl,--entry,ReferenceAcpiTable -u $(IMAGE_ENTRY_POINT) DEF(GCC_ARM_AARCH64_ASLDLINK_FLAGS)
|
2009-04-13 14:50:50 +02:00
|
|
|
|
DEFINE GCC_IA32_X64_DLINK_FLAGS = DEF(GCC_IA32_X64_DLINK_COMMON) --entry _$(IMAGE_ENTRY_POINT) --file-alignment 0x20 --section-alignment 0x20 -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
|
2019-10-17 08:55:45 +02:00
|
|
|
|
DEFINE GCC_ASM_FLAGS = -c -x assembler -imacros AutoGen.h
|
|
|
|
|
DEFINE GCC_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h
|
|
|
|
|
DEFINE GCC_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE --include $(MODULE_NAME)StrDefs.h
|
2016-11-14 07:37:26 +01:00
|
|
|
|
DEFINE GCC_ASLPP_FLAGS = -x c -E -include AutoGen.h
|
2009-12-29 07:16:53 +01:00
|
|
|
|
DEFINE GCC_ASLCC_FLAGS = -x c
|
|
|
|
|
DEFINE GCC_WINDRES_FLAGS = -J rc -O coff
|
2019-10-17 08:55:45 +02:00
|
|
|
|
DEFINE GCC_DTCPP_FLAGS = -E -x assembler-with-cpp -imacros AutoGen.h -nostdinc -undef
|
2013-08-23 04:18:16 +02:00
|
|
|
|
DEFINE GCC_IA32_RC_FLAGS = -I binary -O elf32-i386 -B i386 --rename-section .data=.hii
|
|
|
|
|
DEFINE GCC_X64_RC_FLAGS = -I binary -O elf64-x86-64 -B i386 --rename-section .data=.hii
|
|
|
|
|
DEFINE GCC_ARM_RC_FLAGS = -I binary -O elf32-littlearm -B arm --rename-section .data=.hii
|
|
|
|
|
DEFINE GCC_AARCH64_RC_FLAGS = -I binary -O elf64-littleaarch64 -B aarch64 --rename-section .data=.hii
|
2009-12-29 07:16:53 +01:00
|
|
|
|
|
2019-12-02 09:24:19 +01:00
|
|
|
|
# GCC Build Flag for included header file list generation
|
|
|
|
|
DEFINE GCC_DEPS_FLAGS = -MMD -MF $@.deps
|
|
|
|
|
|
2019-01-03 01:29:57 +01:00
|
|
|
|
DEFINE GCC48_ALL_CC_FLAGS = -g -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno-common -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings
|
2019-01-03 01:51:22 +01:00
|
|
|
|
DEFINE GCC48_IA32_X64_DLINK_COMMON = -nostdlib -Wl,-n,-q,--gc-sections -z common-page-size=0x20
|
2019-01-03 01:29:57 +01:00
|
|
|
|
DEFINE GCC48_IA32_CC_FLAGS = DEF(GCC48_ALL_CC_FLAGS) -m32 -march=i586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchronous-unwind-tables -Wno-address
|
|
|
|
|
DEFINE GCC48_X64_CC_FLAGS = DEF(GCC48_ALL_CC_FLAGS) -m64 -fno-stack-protector "-DEFIAPI=__attribute__((ms_abi))" -maccumulate-outgoing-args -mno-red-zone -Wno-address -mcmodel=small -fpie -fno-asynchronous-unwind-tables -Wno-address
|
2019-01-03 01:51:22 +01:00
|
|
|
|
DEFINE GCC48_IA32_X64_ASLDLINK_FLAGS = DEF(GCC48_IA32_X64_DLINK_COMMON) -Wl,--entry,ReferenceAcpiTable -u ReferenceAcpiTable
|
|
|
|
|
DEFINE GCC48_IA32_X64_DLINK_FLAGS = DEF(GCC48_IA32_X64_DLINK_COMMON) -Wl,--entry,$(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT) -Wl,-Map,$(DEST_DIR_DEBUG)/$(BASE_NAME).map,--whole-archive
|
2019-01-03 01:23:40 +01:00
|
|
|
|
DEFINE GCC48_IA32_DLINK2_FLAGS = -Wl,--defsym=PECOFF_HEADER_SIZE=0x220 DEF(GCC_DLINK2_FLAGS_COMMON)
|
2019-01-03 01:40:47 +01:00
|
|
|
|
DEFINE GCC48_X64_DLINK_FLAGS = DEF(GCC48_IA32_X64_DLINK_FLAGS) -Wl,-melf_x86_64,--oformat=elf64-x86-64,-pie
|
2019-01-03 01:23:40 +01:00
|
|
|
|
DEFINE GCC48_X64_DLINK2_FLAGS = -Wl,--defsym=PECOFF_HEADER_SIZE=0x228 DEF(GCC_DLINK2_FLAGS_COMMON)
|
|
|
|
|
DEFINE GCC48_ASM_FLAGS = DEF(GCC_ASM_FLAGS)
|
BaseTools/Conf/tools_def.template: drop ARM/AARCH support from GCC46/GCC47
This drops ARM and AARCH64 support from the GCC46 and GCC47 toolchain
definitions, which are on the list to be removed, along with VS2003,
VS2005, VS2008, VS2010, DDK3790, UNIXGCC, GCC44, GCC45, ELFGCC, CYGGCC,
ICC, ICC11 and MYTOOLS.
Since GCC46 and GCC47 are the only ones on that list that support ARM
and/or AARCH64, let's give Liming a hand and cover the ARM side of
things first, so that everything that remains to be removed is x86
only.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1377
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Liming Gao <liming.gao@intel.com>
[lersek@redhat.com: add bugzilla reference and CCs]
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
2018-12-08 10:32:42 +01:00
|
|
|
|
DEFINE GCC48_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_ASM_FLAGS) -mlittle-endian
|
|
|
|
|
DEFINE GCC48_AARCH64_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_ASM_FLAGS) -mlittle-endian
|
|
|
|
|
DEFINE GCC48_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_ARM_CC_FLAGS) -fstack-protector -mword-relocations
|
|
|
|
|
DEFINE GCC48_ARM_CC_XIPFLAGS = DEF(GCC_ARM_CC_XIPFLAGS)
|
|
|
|
|
DEFINE GCC48_AARCH64_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -mcmodel=large DEF(GCC_AARCH64_CC_FLAGS)
|
|
|
|
|
DEFINE GCC48_AARCH64_CC_XIPFLAGS = DEF(GCC_AARCH64_CC_XIPFLAGS)
|
|
|
|
|
DEFINE GCC48_ARM_DLINK_FLAGS = DEF(GCC_ARM_DLINK_FLAGS) -Wl,--oformat=elf32-littlearm
|
|
|
|
|
DEFINE GCC48_ARM_DLINK2_FLAGS = DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--defsym=PECOFF_HEADER_SIZE=0x220
|
|
|
|
|
DEFINE GCC48_AARCH64_DLINK_FLAGS = DEF(GCC_AARCH64_DLINK_FLAGS)
|
|
|
|
|
DEFINE GCC48_AARCH64_DLINK2_FLAGS = DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--defsym=PECOFF_HEADER_SIZE=0x228
|
|
|
|
|
DEFINE GCC48_ARM_ASLDLINK_FLAGS = DEF(GCC_ARM_ASLDLINK_FLAGS) -Wl,--oformat=elf32-littlearm
|
|
|
|
|
DEFINE GCC48_AARCH64_ASLDLINK_FLAGS = DEF(GCC_AARCH64_ASLDLINK_FLAGS)
|
2019-01-14 15:04:49 +01:00
|
|
|
|
DEFINE GCC48_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
|
2011-11-25 07:21:03 +01:00
|
|
|
|
|
2018-06-18 10:23:49 +02:00
|
|
|
|
DEFINE GCC49_IA32_CC_FLAGS = DEF(GCC48_IA32_CC_FLAGS)
|
2014-07-28 19:37:10 +02:00
|
|
|
|
DEFINE GCC49_X64_CC_FLAGS = DEF(GCC48_X64_CC_FLAGS)
|
2016-07-23 10:19:46 +02:00
|
|
|
|
DEFINE GCC49_IA32_X64_DLINK_COMMON = -nostdlib -Wl,-n,-q,--gc-sections -z common-page-size=0x40
|
2019-01-02 22:23:31 +01:00
|
|
|
|
DEFINE GCC49_IA32_X64_ASLDLINK_FLAGS = DEF(GCC49_IA32_X64_DLINK_COMMON) -Wl,--defsym=PECOFF_HEADER_SIZE=0 DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--entry,ReferenceAcpiTable -u ReferenceAcpiTable
|
2017-08-24 08:28:45 +02:00
|
|
|
|
DEFINE GCC49_IA32_X64_DLINK_FLAGS = DEF(GCC49_IA32_X64_DLINK_COMMON) -Wl,--entry,$(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT) -Wl,-Map,$(DEST_DIR_DEBUG)/$(BASE_NAME).map,--whole-archive
|
2015-08-03 10:23:59 +02:00
|
|
|
|
DEFINE GCC49_IA32_DLINK2_FLAGS = DEF(GCC48_IA32_DLINK2_FLAGS)
|
2017-08-23 10:04:04 +02:00
|
|
|
|
DEFINE GCC49_X64_DLINK_FLAGS = DEF(GCC49_IA32_X64_DLINK_FLAGS) -Wl,-melf_x86_64,--oformat=elf64-x86-64,-pie
|
2015-08-03 10:23:59 +02:00
|
|
|
|
DEFINE GCC49_X64_DLINK2_FLAGS = DEF(GCC48_X64_DLINK2_FLAGS)
|
2014-07-28 19:37:10 +02:00
|
|
|
|
DEFINE GCC49_ASM_FLAGS = DEF(GCC48_ASM_FLAGS)
|
|
|
|
|
DEFINE GCC49_ARM_ASM_FLAGS = DEF(GCC48_ARM_ASM_FLAGS)
|
|
|
|
|
DEFINE GCC49_AARCH64_ASM_FLAGS = DEF(GCC48_AARCH64_ASM_FLAGS)
|
|
|
|
|
DEFINE GCC49_ARM_CC_FLAGS = DEF(GCC48_ARM_CC_FLAGS)
|
2016-08-08 12:33:06 +02:00
|
|
|
|
DEFINE GCC49_ARM_CC_XIPFLAGS = DEF(GCC48_ARM_CC_XIPFLAGS)
|
2019-01-03 01:29:57 +01:00
|
|
|
|
DEFINE GCC49_AARCH64_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC48_ALL_CC_FLAGS) DEF(GCC_AARCH64_CC_FLAGS) -mcmodel=small
|
2016-01-11 09:50:49 +01:00
|
|
|
|
DEFINE GCC49_AARCH64_CC_XIPFLAGS = DEF(GCC48_AARCH64_CC_XIPFLAGS)
|
2014-07-28 19:37:10 +02:00
|
|
|
|
DEFINE GCC49_ARM_DLINK_FLAGS = DEF(GCC48_ARM_DLINK_FLAGS)
|
2015-10-01 16:01:07 +02:00
|
|
|
|
DEFINE GCC49_ARM_DLINK2_FLAGS = DEF(GCC48_ARM_DLINK2_FLAGS)
|
2018-12-10 15:13:39 +01:00
|
|
|
|
DEFINE GCC49_AARCH64_DLINK_FLAGS = DEF(GCC48_AARCH64_DLINK_FLAGS) -z common-page-size=0x1000
|
2015-08-03 10:23:05 +02:00
|
|
|
|
DEFINE GCC49_AARCH64_DLINK2_FLAGS = DEF(GCC48_AARCH64_DLINK2_FLAGS)
|
2014-07-28 19:37:10 +02:00
|
|
|
|
DEFINE GCC49_ARM_ASLDLINK_FLAGS = DEF(GCC48_ARM_ASLDLINK_FLAGS)
|
2015-07-06 17:57:50 +02:00
|
|
|
|
DEFINE GCC49_AARCH64_ASLDLINK_FLAGS = DEF(GCC48_AARCH64_ASLDLINK_FLAGS)
|
2019-01-14 15:04:49 +01:00
|
|
|
|
DEFINE GCC49_ASLCC_FLAGS = DEF(GCC48_ASLCC_FLAGS)
|
2014-07-28 19:37:10 +02:00
|
|
|
|
|
2018-06-18 10:23:49 +02:00
|
|
|
|
DEFINE GCC5_IA32_CC_FLAGS = DEF(GCC49_IA32_CC_FLAGS) -fno-pic -fno-pie
|
2017-04-06 02:45:32 +02:00
|
|
|
|
DEFINE GCC5_X64_CC_FLAGS = DEF(GCC49_X64_CC_FLAGS)
|
2016-07-17 23:20:10 +02:00
|
|
|
|
DEFINE GCC5_IA32_X64_DLINK_COMMON = DEF(GCC49_IA32_X64_DLINK_COMMON)
|
|
|
|
|
DEFINE GCC5_IA32_X64_ASLDLINK_FLAGS = DEF(GCC49_IA32_X64_ASLDLINK_FLAGS)
|
2016-09-30 09:30:59 +02:00
|
|
|
|
DEFINE GCC5_IA32_X64_DLINK_FLAGS = DEF(GCC49_IA32_X64_DLINK_FLAGS)
|
2016-08-02 16:15:31 +02:00
|
|
|
|
DEFINE GCC5_IA32_DLINK2_FLAGS = DEF(GCC49_IA32_DLINK2_FLAGS) -Wno-error
|
2016-09-30 09:30:59 +02:00
|
|
|
|
DEFINE GCC5_X64_DLINK_FLAGS = DEF(GCC49_X64_DLINK_FLAGS)
|
2016-08-02 16:15:31 +02:00
|
|
|
|
DEFINE GCC5_X64_DLINK2_FLAGS = DEF(GCC49_X64_DLINK2_FLAGS) -Wno-error
|
2016-07-17 23:20:10 +02:00
|
|
|
|
DEFINE GCC5_ASM_FLAGS = DEF(GCC49_ASM_FLAGS)
|
|
|
|
|
DEFINE GCC5_ARM_ASM_FLAGS = DEF(GCC49_ARM_ASM_FLAGS)
|
|
|
|
|
DEFINE GCC5_AARCH64_ASM_FLAGS = DEF(GCC49_AARCH64_ASM_FLAGS)
|
|
|
|
|
DEFINE GCC5_ARM_CC_FLAGS = DEF(GCC49_ARM_CC_FLAGS)
|
2016-08-08 12:33:06 +02:00
|
|
|
|
DEFINE GCC5_ARM_CC_XIPFLAGS = DEF(GCC49_ARM_CC_XIPFLAGS)
|
2016-07-17 23:20:10 +02:00
|
|
|
|
DEFINE GCC5_AARCH64_CC_FLAGS = DEF(GCC49_AARCH64_CC_FLAGS)
|
|
|
|
|
DEFINE GCC5_AARCH64_CC_XIPFLAGS = DEF(GCC49_AARCH64_CC_XIPFLAGS)
|
2017-11-21 17:02:14 +01:00
|
|
|
|
DEFINE GCC5_ARM_DLINK_FLAGS = DEF(GCC49_ARM_DLINK_FLAGS)
|
2016-08-02 16:15:31 +02:00
|
|
|
|
DEFINE GCC5_ARM_DLINK2_FLAGS = DEF(GCC49_ARM_DLINK2_FLAGS) -Wno-error
|
2017-11-21 17:02:14 +01:00
|
|
|
|
DEFINE GCC5_AARCH64_DLINK_FLAGS = DEF(GCC49_AARCH64_DLINK_FLAGS)
|
2016-08-02 16:15:31 +02:00
|
|
|
|
DEFINE GCC5_AARCH64_DLINK2_FLAGS = DEF(GCC49_AARCH64_DLINK2_FLAGS) -Wno-error
|
2017-11-21 17:02:14 +01:00
|
|
|
|
DEFINE GCC5_ARM_ASLDLINK_FLAGS = DEF(GCC49_ARM_ASLDLINK_FLAGS)
|
|
|
|
|
DEFINE GCC5_AARCH64_ASLDLINK_FLAGS = DEF(GCC49_AARCH64_ASLDLINK_FLAGS)
|
2019-01-14 15:04:49 +01:00
|
|
|
|
DEFINE GCC5_ASLCC_FLAGS = DEF(GCC49_ASLCC_FLAGS) -fno-lto
|
2016-07-17 23:20:10 +02:00
|
|
|
|
|
2014-01-10 06:25:50 +01:00
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
|
|
|
|
# GCC 4.8 - This configuration is used to compile under Linux to produce
|
|
|
|
|
# PE/COFF binaries using GCC 4.8.
|
|
|
|
|
#
|
|
|
|
|
####################################################################################
|
|
|
|
|
*_GCC48_*_*_FAMILY = GCC
|
|
|
|
|
|
2018-04-25 12:11:42 +02:00
|
|
|
|
*_GCC48_*_MAKE_PATH = DEF(GCC_HOST_PREFIX)make
|
2014-11-18 03:38:20 +01:00
|
|
|
|
*_GCC48_*_*_DLL = ENV(GCC48_DLL)
|
2014-01-10 06:25:50 +01:00
|
|
|
|
*_GCC48_*_ASL_PATH = DEF(UNIX_IASL_BIN)
|
|
|
|
|
|
|
|
|
|
*_GCC48_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
|
|
|
|
|
*_GCC48_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
|
|
|
|
|
*_GCC48_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
|
|
|
|
|
*_GCC48_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
|
|
|
|
|
*_GCC48_*_APP_FLAGS =
|
|
|
|
|
*_GCC48_*_ASL_FLAGS = DEF(IASL_FLAGS)
|
|
|
|
|
*_GCC48_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
|
2019-12-02 09:24:19 +01:00
|
|
|
|
*_GCC48_*_DEPS_FLAGS = DEF(GCC_DEPS_FLAGS)
|
2014-01-10 06:25:50 +01:00
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# GCC48 IA32 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_GCC48_IA32_OBJCOPY_PATH = DEF(GCC48_IA32_PREFIX)objcopy
|
|
|
|
|
*_GCC48_IA32_CC_PATH = DEF(GCC48_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC48_IA32_SLINK_PATH = DEF(GCC48_IA32_PREFIX)ar
|
2016-07-23 10:19:46 +02:00
|
|
|
|
*_GCC48_IA32_DLINK_PATH = DEF(GCC48_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC48_IA32_ASLDLINK_PATH = DEF(GCC48_IA32_PREFIX)gcc
|
2014-01-10 06:25:50 +01:00
|
|
|
|
*_GCC48_IA32_ASM_PATH = DEF(GCC48_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC48_IA32_PP_PATH = DEF(GCC48_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC48_IA32_VFRPP_PATH = DEF(GCC48_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC48_IA32_ASLCC_PATH = DEF(GCC48_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC48_IA32_ASLPP_PATH = DEF(GCC48_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC48_IA32_RC_PATH = DEF(GCC48_IA32_PREFIX)objcopy
|
|
|
|
|
|
2019-01-14 15:04:49 +01:00
|
|
|
|
*_GCC48_IA32_ASLCC_FLAGS = DEF(GCC48_ASLCC_FLAGS) -m32
|
2016-07-23 10:19:46 +02:00
|
|
|
|
*_GCC48_IA32_ASLDLINK_FLAGS = DEF(GCC48_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386
|
2014-01-10 06:25:50 +01:00
|
|
|
|
*_GCC48_IA32_ASM_FLAGS = DEF(GCC48_ASM_FLAGS) -m32 -march=i386
|
2016-07-23 10:19:46 +02:00
|
|
|
|
*_GCC48_IA32_DLINK_FLAGS = DEF(GCC48_IA32_X64_DLINK_FLAGS) -Wl,-m,elf_i386,--oformat=elf32-i386
|
2015-08-03 10:22:16 +02:00
|
|
|
|
*_GCC48_IA32_DLINK2_FLAGS = DEF(GCC48_IA32_DLINK2_FLAGS)
|
2014-01-10 06:25:50 +01:00
|
|
|
|
*_GCC48_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
|
2019-01-02 22:29:43 +01:00
|
|
|
|
*_GCC48_IA32_OBJCOPY_FLAGS =
|
2014-09-01 19:07:19 +02:00
|
|
|
|
*_GCC48_IA32_NASM_FLAGS = -f elf32
|
2014-01-10 06:25:50 +01:00
|
|
|
|
|
2016-03-24 07:28:20 +01:00
|
|
|
|
DEBUG_GCC48_IA32_CC_FLAGS = DEF(GCC48_IA32_CC_FLAGS) -Os
|
|
|
|
|
RELEASE_GCC48_IA32_CC_FLAGS = DEF(GCC48_IA32_CC_FLAGS) -Os -Wno-unused-but-set-variable
|
2016-09-30 09:30:59 +02:00
|
|
|
|
NOOPT_GCC48_IA32_CC_FLAGS = DEF(GCC48_IA32_CC_FLAGS) -O0
|
2016-03-24 07:28:20 +01:00
|
|
|
|
|
2014-01-10 06:25:50 +01:00
|
|
|
|
##################
|
|
|
|
|
# GCC48 X64 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_GCC48_X64_OBJCOPY_PATH = DEF(GCC48_X64_PREFIX)objcopy
|
|
|
|
|
*_GCC48_X64_CC_PATH = DEF(GCC48_X64_PREFIX)gcc
|
|
|
|
|
*_GCC48_X64_SLINK_PATH = DEF(GCC48_X64_PREFIX)ar
|
2016-07-23 10:19:46 +02:00
|
|
|
|
*_GCC48_X64_DLINK_PATH = DEF(GCC48_X64_PREFIX)gcc
|
|
|
|
|
*_GCC48_X64_ASLDLINK_PATH = DEF(GCC48_X64_PREFIX)gcc
|
2014-01-10 06:25:50 +01:00
|
|
|
|
*_GCC48_X64_ASM_PATH = DEF(GCC48_X64_PREFIX)gcc
|
|
|
|
|
*_GCC48_X64_PP_PATH = DEF(GCC48_X64_PREFIX)gcc
|
|
|
|
|
*_GCC48_X64_VFRPP_PATH = DEF(GCC48_X64_PREFIX)gcc
|
|
|
|
|
*_GCC48_X64_ASLCC_PATH = DEF(GCC48_X64_PREFIX)gcc
|
|
|
|
|
*_GCC48_X64_ASLPP_PATH = DEF(GCC48_X64_PREFIX)gcc
|
|
|
|
|
*_GCC48_X64_RC_PATH = DEF(GCC48_X64_PREFIX)objcopy
|
|
|
|
|
|
2019-01-14 15:04:49 +01:00
|
|
|
|
*_GCC48_X64_ASLCC_FLAGS = DEF(GCC48_ASLCC_FLAGS) -m64
|
2016-07-23 10:19:46 +02:00
|
|
|
|
*_GCC48_X64_ASLDLINK_FLAGS = DEF(GCC48_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64
|
2014-01-10 06:25:50 +01:00
|
|
|
|
*_GCC48_X64_ASM_FLAGS = DEF(GCC48_ASM_FLAGS) -m64
|
|
|
|
|
*_GCC48_X64_DLINK_FLAGS = DEF(GCC48_X64_DLINK_FLAGS)
|
2015-08-03 10:22:16 +02:00
|
|
|
|
*_GCC48_X64_DLINK2_FLAGS = DEF(GCC48_X64_DLINK2_FLAGS)
|
2014-01-10 06:25:50 +01:00
|
|
|
|
*_GCC48_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
|
2019-01-02 22:29:43 +01:00
|
|
|
|
*_GCC48_X64_OBJCOPY_FLAGS =
|
2014-09-01 19:07:19 +02:00
|
|
|
|
*_GCC48_X64_NASM_FLAGS = -f elf64
|
2014-01-10 06:25:50 +01:00
|
|
|
|
|
2016-09-30 09:30:59 +02:00
|
|
|
|
DEBUG_GCC48_X64_CC_FLAGS = DEF(GCC48_X64_CC_FLAGS) -Os
|
|
|
|
|
RELEASE_GCC48_X64_CC_FLAGS = DEF(GCC48_X64_CC_FLAGS) -Os -Wno-unused-but-set-variable
|
|
|
|
|
NOOPT_GCC48_X64_CC_FLAGS = DEF(GCC48_X64_CC_FLAGS) -O0
|
2016-03-24 07:28:20 +01:00
|
|
|
|
|
2014-01-10 06:25:50 +01:00
|
|
|
|
##################
|
|
|
|
|
# GCC48 ARM definitions
|
|
|
|
|
##################
|
|
|
|
|
*_GCC48_ARM_CC_PATH = ENV(GCC48_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC48_ARM_SLINK_PATH = ENV(GCC48_ARM_PREFIX)ar
|
2016-07-23 10:19:46 +02:00
|
|
|
|
*_GCC48_ARM_DLINK_PATH = ENV(GCC48_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC48_ARM_ASLDLINK_PATH = ENV(GCC48_ARM_PREFIX)gcc
|
2014-01-10 06:25:50 +01:00
|
|
|
|
*_GCC48_ARM_ASM_PATH = ENV(GCC48_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC48_ARM_PP_PATH = ENV(GCC48_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC48_ARM_VFRPP_PATH = ENV(GCC48_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC48_ARM_ASLCC_PATH = ENV(GCC48_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC48_ARM_ASLPP_PATH = ENV(GCC48_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC48_ARM_RC_PATH = ENV(GCC48_ARM_PREFIX)objcopy
|
|
|
|
|
|
|
|
|
|
*_GCC48_ARM_ARCHCC_FLAGS = -mthumb
|
|
|
|
|
*_GCC48_ARM_PLATFORM_FLAGS = -march=armv7-a
|
|
|
|
|
|
2019-01-14 15:04:49 +01:00
|
|
|
|
*_GCC48_ARM_ASLCC_FLAGS = DEF(GCC48_ASLCC_FLAGS)
|
2014-01-10 06:25:50 +01:00
|
|
|
|
*_GCC48_ARM_ASLDLINK_FLAGS = DEF(GCC48_ARM_ASLDLINK_FLAGS)
|
|
|
|
|
*_GCC48_ARM_ASM_FLAGS = DEF(GCC48_ARM_ASM_FLAGS)
|
|
|
|
|
*_GCC48_ARM_DLINK_FLAGS = DEF(GCC48_ARM_DLINK_FLAGS)
|
2015-10-01 16:01:07 +02:00
|
|
|
|
*_GCC48_ARM_DLINK2_FLAGS = DEF(GCC48_ARM_DLINK2_FLAGS)
|
2017-08-29 15:21:02 +02:00
|
|
|
|
*_GCC48_ARM_DTCPP_FLAGS = DEF(GCC_DTCPP_FLAGS)
|
2014-01-10 06:25:50 +01:00
|
|
|
|
*_GCC48_ARM_PLATFORM_FLAGS = -march=armv7-a
|
|
|
|
|
*_GCC48_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)
|
|
|
|
|
*_GCC48_ARM_RC_FLAGS = DEF(GCC_ARM_RC_FLAGS)
|
|
|
|
|
*_GCC48_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS)
|
2016-08-08 12:33:06 +02:00
|
|
|
|
*_GCC48_ARM_CC_XIPFLAGS = DEF(GCC48_ARM_CC_XIPFLAGS)
|
2014-01-10 06:25:50 +01:00
|
|
|
|
|
|
|
|
|
DEBUG_GCC48_ARM_CC_FLAGS = DEF(GCC48_ARM_CC_FLAGS) -O0
|
|
|
|
|
RELEASE_GCC48_ARM_CC_FLAGS = DEF(GCC48_ARM_CC_FLAGS) -Wno-unused-but-set-variable
|
2016-09-30 09:30:59 +02:00
|
|
|
|
NOOPT_GCC48_ARM_CC_FLAGS = DEF(GCC48_ARM_CC_FLAGS) -O0
|
2014-01-10 06:25:50 +01:00
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# GCC48 AARCH64 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_GCC48_AARCH64_CC_PATH = ENV(GCC48_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC48_AARCH64_SLINK_PATH = ENV(GCC48_AARCH64_PREFIX)ar
|
2016-07-23 10:19:46 +02:00
|
|
|
|
*_GCC48_AARCH64_DLINK_PATH = ENV(GCC48_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC48_AARCH64_ASLDLINK_PATH = ENV(GCC48_AARCH64_PREFIX)gcc
|
2014-01-10 06:25:50 +01:00
|
|
|
|
*_GCC48_AARCH64_ASM_PATH = ENV(GCC48_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC48_AARCH64_PP_PATH = ENV(GCC48_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC48_AARCH64_VFRPP_PATH = ENV(GCC48_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC48_AARCH64_ASLCC_PATH = ENV(GCC48_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC48_AARCH64_ASLPP_PATH = ENV(GCC48_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC48_AARCH64_RC_PATH = ENV(GCC48_AARCH64_PREFIX)objcopy
|
|
|
|
|
|
2019-01-14 15:04:49 +01:00
|
|
|
|
*_GCC48_AARCH64_ASLCC_FLAGS = DEF(GCC48_ASLCC_FLAGS)
|
2014-01-10 06:25:50 +01:00
|
|
|
|
*_GCC48_AARCH64_ASLDLINK_FLAGS = DEF(GCC48_AARCH64_ASLDLINK_FLAGS)
|
|
|
|
|
*_GCC48_AARCH64_ASM_FLAGS = DEF(GCC48_AARCH64_ASM_FLAGS)
|
|
|
|
|
*_GCC48_AARCH64_DLINK_FLAGS = DEF(GCC48_AARCH64_DLINK_FLAGS)
|
2015-08-03 10:23:05 +02:00
|
|
|
|
*_GCC48_AARCH64_DLINK2_FLAGS = DEF(GCC48_AARCH64_DLINK2_FLAGS)
|
2017-08-29 15:21:02 +02:00
|
|
|
|
*_GCC48_AARCH64_DTCPP_FLAGS = DEF(GCC_DTCPP_FLAGS)
|
2014-01-10 06:25:50 +01:00
|
|
|
|
*_GCC48_AARCH64_PLATFORM_FLAGS =
|
|
|
|
|
*_GCC48_AARCH64_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)
|
|
|
|
|
*_GCC48_AARCH64_RC_FLAGS = DEF(GCC_AARCH64_RC_FLAGS)
|
|
|
|
|
*_GCC48_AARCH64_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS)
|
2016-01-11 09:50:49 +01:00
|
|
|
|
*_GCC48_AARCH64_CC_XIPFLAGS = DEF(GCC48_AARCH64_CC_XIPFLAGS)
|
2014-01-10 06:25:50 +01:00
|
|
|
|
|
|
|
|
|
DEBUG_GCC48_AARCH64_CC_FLAGS = DEF(GCC48_AARCH64_CC_FLAGS) -O0
|
2017-09-16 01:06:02 +02:00
|
|
|
|
RELEASE_GCC48_AARCH64_CC_FLAGS = DEF(GCC48_AARCH64_CC_FLAGS) -Wno-unused-but-set-variable
|
2016-09-30 09:30:59 +02:00
|
|
|
|
NOOPT_GCC48_AARCH64_CC_FLAGS = DEF(GCC48_AARCH64_CC_FLAGS) -O0
|
2014-01-10 06:25:50 +01:00
|
|
|
|
|
2014-07-28 19:37:10 +02:00
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
|
|
|
|
# GCC 4.9 - This configuration is used to compile under Linux to produce
|
|
|
|
|
# PE/COFF binaries using GCC 4.9.
|
|
|
|
|
#
|
|
|
|
|
####################################################################################
|
|
|
|
|
*_GCC49_*_*_FAMILY = GCC
|
|
|
|
|
|
2018-04-25 12:11:42 +02:00
|
|
|
|
*_GCC49_*_MAKE_PATH = DEF(GCC_HOST_PREFIX)make
|
2014-11-18 03:38:20 +01:00
|
|
|
|
*_GCC49_*_*_DLL = ENV(GCC49_DLL)
|
2014-07-28 19:37:10 +02:00
|
|
|
|
*_GCC49_*_ASL_PATH = DEF(UNIX_IASL_BIN)
|
|
|
|
|
|
|
|
|
|
*_GCC49_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
|
|
|
|
|
*_GCC49_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
|
|
|
|
|
*_GCC49_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
|
|
|
|
|
*_GCC49_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
|
|
|
|
|
*_GCC49_*_APP_FLAGS =
|
|
|
|
|
*_GCC49_*_ASL_FLAGS = DEF(IASL_FLAGS)
|
|
|
|
|
*_GCC49_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
|
2019-12-02 09:24:19 +01:00
|
|
|
|
*_GCC49_*_DEPS_FLAGS = DEF(GCC_DEPS_FLAGS)
|
2014-07-28 19:37:10 +02:00
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# GCC49 IA32 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_GCC49_IA32_OBJCOPY_PATH = DEF(GCC49_IA32_PREFIX)objcopy
|
|
|
|
|
*_GCC49_IA32_CC_PATH = DEF(GCC49_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC49_IA32_SLINK_PATH = DEF(GCC49_IA32_PREFIX)ar
|
2016-07-23 10:19:46 +02:00
|
|
|
|
*_GCC49_IA32_DLINK_PATH = DEF(GCC49_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC49_IA32_ASLDLINK_PATH = DEF(GCC49_IA32_PREFIX)gcc
|
2014-07-28 19:37:10 +02:00
|
|
|
|
*_GCC49_IA32_ASM_PATH = DEF(GCC49_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC49_IA32_PP_PATH = DEF(GCC49_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC49_IA32_VFRPP_PATH = DEF(GCC49_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC49_IA32_ASLCC_PATH = DEF(GCC49_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC49_IA32_ASLPP_PATH = DEF(GCC49_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC49_IA32_RC_PATH = DEF(GCC49_IA32_PREFIX)objcopy
|
|
|
|
|
|
2019-01-14 15:04:49 +01:00
|
|
|
|
*_GCC49_IA32_ASLCC_FLAGS = DEF(GCC49_ASLCC_FLAGS) -m32
|
2018-06-18 10:23:49 +02:00
|
|
|
|
*_GCC49_IA32_ASLDLINK_FLAGS = DEF(GCC49_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386
|
2014-07-28 19:37:10 +02:00
|
|
|
|
*_GCC49_IA32_ASM_FLAGS = DEF(GCC49_ASM_FLAGS) -m32 -march=i386
|
2016-07-23 10:19:46 +02:00
|
|
|
|
*_GCC49_IA32_DLINK_FLAGS = DEF(GCC49_IA32_X64_DLINK_FLAGS) -Wl,-m,elf_i386,--oformat=elf32-i386
|
2018-06-18 10:23:49 +02:00
|
|
|
|
*_GCC49_IA32_DLINK2_FLAGS = DEF(GCC49_IA32_DLINK2_FLAGS)
|
2014-07-28 19:37:10 +02:00
|
|
|
|
*_GCC49_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
|
2019-01-02 22:29:43 +01:00
|
|
|
|
*_GCC49_IA32_OBJCOPY_FLAGS =
|
2014-09-01 19:07:19 +02:00
|
|
|
|
*_GCC49_IA32_NASM_FLAGS = -f elf32
|
2014-07-28 19:37:10 +02:00
|
|
|
|
|
2016-03-24 07:28:20 +01:00
|
|
|
|
DEBUG_GCC49_IA32_CC_FLAGS = DEF(GCC49_IA32_CC_FLAGS) -Os
|
2017-09-08 09:01:31 +02:00
|
|
|
|
RELEASE_GCC49_IA32_CC_FLAGS = DEF(GCC49_IA32_CC_FLAGS) -Os -Wno-unused-but-set-variable -Wno-unused-const-variable
|
2016-09-30 09:30:59 +02:00
|
|
|
|
NOOPT_GCC49_IA32_CC_FLAGS = DEF(GCC49_IA32_CC_FLAGS) -O0
|
2016-03-24 07:28:20 +01:00
|
|
|
|
|
2014-07-28 19:37:10 +02:00
|
|
|
|
##################
|
|
|
|
|
# GCC49 X64 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_GCC49_X64_OBJCOPY_PATH = DEF(GCC49_X64_PREFIX)objcopy
|
|
|
|
|
*_GCC49_X64_CC_PATH = DEF(GCC49_X64_PREFIX)gcc
|
|
|
|
|
*_GCC49_X64_SLINK_PATH = DEF(GCC49_X64_PREFIX)ar
|
2016-07-23 10:19:46 +02:00
|
|
|
|
*_GCC49_X64_DLINK_PATH = DEF(GCC49_X64_PREFIX)gcc
|
|
|
|
|
*_GCC49_X64_ASLDLINK_PATH = DEF(GCC49_X64_PREFIX)gcc
|
2014-07-28 19:37:10 +02:00
|
|
|
|
*_GCC49_X64_ASM_PATH = DEF(GCC49_X64_PREFIX)gcc
|
|
|
|
|
*_GCC49_X64_PP_PATH = DEF(GCC49_X64_PREFIX)gcc
|
|
|
|
|
*_GCC49_X64_VFRPP_PATH = DEF(GCC49_X64_PREFIX)gcc
|
|
|
|
|
*_GCC49_X64_ASLCC_PATH = DEF(GCC49_X64_PREFIX)gcc
|
|
|
|
|
*_GCC49_X64_ASLPP_PATH = DEF(GCC49_X64_PREFIX)gcc
|
|
|
|
|
*_GCC49_X64_RC_PATH = DEF(GCC49_X64_PREFIX)objcopy
|
|
|
|
|
|
2019-01-14 15:04:49 +01:00
|
|
|
|
*_GCC49_X64_ASLCC_FLAGS = DEF(GCC49_ASLCC_FLAGS) -m64
|
2016-07-23 10:19:46 +02:00
|
|
|
|
*_GCC49_X64_ASLDLINK_FLAGS = DEF(GCC49_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64
|
2014-07-28 19:37:10 +02:00
|
|
|
|
*_GCC49_X64_ASM_FLAGS = DEF(GCC49_ASM_FLAGS) -m64
|
|
|
|
|
*_GCC49_X64_DLINK_FLAGS = DEF(GCC49_X64_DLINK_FLAGS)
|
2015-08-03 10:22:16 +02:00
|
|
|
|
*_GCC49_X64_DLINK2_FLAGS = DEF(GCC49_X64_DLINK2_FLAGS)
|
2014-07-28 19:37:10 +02:00
|
|
|
|
*_GCC49_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
|
2019-01-02 22:29:43 +01:00
|
|
|
|
*_GCC49_X64_OBJCOPY_FLAGS =
|
2014-09-01 19:07:19 +02:00
|
|
|
|
*_GCC49_X64_NASM_FLAGS = -f elf64
|
2014-07-28 19:37:10 +02:00
|
|
|
|
|
2016-09-30 09:30:59 +02:00
|
|
|
|
DEBUG_GCC49_X64_CC_FLAGS = DEF(GCC49_X64_CC_FLAGS) -Os
|
2017-09-08 09:01:31 +02:00
|
|
|
|
RELEASE_GCC49_X64_CC_FLAGS = DEF(GCC49_X64_CC_FLAGS) -Os -Wno-unused-but-set-variable -Wno-unused-const-variable
|
2016-09-30 09:30:59 +02:00
|
|
|
|
NOOPT_GCC49_X64_CC_FLAGS = DEF(GCC49_X64_CC_FLAGS) -O0
|
2016-03-24 07:28:20 +01:00
|
|
|
|
|
2014-07-28 19:37:10 +02:00
|
|
|
|
##################
|
|
|
|
|
# GCC49 ARM definitions
|
|
|
|
|
##################
|
|
|
|
|
*_GCC49_ARM_CC_PATH = ENV(GCC49_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC49_ARM_SLINK_PATH = ENV(GCC49_ARM_PREFIX)ar
|
2016-07-23 10:19:46 +02:00
|
|
|
|
*_GCC49_ARM_DLINK_PATH = ENV(GCC49_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC49_ARM_ASLDLINK_PATH = ENV(GCC49_ARM_PREFIX)gcc
|
2014-07-28 19:37:10 +02:00
|
|
|
|
*_GCC49_ARM_ASM_PATH = ENV(GCC49_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC49_ARM_PP_PATH = ENV(GCC49_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC49_ARM_VFRPP_PATH = ENV(GCC49_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC49_ARM_ASLCC_PATH = ENV(GCC49_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC49_ARM_ASLPP_PATH = ENV(GCC49_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC49_ARM_RC_PATH = ENV(GCC49_ARM_PREFIX)objcopy
|
|
|
|
|
|
|
|
|
|
*_GCC49_ARM_ARCHCC_FLAGS = -mthumb
|
|
|
|
|
*_GCC49_ARM_PLATFORM_FLAGS = -march=armv7-a
|
|
|
|
|
|
2019-01-14 15:04:49 +01:00
|
|
|
|
*_GCC49_ARM_ASLCC_FLAGS = DEF(GCC49_ASLCC_FLAGS)
|
2014-07-28 19:37:10 +02:00
|
|
|
|
*_GCC49_ARM_ASLDLINK_FLAGS = DEF(GCC49_ARM_ASLDLINK_FLAGS)
|
|
|
|
|
*_GCC49_ARM_ASM_FLAGS = DEF(GCC49_ARM_ASM_FLAGS)
|
|
|
|
|
*_GCC49_ARM_DLINK_FLAGS = DEF(GCC49_ARM_DLINK_FLAGS)
|
2015-10-01 16:01:07 +02:00
|
|
|
|
*_GCC49_ARM_DLINK2_FLAGS = DEF(GCC49_ARM_DLINK2_FLAGS)
|
2017-08-29 15:21:02 +02:00
|
|
|
|
*_GCC49_ARM_DTCPP_FLAGS = DEF(GCC_DTCPP_FLAGS)
|
2014-07-28 19:37:10 +02:00
|
|
|
|
*_GCC49_ARM_PLATFORM_FLAGS = -march=armv7-a
|
|
|
|
|
*_GCC49_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)
|
|
|
|
|
*_GCC49_ARM_RC_FLAGS = DEF(GCC_ARM_RC_FLAGS)
|
|
|
|
|
*_GCC49_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS)
|
2016-08-08 12:33:06 +02:00
|
|
|
|
*_GCC49_ARM_CC_XIPFLAGS = DEF(GCC49_ARM_CC_XIPFLAGS)
|
2014-07-28 19:37:10 +02:00
|
|
|
|
|
|
|
|
|
DEBUG_GCC49_ARM_CC_FLAGS = DEF(GCC49_ARM_CC_FLAGS) -O0
|
2017-09-08 09:01:31 +02:00
|
|
|
|
RELEASE_GCC49_ARM_CC_FLAGS = DEF(GCC49_ARM_CC_FLAGS) -Wno-unused-but-set-variable -Wno-unused-const-variable
|
2016-09-30 09:30:59 +02:00
|
|
|
|
NOOPT_GCC49_ARM_CC_FLAGS = DEF(GCC49_ARM_CC_FLAGS) -O0
|
2014-07-28 19:37:10 +02:00
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# GCC49 AARCH64 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_GCC49_AARCH64_CC_PATH = ENV(GCC49_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC49_AARCH64_SLINK_PATH = ENV(GCC49_AARCH64_PREFIX)ar
|
2016-07-23 10:19:46 +02:00
|
|
|
|
*_GCC49_AARCH64_DLINK_PATH = ENV(GCC49_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC49_AARCH64_ASLDLINK_PATH = ENV(GCC49_AARCH64_PREFIX)gcc
|
2014-07-28 19:37:10 +02:00
|
|
|
|
*_GCC49_AARCH64_ASM_PATH = ENV(GCC49_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC49_AARCH64_PP_PATH = ENV(GCC49_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC49_AARCH64_VFRPP_PATH = ENV(GCC49_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC49_AARCH64_ASLCC_PATH = ENV(GCC49_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC49_AARCH64_ASLPP_PATH = ENV(GCC49_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC49_AARCH64_RC_PATH = ENV(GCC49_AARCH64_PREFIX)objcopy
|
|
|
|
|
|
2019-01-14 15:04:49 +01:00
|
|
|
|
*_GCC49_AARCH64_ASLCC_FLAGS = DEF(GCC49_ASLCC_FLAGS)
|
2014-07-28 19:37:10 +02:00
|
|
|
|
*_GCC49_AARCH64_ASLDLINK_FLAGS = DEF(GCC49_AARCH64_ASLDLINK_FLAGS)
|
|
|
|
|
*_GCC49_AARCH64_ASM_FLAGS = DEF(GCC49_AARCH64_ASM_FLAGS)
|
2015-08-03 10:23:05 +02:00
|
|
|
|
*_GCC49_AARCH64_DLINK2_FLAGS = DEF(GCC49_AARCH64_DLINK2_FLAGS)
|
2017-08-29 15:21:02 +02:00
|
|
|
|
*_GCC49_AARCH64_DTCPP_FLAGS = DEF(GCC_DTCPP_FLAGS)
|
2014-07-28 19:37:10 +02:00
|
|
|
|
*_GCC49_AARCH64_PLATFORM_FLAGS =
|
|
|
|
|
*_GCC49_AARCH64_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)
|
|
|
|
|
*_GCC49_AARCH64_RC_FLAGS = DEF(GCC_AARCH64_RC_FLAGS)
|
|
|
|
|
*_GCC49_AARCH64_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS)
|
2016-01-11 09:50:49 +01:00
|
|
|
|
*_GCC49_AARCH64_CC_XIPFLAGS = DEF(GCC49_AARCH64_CC_XIPFLAGS)
|
2014-07-28 19:37:10 +02:00
|
|
|
|
|
2018-12-10 15:13:39 +01:00
|
|
|
|
DEBUG_GCC49_AARCH64_CC_FLAGS = DEF(GCC49_AARCH64_CC_FLAGS) -O0
|
|
|
|
|
DEBUG_GCC49_AARCH64_DLINK_FLAGS = DEF(GCC49_AARCH64_DLINK_FLAGS)
|
2016-07-27 12:08:20 +02:00
|
|
|
|
DEBUG_GCC49_AARCH64_DLINK_XIPFLAGS = -z common-page-size=0x20
|
2016-03-25 12:33:28 +01:00
|
|
|
|
|
2018-12-10 15:13:39 +01:00
|
|
|
|
RELEASE_GCC49_AARCH64_CC_FLAGS = DEF(GCC49_AARCH64_CC_FLAGS) -Wno-unused-but-set-variable -Wno-unused-const-variable
|
2016-03-25 12:33:28 +01:00
|
|
|
|
RELEASE_GCC49_AARCH64_DLINK_FLAGS = DEF(GCC49_AARCH64_DLINK_FLAGS)
|
2018-12-10 15:13:39 +01:00
|
|
|
|
RELEASE_GCC49_AARCH64_DLINK_XIPFLAGS = -z common-page-size=0x20
|
2014-07-28 19:37:10 +02:00
|
|
|
|
|
2018-12-10 15:13:39 +01:00
|
|
|
|
NOOPT_GCC49_AARCH64_CC_FLAGS = DEF(GCC49_AARCH64_CC_FLAGS) -O0
|
|
|
|
|
NOOPT_GCC49_AARCH64_DLINK_FLAGS = DEF(GCC49_AARCH64_DLINK_FLAGS) -O0
|
2016-09-30 09:30:59 +02:00
|
|
|
|
NOOPT_GCC49_AARCH64_DLINK_XIPFLAGS = -z common-page-size=0x20 -O0
|
|
|
|
|
|
2016-07-17 23:20:10 +02:00
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
|
|
|
|
# GCC 5 - This configuration is used to compile under Linux to produce
|
|
|
|
|
# PE/COFF binaries using GCC 5
|
|
|
|
|
#
|
|
|
|
|
####################################################################################
|
|
|
|
|
*_GCC5_*_*_FAMILY = GCC
|
|
|
|
|
|
2018-04-25 12:11:42 +02:00
|
|
|
|
*_GCC5_*_MAKE_PATH = DEF(GCC_HOST_PREFIX)make
|
2016-07-17 23:20:10 +02:00
|
|
|
|
*_GCC5_*_*_DLL = ENV(GCC5_DLL)
|
|
|
|
|
*_GCC5_*_ASL_PATH = DEF(UNIX_IASL_BIN)
|
|
|
|
|
|
|
|
|
|
*_GCC5_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
|
|
|
|
|
*_GCC5_*_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS)
|
|
|
|
|
*_GCC5_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
|
|
|
|
|
*_GCC5_*_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS)
|
|
|
|
|
*_GCC5_*_APP_FLAGS =
|
|
|
|
|
*_GCC5_*_ASL_FLAGS = DEF(IASL_FLAGS)
|
|
|
|
|
*_GCC5_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
|
2019-12-02 09:24:19 +01:00
|
|
|
|
*_GCC5_*_DEPS_FLAGS = DEF(GCC_DEPS_FLAGS)
|
2016-07-17 23:20:10 +02:00
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# GCC5 IA32 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_GCC5_IA32_OBJCOPY_PATH = DEF(GCC5_IA32_PREFIX)objcopy
|
|
|
|
|
*_GCC5_IA32_CC_PATH = DEF(GCC5_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC5_IA32_SLINK_PATH = DEF(GCC5_IA32_PREFIX)gcc-ar
|
|
|
|
|
*_GCC5_IA32_DLINK_PATH = DEF(GCC5_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC5_IA32_ASLDLINK_PATH = DEF(GCC5_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC5_IA32_ASM_PATH = DEF(GCC5_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC5_IA32_PP_PATH = DEF(GCC5_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC5_IA32_VFRPP_PATH = DEF(GCC5_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC5_IA32_ASLCC_PATH = DEF(GCC5_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC5_IA32_ASLPP_PATH = DEF(GCC5_IA32_PREFIX)gcc
|
|
|
|
|
*_GCC5_IA32_RC_PATH = DEF(GCC5_IA32_PREFIX)objcopy
|
|
|
|
|
|
2019-01-14 15:04:49 +01:00
|
|
|
|
*_GCC5_IA32_ASLCC_FLAGS = DEF(GCC5_ASLCC_FLAGS) -m32
|
2018-06-11 09:34:52 +02:00
|
|
|
|
*_GCC5_IA32_ASLDLINK_FLAGS = DEF(GCC5_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386 -no-pie
|
2016-07-17 23:20:10 +02:00
|
|
|
|
*_GCC5_IA32_ASM_FLAGS = DEF(GCC5_ASM_FLAGS) -m32 -march=i386
|
2018-06-11 09:34:52 +02:00
|
|
|
|
*_GCC5_IA32_DLINK2_FLAGS = DEF(GCC5_IA32_DLINK2_FLAGS) -no-pie
|
2016-07-17 23:20:10 +02:00
|
|
|
|
*_GCC5_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
|
|
|
|
|
*_GCC5_IA32_OBJCOPY_FLAGS =
|
|
|
|
|
*_GCC5_IA32_NASM_FLAGS = -f elf32
|
|
|
|
|
|
2016-09-30 09:30:59 +02:00
|
|
|
|
DEBUG_GCC5_IA32_CC_FLAGS = DEF(GCC5_IA32_CC_FLAGS) -flto -Os
|
|
|
|
|
DEBUG_GCC5_IA32_DLINK_FLAGS = DEF(GCC5_IA32_X64_DLINK_FLAGS) -flto -Os -Wl,-m,elf_i386,--oformat=elf32-i386
|
|
|
|
|
|
2017-09-08 09:01:31 +02:00
|
|
|
|
RELEASE_GCC5_IA32_CC_FLAGS = DEF(GCC5_IA32_CC_FLAGS) -flto -Os -Wno-unused-but-set-variable -Wno-unused-const-variable
|
2016-09-30 09:30:59 +02:00
|
|
|
|
RELEASE_GCC5_IA32_DLINK_FLAGS = DEF(GCC5_IA32_X64_DLINK_FLAGS) -flto -Os -Wl,-m,elf_i386,--oformat=elf32-i386
|
|
|
|
|
|
|
|
|
|
NOOPT_GCC5_IA32_CC_FLAGS = DEF(GCC5_IA32_CC_FLAGS) -O0
|
|
|
|
|
NOOPT_GCC5_IA32_DLINK_FLAGS = DEF(GCC5_IA32_X64_DLINK_FLAGS) -Wl,-m,elf_i386,--oformat=elf32-i386 -O0
|
2016-07-17 23:20:10 +02:00
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# GCC5 X64 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_GCC5_X64_OBJCOPY_PATH = DEF(GCC5_X64_PREFIX)objcopy
|
|
|
|
|
*_GCC5_X64_CC_PATH = DEF(GCC5_X64_PREFIX)gcc
|
|
|
|
|
*_GCC5_X64_SLINK_PATH = DEF(GCC5_X64_PREFIX)gcc-ar
|
|
|
|
|
*_GCC5_X64_DLINK_PATH = DEF(GCC5_X64_PREFIX)gcc
|
|
|
|
|
*_GCC5_X64_ASLDLINK_PATH = DEF(GCC5_X64_PREFIX)gcc
|
|
|
|
|
*_GCC5_X64_ASM_PATH = DEF(GCC5_X64_PREFIX)gcc
|
|
|
|
|
*_GCC5_X64_PP_PATH = DEF(GCC5_X64_PREFIX)gcc
|
|
|
|
|
*_GCC5_X64_VFRPP_PATH = DEF(GCC5_X64_PREFIX)gcc
|
|
|
|
|
*_GCC5_X64_ASLCC_PATH = DEF(GCC5_X64_PREFIX)gcc
|
|
|
|
|
*_GCC5_X64_ASLPP_PATH = DEF(GCC5_X64_PREFIX)gcc
|
|
|
|
|
*_GCC5_X64_RC_PATH = DEF(GCC5_X64_PREFIX)objcopy
|
|
|
|
|
|
2019-01-14 15:04:49 +01:00
|
|
|
|
*_GCC5_X64_ASLCC_FLAGS = DEF(GCC5_ASLCC_FLAGS) -m64
|
2016-07-17 23:20:10 +02:00
|
|
|
|
*_GCC5_X64_ASLDLINK_FLAGS = DEF(GCC5_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64
|
|
|
|
|
*_GCC5_X64_ASM_FLAGS = DEF(GCC5_ASM_FLAGS) -m64
|
|
|
|
|
*_GCC5_X64_DLINK2_FLAGS = DEF(GCC5_X64_DLINK2_FLAGS)
|
|
|
|
|
*_GCC5_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
|
|
|
|
|
*_GCC5_X64_OBJCOPY_FLAGS =
|
|
|
|
|
*_GCC5_X64_NASM_FLAGS = -f elf64
|
|
|
|
|
|
2016-09-30 09:30:59 +02:00
|
|
|
|
DEBUG_GCC5_X64_CC_FLAGS = DEF(GCC5_X64_CC_FLAGS) -flto -DUSING_LTO -Os
|
|
|
|
|
DEBUG_GCC5_X64_DLINK_FLAGS = DEF(GCC5_X64_DLINK_FLAGS) -flto -Os
|
|
|
|
|
|
2017-09-08 09:01:31 +02:00
|
|
|
|
RELEASE_GCC5_X64_CC_FLAGS = DEF(GCC5_X64_CC_FLAGS) -flto -DUSING_LTO -Os -Wno-unused-but-set-variable -Wno-unused-const-variable
|
2016-09-30 09:30:59 +02:00
|
|
|
|
RELEASE_GCC5_X64_DLINK_FLAGS = DEF(GCC5_X64_DLINK_FLAGS) -flto -Os
|
|
|
|
|
|
|
|
|
|
NOOPT_GCC5_X64_CC_FLAGS = DEF(GCC5_X64_CC_FLAGS) -O0
|
|
|
|
|
NOOPT_GCC5_X64_DLINK_FLAGS = DEF(GCC5_X64_DLINK_FLAGS) -O0
|
2016-07-17 23:20:10 +02:00
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# GCC5 ARM definitions
|
|
|
|
|
##################
|
|
|
|
|
*_GCC5_ARM_CC_PATH = ENV(GCC5_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC5_ARM_SLINK_PATH = ENV(GCC5_ARM_PREFIX)gcc-ar
|
|
|
|
|
*_GCC5_ARM_DLINK_PATH = ENV(GCC5_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC5_ARM_ASLDLINK_PATH = ENV(GCC5_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC5_ARM_ASM_PATH = ENV(GCC5_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC5_ARM_PP_PATH = ENV(GCC5_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC5_ARM_VFRPP_PATH = ENV(GCC5_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC5_ARM_ASLCC_PATH = ENV(GCC5_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC5_ARM_ASLPP_PATH = ENV(GCC5_ARM_PREFIX)gcc
|
|
|
|
|
*_GCC5_ARM_RC_PATH = ENV(GCC5_ARM_PREFIX)objcopy
|
|
|
|
|
|
|
|
|
|
*_GCC5_ARM_ARCHCC_FLAGS = -mthumb
|
2019-01-14 15:04:49 +01:00
|
|
|
|
*_GCC5_ARM_ASLCC_FLAGS = DEF(GCC5_ASLCC_FLAGS)
|
2016-07-17 23:20:10 +02:00
|
|
|
|
*_GCC5_ARM_ASLDLINK_FLAGS = DEF(GCC5_ARM_ASLDLINK_FLAGS)
|
|
|
|
|
*_GCC5_ARM_ASM_FLAGS = DEF(GCC5_ARM_ASM_FLAGS)
|
|
|
|
|
*_GCC5_ARM_DLINK2_FLAGS = DEF(GCC5_ARM_DLINK2_FLAGS)
|
2017-08-29 15:21:02 +02:00
|
|
|
|
*_GCC5_ARM_DTCPP_FLAGS = DEF(GCC_DTCPP_FLAGS)
|
2016-07-17 23:20:10 +02:00
|
|
|
|
*_GCC5_ARM_PLATFORM_FLAGS = -march=armv7-a
|
|
|
|
|
*_GCC5_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)
|
|
|
|
|
*_GCC5_ARM_RC_FLAGS = DEF(GCC_ARM_RC_FLAGS)
|
|
|
|
|
*_GCC5_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS)
|
2016-08-08 12:33:06 +02:00
|
|
|
|
*_GCC5_ARM_CC_XIPFLAGS = DEF(GCC5_ARM_CC_XIPFLAGS)
|
2016-07-17 23:20:10 +02:00
|
|
|
|
|
2017-12-07 09:53:03 +01:00
|
|
|
|
DEBUG_GCC5_ARM_CC_FLAGS = DEF(GCC5_ARM_CC_FLAGS) -flto -Wno-unused-but-set-variable -Wno-unused-const-variable
|
|
|
|
|
DEBUG_GCC5_ARM_DLINK_FLAGS = DEF(GCC5_ARM_DLINK_FLAGS) -flto -Os -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-arm -Wl,-plugin-opt=-pass-through=-llto-arm
|
2016-07-17 23:20:10 +02:00
|
|
|
|
|
2017-09-08 09:01:31 +02:00
|
|
|
|
RELEASE_GCC5_ARM_CC_FLAGS = DEF(GCC5_ARM_CC_FLAGS) -flto -Wno-unused-but-set-variable -Wno-unused-const-variable
|
2016-07-17 23:20:10 +02:00
|
|
|
|
RELEASE_GCC5_ARM_DLINK_FLAGS = DEF(GCC5_ARM_DLINK_FLAGS) -flto -Os -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-arm -Wl,-plugin-opt=-pass-through=-llto-arm
|
|
|
|
|
|
2016-09-30 09:30:59 +02:00
|
|
|
|
NOOPT_GCC5_ARM_CC_FLAGS = DEF(GCC5_ARM_CC_FLAGS) -O0
|
|
|
|
|
NOOPT_GCC5_ARM_DLINK_FLAGS = DEF(GCC5_ARM_DLINK_FLAGS) -O0
|
|
|
|
|
|
2016-07-17 23:20:10 +02:00
|
|
|
|
##################
|
|
|
|
|
# GCC5 AARCH64 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_GCC5_AARCH64_CC_PATH = ENV(GCC5_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC5_AARCH64_SLINK_PATH = ENV(GCC5_AARCH64_PREFIX)gcc-ar
|
|
|
|
|
*_GCC5_AARCH64_DLINK_PATH = ENV(GCC5_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC5_AARCH64_ASLDLINK_PATH = ENV(GCC5_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC5_AARCH64_ASM_PATH = ENV(GCC5_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC5_AARCH64_PP_PATH = ENV(GCC5_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC5_AARCH64_VFRPP_PATH = ENV(GCC5_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC5_AARCH64_ASLCC_PATH = ENV(GCC5_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC5_AARCH64_ASLPP_PATH = ENV(GCC5_AARCH64_PREFIX)gcc
|
|
|
|
|
*_GCC5_AARCH64_RC_PATH = ENV(GCC5_AARCH64_PREFIX)objcopy
|
|
|
|
|
|
2019-01-14 15:04:49 +01:00
|
|
|
|
*_GCC5_AARCH64_ASLCC_FLAGS = DEF(GCC5_ASLCC_FLAGS)
|
2016-07-17 23:20:10 +02:00
|
|
|
|
*_GCC5_AARCH64_ASLDLINK_FLAGS = DEF(GCC5_AARCH64_ASLDLINK_FLAGS)
|
|
|
|
|
*_GCC5_AARCH64_ASM_FLAGS = DEF(GCC5_AARCH64_ASM_FLAGS)
|
|
|
|
|
*_GCC5_AARCH64_DLINK2_FLAGS = DEF(GCC5_AARCH64_DLINK2_FLAGS)
|
2017-08-29 15:21:02 +02:00
|
|
|
|
*_GCC5_AARCH64_DTCPP_FLAGS = DEF(GCC_DTCPP_FLAGS)
|
2016-07-17 23:20:10 +02:00
|
|
|
|
*_GCC5_AARCH64_PLATFORM_FLAGS =
|
|
|
|
|
*_GCC5_AARCH64_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)
|
|
|
|
|
*_GCC5_AARCH64_RC_FLAGS = DEF(GCC_AARCH64_RC_FLAGS)
|
|
|
|
|
*_GCC5_AARCH64_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS)
|
|
|
|
|
*_GCC5_AARCH64_CC_XIPFLAGS = DEF(GCC5_AARCH64_CC_XIPFLAGS)
|
|
|
|
|
|
2018-12-10 15:13:39 +01:00
|
|
|
|
DEBUG_GCC5_AARCH64_CC_FLAGS = DEF(GCC5_AARCH64_CC_FLAGS) -flto -Wno-unused-but-set-variable -Wno-unused-const-variable
|
|
|
|
|
DEBUG_GCC5_AARCH64_DLINK_FLAGS = DEF(GCC5_AARCH64_DLINK_FLAGS) -flto -Os -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-aarch64 -Wl,-plugin-opt=-pass-through=-llto-aarch64 -Wno-lto-type-mismatch
|
2016-07-27 12:08:20 +02:00
|
|
|
|
DEBUG_GCC5_AARCH64_DLINK_XIPFLAGS = -z common-page-size=0x20
|
2016-07-17 23:20:10 +02:00
|
|
|
|
|
2018-12-10 15:13:39 +01:00
|
|
|
|
RELEASE_GCC5_AARCH64_CC_FLAGS = DEF(GCC5_AARCH64_CC_FLAGS) -flto -Wno-unused-but-set-variable -Wno-unused-const-variable
|
BaseTools/tools_def: AARCH64: disable LTO type mismatch warnings
On AARCH64, any code that may execute with the MMU off needs to be built
with -mstrict-align, given that unaligned accesses are not allowed unless
the MMU is enabled. This does not only affect SEC and PEI modules, but
also static libraries of the BASE type, which may be linked into such
modules, as well as into modules of other types. As it turns out, the
presence of -mstrict-align is reflected in the internal representations
of the types defined in those libraries.
When -fstrict-aliasing is passed to GCC, it assumes that pointers to
objects of different types cannot refer to the same memory location, and
attempts to exploit this fact when optimizing the code. Since such
assumptions are only valid under very strict conditions which are not
guaranteed to be met in EDK2, we disable this optimization by passing
-fno-strict-aliasing by default. [*]
When LTO is in effect, this applies equally to the code generation that
may occur at link time, which is why the linker warns about unexpected
differences in type definitions between the intermediate representations
that are present in the object files being linked. This may result in
warnings such as the one below, even if -fno-strict-aliasing is used:
MdePkg/Include/Library/BaseLib.h:1712:1:
warning: type of 'StrToGuid' does not match original declaration
[-Wlto-type-mismatch]
StrToGuid (
^
MdePkg/Library/BaseLib/SafeString.c:1506:1:
note: 'StrToGuid' was previously declared here
StrToGuid (
^
MdePkg/Library/BaseLib/SafeString.c:1506:1:
note: code may be misoptimized unless -fno-strict-aliasing is used
This warning is inadvertently triggered when linking BASE libraries built
with -mstrict-align into modules of types other than SEC or PEI, since the
types are subtly different, even though the use of code that maintains
strict alignment in a module that does not care about this is unlikely to
cause problems. And even if it did, it would still only affect code built
with -fstrict-aliasing enabled, which we disable unconditionally. So let's
just silence the warning by passing -Wno-lto-type-mismatch.
[*] Leif adds: "-fstrict-aliasing is GCC default, because it is a
restriction in the C language. Because it's a bit non-obvious, things
can go hilariously wrong in very non-obvious ways, and the potential
optimization gains are unlikely to be generally relevant,
-fno-strict-aliasing is a sensible thing to always have set (like we
do)."
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2017-06-20 20:43:54 +02:00
|
|
|
|
RELEASE_GCC5_AARCH64_DLINK_FLAGS = DEF(GCC5_AARCH64_DLINK_FLAGS) -flto -Os -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-aarch64 -Wl,-plugin-opt=-pass-through=-llto-aarch64 -Wno-lto-type-mismatch
|
2018-12-10 15:13:39 +01:00
|
|
|
|
RELEASE_GCC5_AARCH64_DLINK_XIPFLAGS = -z common-page-size=0x20
|
2016-07-17 23:20:10 +02:00
|
|
|
|
|
2018-12-10 15:13:39 +01:00
|
|
|
|
NOOPT_GCC5_AARCH64_CC_FLAGS = DEF(GCC5_AARCH64_CC_FLAGS) -O0
|
|
|
|
|
NOOPT_GCC5_AARCH64_DLINK_FLAGS = DEF(GCC5_AARCH64_DLINK_FLAGS) -O0
|
2016-09-30 09:30:59 +02:00
|
|
|
|
NOOPT_GCC5_AARCH64_DLINK_XIPFLAGS = -z common-page-size=0x20 -O0
|
|
|
|
|
|
2015-08-10 09:55:26 +02:00
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
|
|
|
|
# CLANG35 - This configuration is used to compile under Linux to produce
|
|
|
|
|
# PE/COFF binaries using the clang compiler and assembler (v3.5 and up)
|
|
|
|
|
# and GNU linker
|
|
|
|
|
#
|
|
|
|
|
####################################################################################
|
|
|
|
|
*_CLANG35_*_*_FAMILY = GCC
|
|
|
|
|
|
|
|
|
|
*_CLANG35_*_MAKE_PATH = make
|
|
|
|
|
*_CLANG35_*_*_DLL = ENV(CLANG35_DLL)
|
|
|
|
|
*_CLANG35_*_ASL_PATH = DEF(UNIX_IASL_BIN)
|
|
|
|
|
|
|
|
|
|
*_CLANG35_*_PP_FLAGS = DEF(GCC_PP_FLAGS)
|
|
|
|
|
*_CLANG35_*_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
|
|
|
|
|
*_CLANG35_*_APP_FLAGS =
|
|
|
|
|
*_CLANG35_*_ASL_FLAGS = DEF(IASL_FLAGS)
|
|
|
|
|
*_CLANG35_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
|
2017-08-29 15:21:02 +02:00
|
|
|
|
*_CLANG35_*_DTCPP_FLAGS = DEF(GCC_DTCPP_FLAGS)
|
2015-08-10 09:55:26 +02:00
|
|
|
|
|
|
|
|
|
*_CLANG35_*_CC_PATH = ENV(CLANG35_BIN)clang
|
|
|
|
|
*_CLANG35_*_ASM_PATH = ENV(CLANG35_BIN)clang
|
|
|
|
|
*_CLANG35_*_PP_PATH = ENV(CLANG35_BIN)clang
|
|
|
|
|
*_CLANG35_*_VFRPP_PATH = ENV(CLANG35_BIN)clang
|
|
|
|
|
*_CLANG35_*_ASLCC_PATH = ENV(CLANG35_BIN)clang
|
|
|
|
|
*_CLANG35_*_ASLPP_PATH = ENV(CLANG35_BIN)clang
|
2016-07-23 10:19:46 +02:00
|
|
|
|
*_CLANG35_*_DLINK_PATH = ENV(CLANG35_BIN)clang
|
|
|
|
|
*_CLANG35_*_ASLDLINK_PATH = ENV(CLANG35_BIN)clang
|
2019-12-02 09:24:19 +01:00
|
|
|
|
*_CLANG35_*_DEPS_FLAGS = DEF(GCC_DEPS_FLAGS)
|
2015-08-10 09:55:26 +02:00
|
|
|
|
|
BaseTools/tools_def ARM: use softfloat target for CLANG3x
The 'arm-linux-gnueabihf' target triplet we use for CLANG35 and
CLANG38 specifies a hardfloat target, and so the binaries that are
emitted are annotated as using VFP registers for passing floating
point arguments, even though no VFP is used anywhere in the code.
This works fine as long as we don't try to link against code
that uses software floating point, but combining object files
with different floating point calling conventions is not permitted.
So switch to the softfloat arm-linux-gnueabi triplet instead.
This affects both the name Clang uses when invoking the linker,
and the arguments it passes to it, and we are mostly interested
in the latter (since any version of GNU ld.bfd will do the right
thing as long as it targets EABI ARM)
For native builds, this change has no effect, since the unprefixed
system linker will take priority, and so Clang will pass the right
arguments to whichever linker happens to be the system linker.
For cross builds, the fact that Clang composes the name of the
linker by prefixing '-ld' with the target triplet implies that
users will have to switch to a version of binutils that targets
arm-linux-gnueabi rather than arm-linux-gnueabihf. Note that the
GCCx toolchain targets can use either when building for ARM so this
does not create a need to install two versions of the ARM cross
toolchain. Also, note that all ARM toolchains in the GCC family
are already documented as requiring a toolchain that targets
arm-linux-gnueabi and not arm-linux-gnueabihf.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2018-12-19 15:50:23 +01:00
|
|
|
|
DEFINE CLANG35_ARM_TARGET = -target arm-linux-gnueabi
|
2016-07-23 10:19:46 +02:00
|
|
|
|
DEFINE CLANG35_AARCH64_TARGET = -target aarch64-linux-gnu
|
2016-01-04 10:31:33 +01:00
|
|
|
|
|
2018-01-19 17:19:30 +01:00
|
|
|
|
DEFINE CLANG35_WARNING_OVERRIDES = -Wno-parentheses-equality -Wno-tautological-compare -Wno-tautological-constant-out-of-range-compare -Wno-empty-body -Wno-unknown-warning-option
|
2016-08-08 12:33:06 +02:00
|
|
|
|
DEFINE CLANG35_ARM_CC_FLAGS = DEF(GCC_ARM_CC_FLAGS) DEF(CLANG35_ARM_TARGET) DEF(CLANG35_WARNING_OVERRIDES)
|
2016-01-11 09:50:49 +01:00
|
|
|
|
DEFINE CLANG35_AARCH64_CC_FLAGS = DEF(GCC_AARCH64_CC_FLAGS) DEF(CLANG35_AARCH64_TARGET) -mcmodel=small DEF(CLANG35_WARNING_OVERRIDES)
|
2015-08-10 09:55:26 +02:00
|
|
|
|
|
2015-12-15 16:02:24 +01:00
|
|
|
|
##################
|
|
|
|
|
# CLANG35 ARM definitions
|
|
|
|
|
##################
|
|
|
|
|
*_CLANG35_ARM_SLINK_PATH = ENV(CLANG35_ARM_PREFIX)ar
|
|
|
|
|
*_CLANG35_ARM_RC_PATH = ENV(CLANG35_ARM_PREFIX)objcopy
|
|
|
|
|
|
|
|
|
|
*_CLANG35_ARM_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
|
2016-07-23 10:19:46 +02:00
|
|
|
|
*_CLANG35_ARM_ASLDLINK_FLAGS = DEF(CLANG35_ARM_TARGET) DEF(GCC_ARM_ASLDLINK_FLAGS)
|
2016-01-04 10:31:33 +01:00
|
|
|
|
*_CLANG35_ARM_ASM_FLAGS = DEF(GCC_ASM_FLAGS) DEF(CLANG35_ARM_TARGET) $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -Qunused-arguments
|
2016-07-23 10:19:46 +02:00
|
|
|
|
*_CLANG35_ARM_DLINK_FLAGS = DEF(CLANG35_ARM_TARGET) DEF(GCC_ARM_DLINK_FLAGS)
|
|
|
|
|
*_CLANG35_ARM_DLINK2_FLAGS = DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--defsym=PECOFF_HEADER_SIZE=0x220
|
BaseTools/tools_def ARM CLANG35: work around -mno-movt option name change
PE/COFF only has a very limited id space for runtime relocations, and
so it defines only a single relocation for movw/movt instruction pairs,
which can be combined to load a 32-bit symbol reference into a register.
For this to work as expected, these instructions must always appear in
the same order and adjacently, and this is something few compilers take
into account, unless they target PE/COFF explicitly (and this is not the
case for our ELF based toolchains)
For Clang 3.6 and later, we can pass the -mno-movt option to suppress
movw/movt pairs entirely, which works around the issue. Unfortunately,
for Clang 3.5, the option is called differently (-mllvm -arm-use-movt=0)
and mutually incompatible between 3.5 and 3.6.
Since it is desirable for the CLANG35 toolchain to be usable on newer
versions of Clang as well (given that it is the only non-LTO alternative
to CLANG38), let's work around this issue in a way that permits versions
3.5 and newer of Clang to be used with the CLANG35 profile.
So pass the -mkernel flag instead (and add -Qunused-argument so Clang
does not complain about the -mno-unaligned-access in ARM_CC_XIPFLAGS).
This also inhibits movw/movt generation, along with some other changes
(e.g., long calls) which do affect code generation but not in an
undesirable manner.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2018-12-12 11:10:20 +01:00
|
|
|
|
*_CLANG35_ARM_PLATFORM_FLAGS = -march=armv7-a -mkernel -Qunused-arguments
|
2016-01-04 10:31:42 +01:00
|
|
|
|
*_CLANG35_ARM_PP_FLAGS = DEF(GCC_PP_FLAGS) DEF(CLANG35_ARM_TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)
|
2015-12-15 16:02:24 +01:00
|
|
|
|
*_CLANG35_ARM_RC_FLAGS = DEF(GCC_ARM_RC_FLAGS)
|
2016-01-04 10:31:42 +01:00
|
|
|
|
*_CLANG35_ARM_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS) DEF(CLANG35_ARM_TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)
|
|
|
|
|
*_CLANG35_ARM_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS) DEF(CLANG35_ARM_TARGET)
|
2016-08-08 12:33:06 +02:00
|
|
|
|
*_CLANG35_ARM_CC_XIPFLAGS = DEF(GCC_ARM_CC_XIPFLAGS)
|
2015-12-15 16:02:24 +01:00
|
|
|
|
|
2018-06-18 19:31:18 +02:00
|
|
|
|
DEBUG_CLANG35_ARM_CC_FLAGS = DEF(CLANG35_ARM_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -O1
|
2015-12-15 16:02:24 +01:00
|
|
|
|
RELEASE_CLANG35_ARM_CC_FLAGS = DEF(CLANG35_ARM_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -Oz
|
2018-06-18 19:31:18 +02:00
|
|
|
|
NOOPT_CLANG35_ARM_CC_FLAGS = DEF(CLANG35_ARM_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -O0
|
2015-12-15 16:02:24 +01:00
|
|
|
|
|
2015-08-10 09:55:26 +02:00
|
|
|
|
##################
|
|
|
|
|
# CLANG35 AARCH64 definitions
|
|
|
|
|
##################
|
|
|
|
|
*_CLANG35_AARCH64_SLINK_PATH = ENV(CLANG35_AARCH64_PREFIX)ar
|
|
|
|
|
*_CLANG35_AARCH64_RC_PATH = ENV(CLANG35_AARCH64_PREFIX)objcopy
|
|
|
|
|
|
|
|
|
|
*_CLANG35_AARCH64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
|
2016-07-23 10:19:46 +02:00
|
|
|
|
*_CLANG35_AARCH64_ASLDLINK_FLAGS = DEF(CLANG35_AARCH64_TARGET) DEF(GCC_AARCH64_ASLDLINK_FLAGS)
|
2016-01-04 10:31:33 +01:00
|
|
|
|
*_CLANG35_AARCH64_ASM_FLAGS = DEF(GCC_ASM_FLAGS) DEF(CLANG35_AARCH64_TARGET) $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -Qunused-arguments
|
2016-07-23 10:19:46 +02:00
|
|
|
|
*_CLANG35_AARCH64_DLINK_FLAGS = DEF(CLANG35_AARCH64_TARGET) DEF(GCC_AARCH64_DLINK_FLAGS) -z common-page-size=0x1000
|
2016-07-27 12:08:20 +02:00
|
|
|
|
*_CLANG35_AARCH64_DLINK_XIPFLAGS = -z common-page-size=0x20
|
2016-07-23 10:19:46 +02:00
|
|
|
|
*_CLANG35_AARCH64_DLINK2_FLAGS = DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--defsym=PECOFF_HEADER_SIZE=0x228
|
2015-08-10 09:55:26 +02:00
|
|
|
|
*_CLANG35_AARCH64_PLATFORM_FLAGS =
|
2016-01-04 10:31:42 +01:00
|
|
|
|
*_CLANG35_AARCH64_PP_FLAGS = DEF(GCC_PP_FLAGS) DEF(CLANG35_AARCH64_TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)
|
2015-08-10 09:55:26 +02:00
|
|
|
|
*_CLANG35_AARCH64_RC_FLAGS = DEF(GCC_AARCH64_RC_FLAGS)
|
2016-01-04 10:31:42 +01:00
|
|
|
|
*_CLANG35_AARCH64_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS) DEF(CLANG35_AARCH64_TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)
|
|
|
|
|
*_CLANG35_AARCH64_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS) DEF(CLANG35_AARCH64_TARGET)
|
2016-08-08 11:58:59 +02:00
|
|
|
|
*_CLANG35_AARCH64_CC_XIPFLAGS = DEF(GCC_AARCH64_CC_XIPFLAGS)
|
2015-08-10 09:55:26 +02:00
|
|
|
|
|
2018-06-18 19:31:18 +02:00
|
|
|
|
DEBUG_CLANG35_AARCH64_CC_FLAGS = DEF(CLANG35_AARCH64_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -O1
|
2017-09-16 01:06:02 +02:00
|
|
|
|
RELEASE_CLANG35_AARCH64_CC_FLAGS = DEF(CLANG35_AARCH64_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -Oz
|
2018-06-18 19:31:18 +02:00
|
|
|
|
NOOPT_CLANG35_AARCH64_CC_FLAGS = DEF(CLANG35_AARCH64_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -O0
|
2015-08-10 09:55:26 +02:00
|
|
|
|
|
2016-08-03 11:43:04 +02:00
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
|
|
|
|
# Clang 3.8 - This configuration is used to compile under Linux to produce
|
|
|
|
|
# PE/COFF binaries using LLVM/Clang 3.8 with Link Time Optimization enabled
|
|
|
|
|
#
|
|
|
|
|
####################################################################################
|
|
|
|
|
*_CLANG38_*_*_FAMILY = GCC
|
|
|
|
|
*_CLANG38_*_MAKE_PATH = make
|
|
|
|
|
*_CLANG38_*_*_DLL = ENV(CLANG38_DLL)
|
|
|
|
|
*_CLANG38_*_ASL_PATH = DEF(UNIX_IASL_BIN)
|
|
|
|
|
|
|
|
|
|
*_CLANG38_*_APP_FLAGS =
|
|
|
|
|
*_CLANG38_*_ASL_FLAGS = DEF(IASL_FLAGS)
|
|
|
|
|
*_CLANG38_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
|
2019-12-02 09:24:19 +01:00
|
|
|
|
*_CLANG38_*_DEPS_FLAGS = DEF(GCC_DEPS_FLAGS)
|
2016-08-03 11:43:04 +02:00
|
|
|
|
DEFINE CLANG38_IA32_PREFIX = ENV(CLANG38_BIN)
|
|
|
|
|
DEFINE CLANG38_X64_PREFIX = ENV(CLANG38_BIN)
|
|
|
|
|
|
|
|
|
|
DEFINE CLANG38_IA32_TARGET = -target i686-pc-linux-gnu
|
|
|
|
|
DEFINE CLANG38_X64_TARGET = -target x86_64-pc-linux-gnu
|
|
|
|
|
|
2018-01-19 17:19:30 +01:00
|
|
|
|
DEFINE CLANG38_WARNING_OVERRIDES = -Wno-parentheses-equality -Wno-tautological-compare -Wno-tautological-constant-out-of-range-compare -Wno-empty-body -Wno-unused-const-variable -Wno-varargs -Wno-unknown-warning-option
|
2019-01-03 01:29:57 +01:00
|
|
|
|
DEFINE CLANG38_ALL_CC_FLAGS = DEF(GCC48_ALL_CC_FLAGS) DEF(CLANG38_WARNING_OVERRIDES) -fno-stack-protector -mms-bitfields -Wno-address -Wno-shift-negative-value -Wno-unknown-pragmas -Wno-incompatible-library-redeclaration -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -msoft-float -mno-implicit-float -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -funsigned-char -fno-ms-extensions -Wno-null-dereference
|
2016-08-03 11:43:04 +02:00
|
|
|
|
|
|
|
|
|
###########################
|
|
|
|
|
# CLANG38 IA32 definitions
|
|
|
|
|
###########################
|
|
|
|
|
*_CLANG38_IA32_OBJCOPY_PATH = objcopy
|
|
|
|
|
*_CLANG38_IA32_CC_PATH = DEF(CLANG38_IA32_PREFIX)clang
|
|
|
|
|
*_CLANG38_IA32_SLINK_PATH = DEF(CLANG38_IA32_PREFIX)llvm-ar
|
|
|
|
|
*_CLANG38_IA32_DLINK_PATH = DEF(CLANG38_IA32_PREFIX)clang
|
|
|
|
|
*_CLANG38_IA32_ASLDLINK_PATH = DEF(CLANG38_IA32_PREFIX)clang
|
|
|
|
|
*_CLANG38_IA32_ASM_PATH = DEF(CLANG38_IA32_PREFIX)clang
|
|
|
|
|
*_CLANG38_IA32_PP_PATH = DEF(CLANG38_IA32_PREFIX)clang
|
|
|
|
|
*_CLANG38_IA32_VFRPP_PATH = DEF(CLANG38_IA32_PREFIX)clang
|
|
|
|
|
*_CLANG38_IA32_ASLCC_PATH = DEF(CLANG38_IA32_PREFIX)clang
|
|
|
|
|
*_CLANG38_IA32_ASLPP_PATH = DEF(CLANG38_IA32_PREFIX)clang
|
|
|
|
|
*_CLANG38_IA32_RC_PATH = objcopy
|
|
|
|
|
|
|
|
|
|
*_CLANG38_IA32_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m32 -fno-lto DEF(CLANG38_IA32_TARGET)
|
|
|
|
|
*_CLANG38_IA32_ASLDLINK_FLAGS = DEF(GCC5_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386
|
|
|
|
|
*_CLANG38_IA32_ASM_FLAGS = DEF(GCC5_ASM_FLAGS) -m32 -march=i386 DEF(CLANG38_IA32_TARGET)
|
|
|
|
|
*_CLANG38_IA32_RC_FLAGS = DEF(GCC_IA32_RC_FLAGS)
|
|
|
|
|
*_CLANG38_IA32_OBJCOPY_FLAGS =
|
|
|
|
|
*_CLANG38_IA32_NASM_FLAGS = -f elf32
|
|
|
|
|
*_CLANG38_IA32_PP_FLAGS = DEF(GCC_PP_FLAGS) DEF(CLANG38_IA32_TARGET)
|
|
|
|
|
*_CLANG38_IA32_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS) DEF(CLANG38_IA32_TARGET)
|
|
|
|
|
*_CLANG38_IA32_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS) DEF(CLANG38_IA32_TARGET)
|
|
|
|
|
|
2017-02-09 07:09:02 +01:00
|
|
|
|
DEBUG_CLANG38_IA32_CC_FLAGS = DEF(CLANG38_ALL_CC_FLAGS) -m32 -Oz -flto -march=i586 DEF(CLANG38_IA32_TARGET) -g
|
|
|
|
|
DEBUG_CLANG38_IA32_DLINK_FLAGS = DEF(GCC5_IA32_X64_DLINK_FLAGS) -flto -Wl,-Oz -Wl,-melf_i386 -Wl,--oformat=elf32-i386
|
|
|
|
|
DEBUG_CLANG38_IA32_DLINK2_FLAGS = DEF(GCC5_IA32_DLINK2_FLAGS) -O3
|
|
|
|
|
|
|
|
|
|
RELEASE_CLANG38_IA32_CC_FLAGS = DEF(CLANG38_ALL_CC_FLAGS) -m32 -Oz -flto -march=i586 DEF(CLANG38_IA32_TARGET)
|
|
|
|
|
RELEASE_CLANG38_IA32_DLINK_FLAGS = DEF(GCC5_IA32_X64_DLINK_FLAGS) -flto -Wl,-Oz -Wl,-melf_i386 -Wl,--oformat=elf32-i386
|
|
|
|
|
RELEASE_CLANG38_IA32_DLINK2_FLAGS = DEF(GCC5_IA32_DLINK2_FLAGS) -O3
|
|
|
|
|
|
|
|
|
|
NOOPT_CLANG38_IA32_CC_FLAGS = DEF(CLANG38_ALL_CC_FLAGS) -m32 -O0 -march=i586 DEF(CLANG38_IA32_TARGET) -g
|
|
|
|
|
NOOPT_CLANG38_IA32_DLINK_FLAGS = DEF(GCC5_IA32_X64_DLINK_FLAGS) -Wl,-O0 -Wl,-melf_i386 -Wl,--oformat=elf32-i386
|
|
|
|
|
NOOPT_CLANG38_IA32_DLINK2_FLAGS = DEF(GCC5_IA32_DLINK2_FLAGS) -O0
|
|
|
|
|
|
2016-08-03 11:43:04 +02:00
|
|
|
|
##########################
|
|
|
|
|
# CLANG38 X64 definitions
|
|
|
|
|
##########################
|
|
|
|
|
*_CLANG38_X64_OBJCOPY_PATH = objcopy
|
|
|
|
|
*_CLANG38_X64_CC_PATH = DEF(CLANG38_X64_PREFIX)clang
|
|
|
|
|
*_CLANG38_X64_SLINK_PATH = DEF(CLANG38_X64_PREFIX)llvm-ar
|
|
|
|
|
*_CLANG38_X64_DLINK_PATH = DEF(CLANG38_X64_PREFIX)clang
|
|
|
|
|
*_CLANG38_X64_ASLDLINK_PATH = DEF(CLANG38_X64_PREFIX)clang
|
|
|
|
|
*_CLANG38_X64_ASM_PATH = DEF(CLANG38_X64_PREFIX)clang
|
|
|
|
|
*_CLANG38_X64_PP_PATH = DEF(CLANG38_X64_PREFIX)clang
|
|
|
|
|
*_CLANG38_X64_VFRPP_PATH = DEF(CLANG38_X64_PREFIX)clang
|
|
|
|
|
*_CLANG38_X64_ASLCC_PATH = DEF(CLANG38_X64_PREFIX)clang
|
|
|
|
|
*_CLANG38_X64_ASLPP_PATH = DEF(CLANG38_X64_PREFIX)clang
|
|
|
|
|
*_CLANG38_X64_RC_PATH = objcopy
|
|
|
|
|
|
|
|
|
|
*_CLANG38_X64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m64 -fno-lto DEF(CLANG38_X64_TARGET)
|
|
|
|
|
*_CLANG38_X64_ASLDLINK_FLAGS = DEF(GCC5_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64
|
|
|
|
|
*_CLANG38_X64_ASM_FLAGS = DEF(GCC5_ASM_FLAGS) -m64 DEF(CLANG38_X64_TARGET)
|
|
|
|
|
*_CLANG38_X64_RC_FLAGS = DEF(GCC_X64_RC_FLAGS)
|
|
|
|
|
*_CLANG38_X64_OBJCOPY_FLAGS =
|
|
|
|
|
*_CLANG38_X64_NASM_FLAGS = -f elf64
|
|
|
|
|
*_CLANG38_X64_PP_FLAGS = DEF(GCC_PP_FLAGS) DEF(CLANG38_X64_TARGET)
|
|
|
|
|
*_CLANG38_X64_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS) DEF(CLANG38_X64_TARGET)
|
|
|
|
|
*_CLANG38_X64_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS) DEF(CLANG38_X64_TARGET)
|
|
|
|
|
|
2017-02-09 07:09:02 +01:00
|
|
|
|
DEBUG_CLANG38_X64_CC_FLAGS = DEF(CLANG38_ALL_CC_FLAGS) -m64 "-DEFIAPI=__attribute__((ms_abi))" -mno-red-zone -mcmodel=small -fpie -Oz -flto DEF(CLANG38_X64_TARGET) -g
|
|
|
|
|
DEBUG_CLANG38_X64_DLINK_FLAGS = DEF(GCC5_IA32_X64_DLINK_FLAGS) -flto -Wl,-Oz -Wl,-melf_x86_64 -Wl,--oformat=elf64-x86-64 -Wl,-pie -mcmodel=small
|
|
|
|
|
DEBUG_CLANG38_X64_DLINK2_FLAGS = DEF(GCC5_X64_DLINK2_FLAGS) -O3
|
|
|
|
|
|
|
|
|
|
RELEASE_CLANG38_X64_CC_FLAGS = DEF(CLANG38_ALL_CC_FLAGS) -m64 "-DEFIAPI=__attribute__((ms_abi))" -mno-red-zone -mcmodel=small -fpie -Oz -flto DEF(CLANG38_X64_TARGET)
|
|
|
|
|
RELEASE_CLANG38_X64_DLINK_FLAGS = DEF(GCC5_IA32_X64_DLINK_FLAGS) -flto -Wl,-Oz -Wl,-melf_x86_64 -Wl,--oformat=elf64-x86-64 -Wl,-pie -mcmodel=small
|
|
|
|
|
RELEASE_CLANG38_X64_DLINK2_FLAGS = DEF(GCC5_X64_DLINK2_FLAGS) -O3
|
|
|
|
|
|
|
|
|
|
NOOPT_CLANG38_X64_CC_FLAGS = DEF(CLANG38_ALL_CC_FLAGS) -m64 "-DEFIAPI=__attribute__((ms_abi))" -mno-red-zone -mcmodel=small -fpie -O0 DEF(CLANG38_X64_TARGET) -g
|
|
|
|
|
NOOPT_CLANG38_X64_DLINK_FLAGS = DEF(GCC5_IA32_X64_DLINK_FLAGS) -Wl,-O0 -Wl,-melf_x86_64 -Wl,--oformat=elf64-x86-64 -Wl,-pie -mcmodel=small
|
|
|
|
|
NOOPT_CLANG38_X64_DLINK2_FLAGS = DEF(GCC5_X64_DLINK2_FLAGS) -O0
|
|
|
|
|
|
2017-12-06 12:30:05 +01:00
|
|
|
|
##################
|
|
|
|
|
# CLANG38 ARM definitions
|
|
|
|
|
##################
|
BaseTools/tools_def ARM: use softfloat target for CLANG3x
The 'arm-linux-gnueabihf' target triplet we use for CLANG35 and
CLANG38 specifies a hardfloat target, and so the binaries that are
emitted are annotated as using VFP registers for passing floating
point arguments, even though no VFP is used anywhere in the code.
This works fine as long as we don't try to link against code
that uses software floating point, but combining object files
with different floating point calling conventions is not permitted.
So switch to the softfloat arm-linux-gnueabi triplet instead.
This affects both the name Clang uses when invoking the linker,
and the arguments it passes to it, and we are mostly interested
in the latter (since any version of GNU ld.bfd will do the right
thing as long as it targets EABI ARM)
For native builds, this change has no effect, since the unprefixed
system linker will take priority, and so Clang will pass the right
arguments to whichever linker happens to be the system linker.
For cross builds, the fact that Clang composes the name of the
linker by prefixing '-ld' with the target triplet implies that
users will have to switch to a version of binutils that targets
arm-linux-gnueabi rather than arm-linux-gnueabihf. Note that the
GCCx toolchain targets can use either when building for ARM so this
does not create a need to install two versions of the ARM cross
toolchain. Also, note that all ARM toolchains in the GCC family
are already documented as requiring a toolchain that targets
arm-linux-gnueabi and not arm-linux-gnueabihf.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2018-12-19 15:50:23 +01:00
|
|
|
|
DEFINE CLANG38_ARM_TARGET = -target arm-linux-gnueabi
|
2017-12-06 12:30:05 +01:00
|
|
|
|
DEFINE CLANG38_ARM_CC_FLAGS = DEF(GCC_ARM_CC_FLAGS) DEF(CLANG38_ARM_TARGET) DEF(CLANG38_WARNING_OVERRIDES) -mno-movt
|
|
|
|
|
DEFINE CLANG38_ARM_DLINK_FLAGS = DEF(CLANG38_ARM_TARGET) DEF(GCC_ARM_DLINK_FLAGS)
|
|
|
|
|
|
|
|
|
|
*_CLANG38_ARM_PP_FLAGS = DEF(GCC_PP_FLAGS)
|
|
|
|
|
*_CLANG38_ARM_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
|
|
|
|
|
*_CLANG38_ARM_APP_FLAGS =
|
|
|
|
|
*_CLANG38_ARM_ASL_FLAGS = DEF(IASL_FLAGS)
|
|
|
|
|
*_CLANG38_ARM_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
|
|
|
|
|
*_CLANG38_ARM_DTCPP_FLAGS = DEF(GCC_DTCPP_FLAGS)
|
|
|
|
|
|
|
|
|
|
*_CLANG38_ARM_CC_PATH = ENV(CLANG38_BIN)clang
|
|
|
|
|
*_CLANG38_ARM_ASM_PATH = ENV(CLANG38_BIN)clang
|
|
|
|
|
*_CLANG38_ARM_PP_PATH = ENV(CLANG38_BIN)clang
|
|
|
|
|
*_CLANG38_ARM_VFRPP_PATH = ENV(CLANG38_BIN)clang
|
|
|
|
|
*_CLANG38_ARM_ASLCC_PATH = ENV(CLANG38_BIN)clang
|
|
|
|
|
*_CLANG38_ARM_ASLPP_PATH = ENV(CLANG38_BIN)clang
|
|
|
|
|
*_CLANG38_ARM_DLINK_PATH = ENV(CLANG38_BIN)clang
|
|
|
|
|
*_CLANG38_ARM_ASLDLINK_PATH = ENV(CLANG38_BIN)clang
|
|
|
|
|
|
|
|
|
|
*_CLANG38_ARM_SLINK_PATH = ENV(CLANG38_BIN)llvm-ar
|
|
|
|
|
*_CLANG38_ARM_RC_PATH = ENV(CLANG38_ARM_PREFIX)objcopy
|
|
|
|
|
|
|
|
|
|
*_CLANG38_ARM_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -fno-lto
|
|
|
|
|
*_CLANG38_ARM_ASLDLINK_FLAGS = DEF(CLANG38_ARM_TARGET) DEF(GCC_ARM_ASLDLINK_FLAGS)
|
|
|
|
|
*_CLANG38_ARM_ASM_FLAGS = DEF(GCC_ASM_FLAGS) DEF(CLANG38_ARM_TARGET) $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -Qunused-arguments
|
|
|
|
|
*_CLANG38_ARM_DLINK2_FLAGS = DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--defsym=PECOFF_HEADER_SIZE=0x220
|
|
|
|
|
*_CLANG38_ARM_PLATFORM_FLAGS = -march=armv7-a
|
|
|
|
|
*_CLANG38_ARM_PP_FLAGS = DEF(GCC_PP_FLAGS) DEF(CLANG38_ARM_TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)
|
|
|
|
|
*_CLANG38_ARM_RC_FLAGS = DEF(GCC_ARM_RC_FLAGS)
|
|
|
|
|
*_CLANG38_ARM_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS) DEF(CLANG38_ARM_TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)
|
|
|
|
|
*_CLANG38_ARM_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS) DEF(CLANG38_ARM_TARGET)
|
|
|
|
|
*_CLANG38_ARM_CC_XIPFLAGS = DEF(GCC_ARM_CC_XIPFLAGS)
|
|
|
|
|
|
|
|
|
|
DEBUG_CLANG38_ARM_CC_FLAGS = DEF(CLANG38_ARM_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -flto -O1
|
|
|
|
|
DEBUG_CLANG38_ARM_DLINK_FLAGS = DEF(CLANG38_ARM_DLINK_FLAGS) -flto -Wl,-O1 -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-arm -Wl,-plugin-opt=-pass-through=-llto-arm
|
|
|
|
|
NOOPT_CLANG38_ARM_CC_FLAGS = DEF(CLANG38_ARM_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -O0
|
|
|
|
|
NOOPT_CLANG38_ARM_DLINK_FLAGS = DEF(CLANG38_ARM_DLINK_FLAGS)
|
|
|
|
|
RELEASE_CLANG38_ARM_CC_FLAGS = DEF(CLANG38_ARM_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -flto -O3
|
|
|
|
|
RELEASE_CLANG38_ARM_DLINK_FLAGS = DEF(CLANG38_ARM_DLINK_FLAGS) -flto -Wl,-O3 -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-arm -Wl,-plugin-opt=-pass-through=-llto-arm
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# CLANG38 AARCH64 definitions
|
|
|
|
|
##################
|
|
|
|
|
DEFINE CLANG38_AARCH64_TARGET = -target aarch64-linux-gnu
|
|
|
|
|
DEFINE CLANG38_AARCH64_CC_FLAGS = DEF(GCC_AARCH64_CC_FLAGS) DEF(CLANG38_AARCH64_TARGET) -mcmodel=small DEF(CLANG38_WARNING_OVERRIDES)
|
|
|
|
|
DEFINE CLANG38_AARCH64_DLINK_FLAGS = DEF(CLANG38_AARCH64_TARGET) DEF(GCC_AARCH64_DLINK_FLAGS) -z common-page-size=0x1000
|
|
|
|
|
|
|
|
|
|
*_CLANG38_AARCH64_PP_FLAGS = DEF(GCC_PP_FLAGS)
|
|
|
|
|
*_CLANG38_AARCH64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS)
|
|
|
|
|
*_CLANG38_AARCH64_APP_FLAGS =
|
|
|
|
|
*_CLANG38_AARCH64_ASL_FLAGS = DEF(IASL_FLAGS)
|
|
|
|
|
*_CLANG38_AARCH64_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
|
|
|
|
|
*_CLANG38_AARCH64_DTCPP_FLAGS = DEF(GCC_DTCPP_FLAGS)
|
|
|
|
|
|
|
|
|
|
*_CLANG38_AARCH64_CC_PATH = ENV(CLANG38_BIN)clang
|
|
|
|
|
*_CLANG38_AARCH64_ASM_PATH = ENV(CLANG38_BIN)clang
|
|
|
|
|
*_CLANG38_AARCH64_PP_PATH = ENV(CLANG38_BIN)clang
|
|
|
|
|
*_CLANG38_AARCH64_VFRPP_PATH = ENV(CLANG38_BIN)clang
|
|
|
|
|
*_CLANG38_AARCH64_ASLCC_PATH = ENV(CLANG38_BIN)clang
|
|
|
|
|
*_CLANG38_AARCH64_ASLPP_PATH = ENV(CLANG38_BIN)clang
|
|
|
|
|
*_CLANG38_AARCH64_DLINK_PATH = ENV(CLANG38_BIN)clang
|
|
|
|
|
*_CLANG38_AARCH64_ASLDLINK_PATH = ENV(CLANG38_BIN)clang
|
|
|
|
|
|
|
|
|
|
*_CLANG38_AARCH64_SLINK_PATH = ENV(CLANG38_BIN)llvm-ar
|
|
|
|
|
*_CLANG38_AARCH64_RC_PATH = ENV(CLANG38_AARCH64_PREFIX)objcopy
|
|
|
|
|
|
|
|
|
|
*_CLANG38_AARCH64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -fno-lto
|
|
|
|
|
*_CLANG38_AARCH64_ASLDLINK_FLAGS = DEF(CLANG38_AARCH64_TARGET) DEF(GCC_AARCH64_ASLDLINK_FLAGS)
|
|
|
|
|
*_CLANG38_AARCH64_ASM_FLAGS = DEF(GCC_ASM_FLAGS) DEF(CLANG38_AARCH64_TARGET) $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -Qunused-arguments
|
|
|
|
|
*_CLANG38_AARCH64_DLINK_FLAGS = DEF(CLANG38_AARCH64_TARGET) DEF(GCC_AARCH64_DLINK_FLAGS) -z common-page-size=0x1000
|
|
|
|
|
*_CLANG38_AARCH64_DLINK_XIPFLAGS = -z common-page-size=0x20
|
|
|
|
|
*_CLANG38_AARCH64_DLINK2_FLAGS = DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--defsym=PECOFF_HEADER_SIZE=0x228
|
|
|
|
|
*_CLANG38_AARCH64_PLATFORM_FLAGS =
|
|
|
|
|
*_CLANG38_AARCH64_PP_FLAGS = DEF(GCC_PP_FLAGS) DEF(CLANG38_AARCH64_TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)
|
|
|
|
|
*_CLANG38_AARCH64_RC_FLAGS = DEF(GCC_AARCH64_RC_FLAGS)
|
|
|
|
|
*_CLANG38_AARCH64_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS) DEF(CLANG38_AARCH64_TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)
|
|
|
|
|
*_CLANG38_AARCH64_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS) DEF(CLANG38_AARCH64_TARGET)
|
|
|
|
|
*_CLANG38_AARCH64_CC_XIPFLAGS = DEF(GCC_AARCH64_CC_XIPFLAGS)
|
|
|
|
|
|
|
|
|
|
DEBUG_CLANG38_AARCH64_CC_FLAGS = DEF(CLANG38_AARCH64_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -flto -O1
|
|
|
|
|
DEBUG_CLANG38_AARCH64_DLINK_FLAGS = DEF(CLANG38_AARCH64_DLINK_FLAGS) -flto -Wl,-O1 -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-aarch64 -Wl,-plugin-opt=-pass-through=-llto-aarch64
|
|
|
|
|
NOOPT_CLANG38_AARCH64_CC_FLAGS = DEF(CLANG38_AARCH64_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -O0
|
|
|
|
|
NOOPT_CLANG38_AARCH64_DLINK_FLAGS = DEF(CLANG38_AARCH64_DLINK_FLAGS)
|
|
|
|
|
RELEASE_CLANG38_AARCH64_CC_FLAGS = DEF(CLANG38_AARCH64_CC_FLAGS) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -flto -O3
|
|
|
|
|
RELEASE_CLANG38_AARCH64_DLINK_FLAGS = DEF(CLANG38_AARCH64_DLINK_FLAGS) -flto -Wl,-O3 -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-aarch64 -Wl,-plugin-opt=-pass-through=-llto-aarch64
|
|
|
|
|
|
2019-10-17 08:55:46 +02:00
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
2019-11-14 09:00:53 +01:00
|
|
|
|
# CLANGPDB - This configuration is used to compile under Windows/Linux/Mac to produce
|
2019-10-17 08:55:46 +02:00
|
|
|
|
# PE/COFF binaries using LLVM/Clang/LLD with Link Time Optimization enabled
|
|
|
|
|
#
|
|
|
|
|
####################################################################################
|
2019-11-14 09:00:53 +01:00
|
|
|
|
*_CLANGPDB_*_*_FAMILY = GCC
|
|
|
|
|
*_CLANGPDB_*_*_BUILDRULEFAMILY = CLANGPDB
|
|
|
|
|
*_CLANGPDB_*_MAKE_PATH = ENV(CLANG_HOST_BIN)make
|
|
|
|
|
*_CLANGPDB_*_*_DLL = ENV(CLANGPDB_DLL)
|
|
|
|
|
*_CLANGPDB_*_ASL_PATH = DEF(UNIX_IASL_BIN)
|
2019-10-17 08:55:46 +02:00
|
|
|
|
|
2019-11-14 09:00:53 +01:00
|
|
|
|
*_CLANGPDB_*_APP_FLAGS =
|
|
|
|
|
*_CLANGPDB_*_ASL_FLAGS = DEF(DEFAULT_WIN_ASL_FLAGS)
|
|
|
|
|
*_CLANGPDB_*_ASL_OUTFLAGS = DEF(DEFAULT_WIN_ASL_OUTFLAGS)
|
|
|
|
|
*_CLANGPDB_*_ASLDLINK_FLAGS = DEF(MSFT_ASLDLINK_FLAGS)
|
2019-12-02 09:24:19 +01:00
|
|
|
|
*_CLANGPDB_*_DEPS_FLAGS = DEF(GCC_DEPS_FLAGS)
|
2019-10-17 08:55:46 +02:00
|
|
|
|
|
2019-11-14 09:00:53 +01:00
|
|
|
|
DEFINE CLANGPDB_IA32_PREFIX = ENV(CLANG_BIN)
|
|
|
|
|
DEFINE CLANGPDB_X64_PREFIX = ENV(CLANG_BIN)
|
2019-10-17 08:55:46 +02:00
|
|
|
|
|
2019-11-14 09:00:53 +01:00
|
|
|
|
DEFINE CLANGPDB_IA32_TARGET = -target i686-unknown-windows
|
|
|
|
|
DEFINE CLANGPDB_X64_TARGET = -target x86_64-unknown-windows
|
2019-10-17 08:55:46 +02:00
|
|
|
|
|
2019-11-14 09:00:53 +01:00
|
|
|
|
DEFINE CLANGPDB_WARNING_OVERRIDES = -Wno-parentheses-equality -Wno-tautological-compare -Wno-tautological-constant-out-of-range-compare -Wno-empty-body -Wno-unused-const-variable -Wno-varargs -Wno-unknown-warning-option -Wno-microsoft-enum-forward-reference
|
|
|
|
|
DEFINE CLANGPDB_ALL_CC_FLAGS = DEF(GCC48_ALL_CC_FLAGS) DEF(CLANGPDB_WARNING_OVERRIDES) -fno-stack-protector -mms-bitfields -Wno-address -Wno-shift-negative-value -Wno-unknown-pragmas -Wno-incompatible-library-redeclaration -fno-asynchronous-unwind-tables -mno-implicit-float -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -funsigned-char -fno-ms-extensions -Wno-null-dereference -fms-compatibility -mno-stack-arg-probe
|
2019-10-17 08:55:46 +02:00
|
|
|
|
|
|
|
|
|
###########################
|
2019-11-14 09:00:53 +01:00
|
|
|
|
# CLANGPDB IA32 definitions
|
2019-10-17 08:55:46 +02:00
|
|
|
|
###########################
|
2019-11-14 09:00:53 +01:00
|
|
|
|
*_CLANGPDB_IA32_CC_PATH = DEF(CLANGPDB_IA32_PREFIX)clang
|
|
|
|
|
*_CLANGPDB_IA32_SLINK_PATH = DEF(CLANGPDB_IA32_PREFIX)llvm-lib
|
|
|
|
|
*_CLANGPDB_IA32_DLINK_PATH = DEF(CLANGPDB_IA32_PREFIX)lld-link
|
|
|
|
|
*_CLANGPDB_IA32_ASLDLINK_PATH = DEF(CLANGPDB_IA32_PREFIX)lld-link
|
|
|
|
|
*_CLANGPDB_IA32_ASM_PATH = DEF(CLANGPDB_IA32_PREFIX)clang
|
|
|
|
|
*_CLANGPDB_IA32_PP_PATH = DEF(CLANGPDB_IA32_PREFIX)clang
|
|
|
|
|
*_CLANGPDB_IA32_VFRPP_PATH = DEF(CLANGPDB_IA32_PREFIX)clang
|
|
|
|
|
*_CLANGPDB_IA32_ASLCC_PATH = DEF(CLANGPDB_IA32_PREFIX)clang
|
|
|
|
|
*_CLANGPDB_IA32_ASLPP_PATH = DEF(CLANGPDB_IA32_PREFIX)clang
|
|
|
|
|
*_CLANGPDB_IA32_RC_PATH = DEF(CLANGPDB_IA32_PREFIX)llvm-rc
|
|
|
|
|
|
|
|
|
|
*_CLANGPDB_IA32_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m32 -fno-lto DEF(CLANGPDB_IA32_TARGET)
|
|
|
|
|
*_CLANGPDB_IA32_ASM_FLAGS = DEF(GCC_ASM_FLAGS) -m32 -march=i386 DEF(CLANGPDB_IA32_TARGET)
|
|
|
|
|
*_CLANGPDB_IA32_OBJCOPY_FLAGS =
|
|
|
|
|
*_CLANGPDB_IA32_NASM_FLAGS = -f win32
|
|
|
|
|
*_CLANGPDB_IA32_PP_FLAGS = DEF(GCC_PP_FLAGS) DEF(CLANGPDB_IA32_TARGET)
|
|
|
|
|
*_CLANGPDB_IA32_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS) DEF(CLANGPDB_IA32_TARGET)
|
|
|
|
|
*_CLANGPDB_IA32_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS) DEF(CLANGPDB_IA32_TARGET)
|
|
|
|
|
|
|
|
|
|
DEBUG_CLANGPDB_IA32_CC_FLAGS = DEF(CLANGPDB_ALL_CC_FLAGS) -m32 -Oz -flto -march=i586 DEF(CLANGPDB_IA32_TARGET) -gcodeview
|
|
|
|
|
DEBUG_CLANGPDB_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /ALIGN:32 /FILEALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DEBUG:GHASH /lldmap
|
|
|
|
|
DEBUG_CLANGPDB_IA32_DLINK2_FLAGS =
|
|
|
|
|
|
|
|
|
|
RELEASE_CLANGPDB_IA32_CC_FLAGS = DEF(CLANGPDB_ALL_CC_FLAGS) -m32 -Oz -flto -march=i586 DEF(CLANGPDB_IA32_TARGET)
|
|
|
|
|
RELEASE_CLANGPDB_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /ALIGN:32 /FILEALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /MERGE:.rdata=.data /lldmap
|
|
|
|
|
RELEASE_CLANGPDB_IA32_DLINK2_FLAGS =
|
|
|
|
|
|
|
|
|
|
NOOPT_CLANGPDB_IA32_CC_FLAGS = DEF(CLANGPDB_ALL_CC_FLAGS) -m32 -O0 -march=i586 DEF(CLANGPDB_IA32_TARGET) -gcodeview
|
|
|
|
|
NOOPT_CLANGPDB_IA32_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /ALIGN:32 /FILEALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /MACHINE:X86 /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DEBUG:GHASH /lldmap
|
|
|
|
|
NOOPT_CLANGPDB_IA32_DLINK2_FLAGS =
|
2019-10-17 08:55:46 +02:00
|
|
|
|
|
|
|
|
|
##########################
|
|
|
|
|
# CLANGWIN X64 definitions
|
|
|
|
|
##########################
|
2019-11-14 09:00:53 +01:00
|
|
|
|
*_CLANGPDB_X64_CC_PATH = DEF(CLANGPDB_X64_PREFIX)clang
|
|
|
|
|
*_CLANGPDB_X64_SLINK_PATH = DEF(CLANGPDB_X64_PREFIX)llvm-lib
|
|
|
|
|
*_CLANGPDB_X64_DLINK_PATH = DEF(CLANGPDB_X64_PREFIX)lld-link
|
|
|
|
|
*_CLANGPDB_X64_ASLDLINK_PATH = DEF(CLANGPDB_X64_PREFIX)lld-link
|
|
|
|
|
*_CLANGPDB_X64_ASM_PATH = DEF(CLANGPDB_X64_PREFIX)clang
|
|
|
|
|
*_CLANGPDB_X64_PP_PATH = DEF(CLANGPDB_X64_PREFIX)clang
|
|
|
|
|
*_CLANGPDB_X64_VFRPP_PATH = DEF(CLANGPDB_X64_PREFIX)clang
|
|
|
|
|
*_CLANGPDB_X64_ASLCC_PATH = DEF(CLANGPDB_X64_PREFIX)clang
|
|
|
|
|
*_CLANGPDB_X64_ASLPP_PATH = DEF(CLANGPDB_X64_PREFIX)clang
|
|
|
|
|
*_CLANGPDB_X64_RC_PATH = DEF(CLANGPDB_IA32_PREFIX)llvm-rc
|
|
|
|
|
|
|
|
|
|
*_CLANGPDB_X64_ASLCC_FLAGS = DEF(GCC_ASLCC_FLAGS) -m64 -fno-lto DEF(CLANGPDB_X64_TARGET)
|
|
|
|
|
*_CLANGPDB_X64_ASM_FLAGS = DEF(GCC_ASM_FLAGS) -m64 DEF(CLANGPDB_X64_TARGET)
|
|
|
|
|
*_CLANGPDB_X64_OBJCOPY_FLAGS =
|
|
|
|
|
*_CLANGPDB_X64_NASM_FLAGS = -f win64
|
|
|
|
|
*_CLANGPDB_X64_PP_FLAGS = DEF(GCC_PP_FLAGS) DEF(CLANGPDB_X64_TARGET)
|
|
|
|
|
*_CLANGPDB_X64_ASLPP_FLAGS = DEF(GCC_ASLPP_FLAGS) DEF(CLANGPDB_X64_TARGET)
|
|
|
|
|
*_CLANGPDB_X64_VFRPP_FLAGS = DEF(GCC_VFRPP_FLAGS) DEF(CLANGPDB_X64_TARGET)
|
|
|
|
|
|
|
|
|
|
DEBUG_CLANGPDB_X64_CC_FLAGS = DEF(CLANGPDB_ALL_CC_FLAGS) -m64 "-DEFIAPI=__attribute__((ms_abi))" -mno-red-zone -mcmodel=small -Oz -flto DEF(CLANGPDB_X64_TARGET) -gcodeview
|
|
|
|
|
DEBUG_CLANGPDB_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /ALIGN:32 /FILEALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DEBUG:GHASH /lldmap
|
|
|
|
|
DEBUG_CLANGPDB_X64_DLINK2_FLAGS =
|
|
|
|
|
|
|
|
|
|
RELEASE_CLANGPDB_X64_CC_FLAGS = DEF(CLANGPDB_ALL_CC_FLAGS) -m64 "-DEFIAPI=__attribute__((ms_abi))" -mno-red-zone -mcmodel=small -Oz -flto DEF(CLANGPDB_X64_TARGET)
|
|
|
|
|
RELEASE_CLANGPDB_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IGNORE:4254 /OPT:REF /OPT:ICF=10 /ALIGN:32 /FILEALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /MERGE:.rdata=.data /lldmap
|
|
|
|
|
RELEASE_CLANGPDB_X64_DLINK2_FLAGS =
|
|
|
|
|
|
|
|
|
|
NOOPT_CLANGPDB_X64_CC_FLAGS = DEF(CLANGPDB_ALL_CC_FLAGS) -m64 "-DEFIAPI=__attribute__((ms_abi))" -mno-red-zone -mcmodel=small -O0 DEF(CLANGPDB_X64_TARGET) -gcodeview
|
|
|
|
|
NOOPT_CLANGPDB_X64_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /ALIGN:32 /FILEALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machine:X64 /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DEBUG:GHASH /lldmap
|
|
|
|
|
NOOPT_CLANGPDB_X64_DLINK2_FLAGS =
|
2007-10-17 03:54:36 +02:00
|
|
|
|
|
2010-07-21 04:46:15 +02:00
|
|
|
|
|
2010-06-28 11:33:10 +02:00
|
|
|
|
#
|
2014-08-29 20:29:46 +02:00
|
|
|
|
#
|
|
|
|
|
# XCODE5 support
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
*_XCODE5_*_*_FAMILY = GCC
|
|
|
|
|
*_XCODE5_*_*_BUILDRULEFAMILY = XCODE
|
|
|
|
|
|
2017-05-16 20:59:52 +02:00
|
|
|
|
#
|
|
|
|
|
# use xcode-select to change Xcode version of command line tools
|
|
|
|
|
#
|
|
|
|
|
*_XCODE5_*_MAKE_PATH = make
|
|
|
|
|
*_XCODE5_*_CC_PATH = clang
|
|
|
|
|
*_XCODE5_*_SLINK_PATH = libtool
|
|
|
|
|
*_XCODE5_*_DLINK_PATH = ld
|
|
|
|
|
*_XCODE5_*_ASM_PATH = as
|
|
|
|
|
*_XCODE5_*_PP_PATH = clang
|
|
|
|
|
*_XCODE5_*_VFRPP_PATH = clang
|
|
|
|
|
*_XCODE5_*_ASL_PATH = iasl
|
|
|
|
|
*_XCODE5_*_ASLCC_PATH = clang
|
|
|
|
|
*_XCODE5_*_ASLPP_PATH = clang
|
|
|
|
|
*_XCODE5_*_ASLDLINK_PATH = ld
|
|
|
|
|
*_XCODE5_*_DSYMUTIL_PATH = /usr/bin/dsymutil
|
|
|
|
|
*_XCODE5_*_MTOC_PATH = /usr/local/bin/mtoc
|
2019-12-02 09:24:19 +01:00
|
|
|
|
*_XCODE5_*_DEPS_FLAGS = DEF(GCC_DEPS_FLAGS)
|
2014-08-29 20:29:46 +02:00
|
|
|
|
|
2017-05-16 20:59:52 +02:00
|
|
|
|
##################
|
|
|
|
|
# ASL definitions
|
|
|
|
|
##################
|
|
|
|
|
*_XCODE5_*_ASLCC_FLAGS = -x c -save-temps -g -O0 -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -c -include AutoGen.h
|
|
|
|
|
*_XCODE5_*_ASLDLINK_FLAGS = -e _ReferenceAcpiTable -preload -segalign 0x20 -pie -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
|
|
|
|
|
*_XCODE5_*_ASLPP_FLAGS = -x c -E -include AutoGen.h
|
|
|
|
|
*_XCODE5_*_ASL_FLAGS =
|
|
|
|
|
*_XCODE5_*_ASL_OUTFLAGS = DEF(IASL_OUTFLAGS)
|
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# MTOC definitions
|
|
|
|
|
##################
|
2014-08-29 20:29:46 +02:00
|
|
|
|
|
|
|
|
|
DEBUG_XCODE5_*_MTOC_FLAGS = -align 0x20 -d $(DEBUG_DIR)/$(MODULE_NAME).dll
|
|
|
|
|
NOOPT_XCODE5_*_MTOC_FLAGS = -align 0x20 -d $(DEBUG_DIR)/$(MODULE_NAME).dll
|
2019-01-02 22:29:43 +01:00
|
|
|
|
RELEASE_XCODE5_*_MTOC_FLAGS = -align 0x20
|
2014-08-29 20:29:46 +02:00
|
|
|
|
|
|
|
|
|
####################
|
|
|
|
|
# IA-32 definitions
|
|
|
|
|
####################
|
|
|
|
|
DEBUG_XCODE5_IA32_DLINK_FLAGS = -arch i386 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
|
|
|
|
|
NOOPT_XCODE5_IA32_DLINK_FLAGS = -arch i386 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
|
|
|
|
|
RELEASE_XCODE5_IA32_DLINK_FLAGS = -arch i386 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
|
|
|
|
|
|
|
|
|
|
*_XCODE5_IA32_SLINK_FLAGS = -static -o
|
|
|
|
|
DEBUG_XCODE5_IA32_ASM_FLAGS = -arch i386 -g
|
|
|
|
|
NOOPT_XCODE5_IA32_ASM_FLAGS = -arch i386 -g
|
2019-01-02 22:29:43 +01:00
|
|
|
|
RELEASE_XCODE5_IA32_ASM_FLAGS = -arch i386
|
2014-09-10 18:48:59 +02:00
|
|
|
|
*_XCODE5_IA32_NASM_FLAGS = -f macho32
|
2014-08-29 20:29:46 +02:00
|
|
|
|
|
|
|
|
|
|
2017-12-08 15:49:02 +01:00
|
|
|
|
DEBUG_XCODE5_IA32_CC_FLAGS = -arch i386 -c -g -Os -Wall -Werror -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin -fshort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float -mms-bitfields -msoft-float -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_FLAGS)
|
2018-01-10 16:24:26 +01:00
|
|
|
|
RELEASE_XCODE5_IA32_CC_FLAGS = -arch i386 -c -Os -Wall -Werror -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin -fshort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float -mms-bitfields -msoft-float -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -Wno-unused-const-variable -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_FLAGS)
|
2017-12-08 15:49:02 +01:00
|
|
|
|
NOOPT_XCODE5_IA32_CC_FLAGS = -arch i386 -c -g -O0 -Wall -Werror -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin -fshort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float -mms-bitfields -msoft-float -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_FLAGS)
|
2014-08-29 20:29:46 +02:00
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# X64 definitions
|
|
|
|
|
##################
|
|
|
|
|
DEBUG_XCODE5_X64_DLINK_FLAGS = -arch x86_64 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x240 -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
|
|
|
|
|
NOOPT_XCODE5_X64_DLINK_FLAGS = -arch x86_64 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x240 -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
|
|
|
|
|
RELEASE_XCODE5_X64_DLINK_FLAGS = -arch x86_64 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x240 -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map
|
|
|
|
|
|
|
|
|
|
*_XCODE5_X64_SLINK_FLAGS = -static -o
|
|
|
|
|
DEBUG_XCODE5_X64_ASM_FLAGS = -arch x86_64 -g
|
|
|
|
|
NOOPT_XCODE5_X64_ASM_FLAGS = -arch x86_64 -g
|
2019-01-02 22:29:43 +01:00
|
|
|
|
RELEASE_XCODE5_X64_ASM_FLAGS = -arch x86_64
|
2014-09-10 18:48:59 +02:00
|
|
|
|
*_XCODE5_X64_NASM_FLAGS = -f macho64
|
2019-10-17 08:55:45 +02:00
|
|
|
|
*_XCODE5_*_PP_FLAGS = -E -x assembler-with-cpp -include AutoGen.h
|
|
|
|
|
*_XCODE5_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE -include $(MODULE_NAME)StrDefs.h
|
2014-08-29 20:29:46 +02:00
|
|
|
|
|
2019-08-15 22:11:59 +02:00
|
|
|
|
DEBUG_XCODE5_X64_CC_FLAGS = -target x86_64-pc-win32-macho -c -g -gdwarf -Os -Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mno-implicit-float -mms-bitfields -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -D NO_MSABI_VA_FUNCS $(PLATFORM_FLAGS)
|
|
|
|
|
NOOPT_XCODE5_X64_CC_FLAGS = -target x86_64-pc-win32-macho -c -g -gdwarf -O0 -Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mno-implicit-float -mms-bitfields -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -D NO_MSABI_VA_FUNCS $(PLATFORM_FLAGS)
|
2018-01-10 16:24:26 +01:00
|
|
|
|
RELEASE_XCODE5_X64_CC_FLAGS = -target x86_64-pc-win32-macho -c -Os -Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mno-implicit-float -mms-bitfields -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -Wno-unused-const-variable -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -D NO_MSABI_VA_FUNCS $(PLATFORM_FLAGS)
|
2014-08-29 20:29:46 +02:00
|
|
|
|
|
2011-10-11 04:49:48 +02:00
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
|
|
|
|
# RVCT Common
|
|
|
|
|
#
|
|
|
|
|
####################################################################################
|
|
|
|
|
|
2013-08-23 04:18:16 +02:00
|
|
|
|
DEFINE RVCT_ALL_ASM_FLAGS = --diag_suppress=1786 --diag_error=warning --apcs /interwork
|
2016-08-11 20:11:30 +02:00
|
|
|
|
DEFINE RVCT_ALL_CC_FLAGS = --c90 --no_autoinline --asm --gnu --apcs /interwork --signed_chars --no_unaligned_access --split_sections --enum_is_int --preinclude AutoGen.h --diag_suppress=186,188,1,111,68 --diag_warning 167 --diag_error=warning --diag_style=ide --protect_stack
|
2015-12-14 08:55:46 +01:00
|
|
|
|
DEFINE RVCT_ALL_DLINK_FLAGS = --no_scanlib --no_exceptions --datacompressor off --strict --symbols --diag_style=ide --no_legacyalign --scatter $(EDK_TOOLS_PATH)/Scripts/Rvct-Align32.sct
|
2011-05-11 12:26:49 +02:00
|
|
|
|
|
2009-09-11 05:14:43 +02:00
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
2011-10-11 04:49:48 +02:00
|
|
|
|
# ARM RealView Tools - Windows
|
2009-09-11 05:14:43 +02:00
|
|
|
|
#
|
|
|
|
|
####################################################################################
|
2011-10-11 04:49:48 +02:00
|
|
|
|
# RVCT - Tools from ARM
|
2009-09-11 05:14:43 +02:00
|
|
|
|
|
2011-10-11 04:49:48 +02:00
|
|
|
|
*_RVCT_*_*_FAMILY = RVCT
|
2009-09-11 05:14:43 +02:00
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Use default values, or override in DSC file
|
|
|
|
|
#
|
2014-01-27 06:23:15 +01:00
|
|
|
|
*_RVCT_ARM_ARCHCC_FLAGS = --thumb --fpu=softvfp
|
2019-01-02 22:29:43 +01:00
|
|
|
|
*_RVCT_ARM_ARCHASM_FLAGS =
|
|
|
|
|
*_RVCT_ARM_ARCHDLINK_FLAGS =
|
2011-10-11 04:49:48 +02:00
|
|
|
|
*_RVCT_ARM_PLATFORM_FLAGS = --cpu 7-A
|
2009-09-11 05:14:43 +02:00
|
|
|
|
|
2019-01-02 22:29:43 +01:00
|
|
|
|
DEBUG_RVCT_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map
|
|
|
|
|
RELEASE_RVCT_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map
|
2009-09-11 05:14:43 +02:00
|
|
|
|
|
|
|
|
|
|
2013-08-23 04:18:16 +02:00
|
|
|
|
*_RVCT_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_ASM_FLAGS)
|
2015-12-02 17:11:33 +01:00
|
|
|
|
*_RVCT_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E --preinclude AutoGen.h
|
2019-10-17 08:55:45 +02:00
|
|
|
|
*_RVCT_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -DVFRCOMPILE --preinclude $(MODULE_NAME)StrDefs.h
|
2011-10-11 04:49:48 +02:00
|
|
|
|
*_RVCT_ARM_MAKE_PATH = nmake /NOLOGO
|
|
|
|
|
*_RVCT_ARM_SLINK_FLAGS = --partial -o
|
|
|
|
|
DEBUG_RVCT_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O1 -g
|
2013-08-23 04:18:16 +02:00
|
|
|
|
RELEASE_RVCT_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) --diag_suppress=550 DEF(RVCT_ALL_CC_FLAGS) -O2
|
2009-09-11 05:14:43 +02:00
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# ARM definitions
|
|
|
|
|
##################
|
2011-10-11 04:49:48 +02:00
|
|
|
|
*_RVCT_ARM_CC_PATH = ENV(RVCT_TOOLS_PATH)armcc
|
|
|
|
|
*_RVCT_ARM_SLINK_PATH = ENV(RVCT_TOOLS_PATH)armlink
|
|
|
|
|
*_RVCT_ARM_DLINK_PATH = ENV(RVCT_TOOLS_PATH)armlink
|
|
|
|
|
*_RVCT_ARM_ASM_PATH = ENV(RVCT_TOOLS_PATH)armasm
|
|
|
|
|
*_RVCT_ARM_PP_PATH = ENV(RVCT_TOOLS_PATH)armcc
|
|
|
|
|
*_RVCT_ARM_VFRPP_PATH = ENV(RVCT_TOOLS_PATH)armcc
|
|
|
|
|
*_RVCT_ARM_FROMELF_PATH = ENV(RVCT_TOOLS_PATH)fromelf
|
2009-09-11 05:14:43 +02:00
|
|
|
|
|
|
|
|
|
####################################################################################
|
|
|
|
|
#
|
2011-10-11 04:49:48 +02:00
|
|
|
|
# ARM RealView Tools - Linux
|
2009-09-11 05:14:43 +02:00
|
|
|
|
#
|
|
|
|
|
####################################################################################
|
2011-10-11 04:49:48 +02:00
|
|
|
|
# RVCTLINUX - Tools from ARM in a Cygwin environment
|
|
|
|
|
*_RVCTLINUX_*_*_FAMILY = RVCT
|
|
|
|
|
*_RVCTLINUX_*_*_BUILDRULEFAMILY = RVCTLINUX
|
2009-09-11 05:14:43 +02:00
|
|
|
|
|
2013-08-23 04:18:16 +02:00
|
|
|
|
*_RVCTLINUX_*_MAKE_PATH = make
|
|
|
|
|
|
2011-10-11 04:49:48 +02:00
|
|
|
|
#
|
|
|
|
|
# Use default values, or override in DSC file
|
|
|
|
|
#
|
2014-01-27 06:23:15 +01:00
|
|
|
|
*_RVCTLINUX_ARM_ARCHCC_FLAGS = --thumb --fpu=softvfp
|
2019-01-02 22:29:43 +01:00
|
|
|
|
*_RVCTLINUX_ARM_ARCHASM_FLAGS =
|
|
|
|
|
*_RVCTLINUX_ARM_ARCHDLINK_FLAGS =
|
2011-10-11 04:49:48 +02:00
|
|
|
|
*_RVCTLINUX_ARM_PLATFORM_FLAGS = --cpu 7-A
|
2009-09-11 05:14:43 +02:00
|
|
|
|
|
2019-01-02 22:29:43 +01:00
|
|
|
|
DEBUG_RVCTLINUX_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map
|
2011-10-11 04:49:48 +02:00
|
|
|
|
RELEASE_RVCTLINUX_ARM_DLINK_FLAGS = $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list $(DEST_DIR_DEBUG)/$(BASE_NAME).map
|
2009-09-11 05:14:43 +02:00
|
|
|
|
|
2013-08-23 04:18:16 +02:00
|
|
|
|
*_RVCTLINUX_ARM_ASM_FLAGS = $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_ASM_FLAGS)
|
2011-10-11 04:49:48 +02:00
|
|
|
|
*_RVCTLINUX_ARM_PP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E
|
2019-10-17 08:55:45 +02:00
|
|
|
|
*_RVCTLINUX_ARM_VFRPP_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -DVFRCOMPILE --preinclude $(MODULE_NAME)StrDefs.h
|
2011-10-11 04:49:48 +02:00
|
|
|
|
*_RVCTLINUX_ARM_SLINK_FLAGS = --partial -o
|
|
|
|
|
DEBUG_RVCTLINUX_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O1 -g
|
2013-08-23 04:18:16 +02:00
|
|
|
|
RELEASE_RVCTLINUX_ARM_CC_FLAGS = $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) --diag_suppress=550 DEF(RVCT_ALL_CC_FLAGS) -O2
|
2009-09-11 05:14:43 +02:00
|
|
|
|
|
2011-10-11 04:49:48 +02:00
|
|
|
|
##################
|
|
|
|
|
# ARM definitions
|
|
|
|
|
##################
|
|
|
|
|
*_RVCTLINUX_ARM_CC_PATH = ENV(RVCT_TOOLS_PATH)armcc
|
|
|
|
|
*_RVCTLINUX_ARM_SLINK_PATH = ENV(RVCT_TOOLS_PATH)armlink
|
|
|
|
|
*_RVCTLINUX_ARM_DLINK_PATH = ENV(RVCT_TOOLS_PATH)armlink
|
|
|
|
|
*_RVCTLINUX_ARM_ASM_PATH = ENV(RVCT_TOOLS_PATH)armasm
|
|
|
|
|
*_RVCTLINUX_ARM_PP_PATH = ENV(RVCT_TOOLS_PATH)armcc
|
|
|
|
|
*_RVCTLINUX_ARM_VFRPP_PATH = ENV(RVCT_TOOLS_PATH)armcc
|
|
|
|
|
*_RVCTLINUX_ARM_FROMELF_PATH = ENV(RVCT_TOOLS_PATH)fromelf
|
|
|
|
|
|
|
|
|
|
####################################################################################
|
2009-09-11 05:14:43 +02:00
|
|
|
|
#
|
2011-10-11 04:49:48 +02:00
|
|
|
|
# ARM RealView Tools - Cygwin
|
2009-09-11 05:14:43 +02:00
|
|
|
|
#
|
2011-10-11 04:49:48 +02:00
|
|
|
|
####################################################################################
|
|
|
|
|
# ARMCYGWIN - Tools from ARM in a Cygwin environment
|
|
|
|
|
|
|
|
|
|
*_RVCTCYGWIN_*_*_FAMILY = RVCT
|
|
|
|
|
*_RVCTCYGWIN_*_*_BUILDRULEFAMILY = RVCTCYGWIN
|
2009-09-11 05:14:43 +02:00
|
|
|
|
|
2011-10-11 04:49:48 +02:00
|
|
|
|
*_RVCTCYGWIN_ARM_CCPATH_FLAG = ENV(RVCT_TOOLS_PATH)armcc
|
|
|
|
|
*_RVCTCYGWIN_ARM_SLINKPATH_FLAG = ENV(RVCT_TOOLS_PATH)armlink
|
|
|
|
|
*_RVCTCYGWIN_ARM_DLINKPATH_FLAG = ENV(RVCT_TOOLS_PATH)armlink
|
|
|
|
|
*_RVCTCYGWIN_ARM_ASMPATH_FLAG = ENV(RVCT_TOOLS_PATH)armasm
|
|
|
|
|
*_RVCTCYGWIN_ARM_PPPATH_FLAG = ENV(RVCT_TOOLS_PATH)armcc
|
|
|
|
|
*_RVCTCYGWIN_ARM_VFRPPPATH_FLAG = ENV(RVCT_TOOLS_PATH)armcc
|
|
|
|
|
*_RVCTCYGWIN_ARM_FROMELFPATH_FLAG = ENV(RVCT_TOOLS_PATH)fromelf
|
2009-09-11 05:14:43 +02:00
|
|
|
|
|
2011-10-11 04:49:48 +02:00
|
|
|
|
#
|
|
|
|
|
# Use default values, or override in DSC file
|
|
|
|
|
#
|
2014-01-27 06:23:15 +01:00
|
|
|
|
*_RVCTCYGWIN_ARM_ARCHCC_FLAGS = --thumb --fpu=softvfp
|
2011-10-11 04:49:48 +02:00
|
|
|
|
*_RVCTCYGWIN_ARM_ARCHASM_FLAGS =
|
2019-01-02 22:29:43 +01:00
|
|
|
|
*_RVCTCYGWIN_ARM_ARCHDLINK_FLAGS =
|
2011-10-11 04:49:48 +02:00
|
|
|
|
*_RVCTCYGWIN_ARM_PLATFORM_FLAGS = --cpu 7-A
|
|
|
|
|
|
2019-01-02 22:29:43 +01:00
|
|
|
|
DEBUG_RVCTCYGWIN_ARM_DLINK_FLAGS = "$(DLINKPATH_FLAG)" $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list `cygpath -m $(DEST_DIR_DEBUG)/$(BASE_NAME).map`
|
|
|
|
|
RELEASE_RVCTCYGWIN_ARM_DLINK_FLAGS = "$(DLINKPATH_FLAG)" $(ARCHDLINK_FLAGS) DEF(RVCT_ALL_DLINK_FLAGS) --entry $(IMAGE_ENTRY_POINT) --map --list `cygpath -m $(DEST_DIR_DEBUG)/$(BASE_NAME).map`
|
|
|
|
|
|
2013-08-23 04:18:16 +02:00
|
|
|
|
*_RVCTCYGWIN_ARM_ASM_FLAGS = "$(ASMPATH_FLAG)" $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_ASM_FLAGS)
|
2011-10-11 04:49:48 +02:00
|
|
|
|
*_RVCTCYGWIN_ARM_PP_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E
|
2019-10-17 08:55:45 +02:00
|
|
|
|
*_RVCTCYGWIN_ARM_VFRPP_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) -E -DVFRCOMPILE --preinclude `cygpath -m $(MODULE_NAME)StrDefs.h`
|
2011-10-11 04:49:48 +02:00
|
|
|
|
*_RVCTCYGWIN_ARM_MAKE_PATH = make
|
|
|
|
|
*_RVCTCYGWIN_ARM_SLINK_FLAGS = "$(SLINKPATH_FLAG)" --partial -o
|
|
|
|
|
DEBUG_RVCTCYGWIN_ARM_CC_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF(RVCT_ALL_CC_FLAGS) -O1 -g
|
2013-08-23 04:18:16 +02:00
|
|
|
|
RELEASE_RVCTCYGWIN_ARM_CC_FLAGS = "$(CCPATH_FLAG)" $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) --diag_suppress=550 DEF(RVCT_ALL_CC_FLAGS) -O2
|
2009-09-11 05:14:43 +02:00
|
|
|
|
|
|
|
|
|
##################
|
|
|
|
|
# ARM definitions
|
|
|
|
|
##################
|
2011-10-11 04:49:48 +02:00
|
|
|
|
*_RVCTCYGWIN_ARM_CC_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
|
|
|
|
|
*_RVCTCYGWIN_ARM_SLINK_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
|
|
|
|
|
*_RVCTCYGWIN_ARM_DLINK_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
|
|
|
|
|
*_RVCTCYGWIN_ARM_ASM_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
|
|
|
|
|
*_RVCTCYGWIN_ARM_PP_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
|
|
|
|
|
*_RVCTCYGWIN_ARM_VFRPP_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
|
|
|
|
|
*_RVCTCYGWIN_ARM_FROMELF_PATH = ENV(WORKSPACE)/BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
|
2009-09-11 05:14:43 +02:00
|
|
|
|
|
2010-07-21 04:46:15 +02:00
|
|
|
|
#################
|
2019-02-06 08:44:39 +01:00
|
|
|
|
# ASM 16 linker definitions
|
2010-07-21 04:46:15 +02:00
|
|
|
|
#################
|
|
|
|
|
*_*_*_ASMLINK_PATH = DEF(WINDDK_BIN16)\link16.exe
|
|
|
|
|
*_*_*_ASMLINK_FLAGS = /nologo /tiny
|
2009-09-11 05:14:43 +02:00
|
|
|
|
|
2008-08-07 05:29:10 +02:00
|
|
|
|
##################
|
|
|
|
|
# VfrCompiler definitions
|
|
|
|
|
##################
|
2008-08-10 05:56:03 +02:00
|
|
|
|
*_*_*_VFR_PATH = VfrCompile
|
2008-08-07 05:29:10 +02:00
|
|
|
|
*_*_*_VFR_FLAGS = -l -n
|
2008-08-21 15:11:01 +02:00
|
|
|
|
|
2009-05-03 08:40:59 +02:00
|
|
|
|
##################
|
|
|
|
|
# OptionRom tool definitions
|
|
|
|
|
##################
|
|
|
|
|
*_*_*_OPTROM_PATH = EfiRom
|
|
|
|
|
*_*_*_OPTROM_FLAGS = -e
|
|
|
|
|
|
2010-09-06 03:58:00 +02:00
|
|
|
|
##################
|
|
|
|
|
# GenFw tool definitions
|
|
|
|
|
##################
|
|
|
|
|
*_*_*_GENFW_PATH = GenFw
|
2010-11-15 03:51:34 +01:00
|
|
|
|
*_*_*_GENFW_FLAGS =
|
2010-09-06 03:58:00 +02:00
|
|
|
|
|
2008-08-21 15:11:01 +02:00
|
|
|
|
##################
|
|
|
|
|
# Asl Compiler definitions
|
|
|
|
|
##################
|
2010-11-15 03:51:34 +01:00
|
|
|
|
*_*_*_ASLCC_FLAGS = /nologo /c /FIAutoGen.h /TC /Dmain=ReferenceAcpiTable
|
2011-05-11 12:26:49 +02:00
|
|
|
|
*_*_*_ASLDLINK_FLAGS = /NODEFAULTLIB /ENTRY:ReferenceAcpiTable /SUBSYSTEM:CONSOLE
|
2008-08-21 15:11:01 +02:00
|
|
|
|
*_*_*_ASLPP_FLAGS = /nologo /EP /C
|
|
|
|
|
*_*_*_ASL_FLAGS =
|
2008-11-27 10:15:52 +01:00
|
|
|
|
|
2011-08-26 09:46:26 +02:00
|
|
|
|
##################
|
|
|
|
|
# GenCrc32 tool definitions
|
|
|
|
|
##################
|
|
|
|
|
*_*_*_CRC32_PATH = GenCrc32
|
|
|
|
|
*_*_*_CRC32_GUID = FC1BCDB0-7D31-49AA-936A-A4600D9DD083
|
|
|
|
|
|
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Yingke Liu <yingke.d.liu@intel.com>
Add support for RSA 2048 SHA 256 signing and verification encoded in a PI FFS GUIDED Encapsulation Section. The primary use case of this feature is in support of signing and verification of encapsulated FVs for Recovery and Capsule Update, but can potentially be used for signing and verification of any content that can be stored in a PI conformant FFS file. Signing operations are performed from python scripts that wrap OpenSsl command line utilities. Verification operations are performed using the OpenSsl libraries in the CryptoPkg.
The guided encapsulation sections uses the UEFI 2.4 Specification defined GUID called EFI_CERT_TYPE_RSA2048_SHA256_GUID. The data layout for the encapsulation section starts with the UEFI 2.4 Specification defined structure called EFI_CERT_BLOCK_RSA_2048_SHA256 followed immediately by the data. The signing tool included in these patches performs encode/decode operations using this data layout. HashType is set to the UEFI 2.4 Specification defined GUID called EFI_HASH_ALGORITHM_SHA256_GUID.
MdePkg/Include/Guid/WinCertificate.h
=================================
//
// WIN_CERTIFICATE_UEFI_GUID.CertType
//
#define EFI_CERT_TYPE_RSA2048_SHA256_GUID \
{0xa7717414, 0xc616, 0x4977, {0x94, 0x20, 0x84, 0x47, 0x12, 0xa7, 0x35, 0xbf } }
///
/// WIN_CERTIFICATE_UEFI_GUID.CertData
///
typedef struct {
EFI_GUID HashType;
UINT8 PublicKey[256];
UINT8 Signature[256];
} EFI_CERT_BLOCK_RSA_2048_SHA256;
MdePkg/Include/Protocol/Hash.h
=================================
#define EFI_HASH_ALGORITHM_SHA256_GUID \
{ \
0x51aa59de, 0xfdf2, 0x4ea3, {0xbc, 0x63, 0x87, 0x5f, 0xb7, 0x84, 0x2e, 0xe9 } \
}
The verification operations require the use of public key(s). A new PCD called gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer is added to the SecurityPkg that supports one or more SHA 256 hashes of the public keys. A SHA 256 hash is performed to minimize the FLASH overhead of storing the public keys. When a verification operation is performed, a SHA 256 hash is performed on EFI_CERT_BLOCK_RSA_2048_SHA256.PublicKey and a check is made to see if that hash matches any of the hashes in the new PCD. It is recommended that this PCD always be configured in the DSC file as storage type of [PcdsDynamixExVpd], so the public keys are stored in a protected read-only region.
While working on this feature, I noticed that the CRC32 signing and verification feature was incomplete. It only supported CRC32 based verification in the DXE Phase, so the attached patches also provide support for CRC32 based verification in the PEI Phase.
I also noticed that the most common method for incorporating guided section extraction libraries was to directly link them to the DXE Core, which is not very flexible. The attached patches also add a generic section extraction PEIM and a generic section extraction DXE driver that can each be linked against one or more section extraction libraries. This provides a platform developer with the option of providing section extraction services with the DXE Core or providing section extraction services with these generic PEIM/DXE Drivers.
Patch Summary
==============
1) BaseTools - Rsa2049Sha256Sign python script that can perform test signing or custom signing of PI FFS file GUIDed sections
a. Wrapper for a set of OpenSsl command line utility operations
b. OpenSsl command line tool must be installed in location that is in standard OS path or in path specified by OS environment variable called OPENSSL_PATH
c. Provides standard EDK II command line arguments for a tool that encodes/decodes guided encapsulation section
Rsa2048Sha256Sign - Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.
usage: Rsa2048Sha256Sign -e|-d [options] <input_file>
positional arguments:
input_file specify the input filename
optional arguments:
-e encode file
-d decode file
-o filename, --output filename
specify the output filename
--private-key PRIVATEKEYFILE
specify the private key filename. If not specified, a
test signing key is used.
-v, --verbose increase output messages
-q, --quiet reduce output messages
--debug [0-9] set debug level
--version display the program version and exit
-h, --help display this help text
2) BaseTools - Rsa2049Sha256GenerateKeys python script that can generate new private/public key and PCD value that is SHA 256 hash of public key using OpenSsl command line utilities.
a. Wrapper for a set of OpenSsl command line utility operations
b. OpenSsl command line tool must be installed in location that is in standard path or in path specified by OS environment variable called OPENSSL_PATH
Rsa2048Sha256GenerateKeys - Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.
usage: Rsa2048Sha256GenerateKeys [options]
optional arguments:
-o [filename [filename ...]], --output [filename [filename ...]]
specify the output private key filename in PEM format
-i [filename [filename ...]], --input [filename [filename ...]]
specify the input private key filename in PEM format
--public-key-hash PUBLICKEYHASHFILE
specify the public key hash filename that is SHA 256
hash of 2048 bit RSA public key in binary format
--public-key-hash-c PUBLICKEYHASHCFILE
specify the public key hash filename that is SHA 256
hash of 2048 bit RSA public key in C structure format
-v, --verbose increase output messages
-q, --quiet reduce output messages
--debug [0-9] set debug level
--version display the program version and exit
-h, --help display this help text
3) BaseTools\Conf\tools_def.template
a. Define GUID/Tool to perform RSA 2048 SHA 256 test signing and instructions on how to use alternate private/public key
b. GUID is EFI_CERT_TYPE_RSA2048_SHA256_GUID
c. Tool is Rsa2049Sha256Sign
4) MdeModulePkg\Library\PeiCrc32GuidedSectionExtractionLib
a. Add peer for DxeCrc32GuidedSectionExtractionLib so both PEI and DXE phases can perform basic integrity checks of PEI and DXE components
5) MdeModulePkg\Universal\SectionExtractionPei
a. Generic PEIM that can link against one or more NULL section extraction library instances to provided one or more GUIDED Section Extraction PPIs
6) MdeModulePkg\Universal\SectionExtractionDxe
a. Generic DXE Driver that can link against one or more NULL section extraction library instances to provide one or more GUIDED Section Extraction Protocols.
7) SecurityPkg\Library\PeiRsa2048Sha256GuidedSectionExtractLib
a. NULL library instances that performs PEI phase RSA 2048 SHA 256 signature verification using OpenSsl libraries from CryptoPkg.
b. Based on algorithms from SecurityPkg Authenticated Variable services
c. Uses public key from gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer.
8) SecurityPkg\Library\DxeRsa2048Sha256GuidedSectionExtractLib
a. NULL library instances that performs DXE phase RSA 2048 SHA 256 signature verification using OpenSsl libraries from CryptoPkg.
b. Based on algorithms from SecurityPkg Authenticated Variable services
c. Uses public key from gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer.
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15800 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-14 08:30:10 +02:00
|
|
|
|
##################
|
|
|
|
|
# Rsa2048Sha256Sign tool definitions
|
|
|
|
|
#
|
2019-02-06 08:44:39 +01:00
|
|
|
|
# Notes: This tool definition uses a test signing key for development purposes only.
|
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Yingke Liu <yingke.d.liu@intel.com>
Add support for RSA 2048 SHA 256 signing and verification encoded in a PI FFS GUIDED Encapsulation Section. The primary use case of this feature is in support of signing and verification of encapsulated FVs for Recovery and Capsule Update, but can potentially be used for signing and verification of any content that can be stored in a PI conformant FFS file. Signing operations are performed from python scripts that wrap OpenSsl command line utilities. Verification operations are performed using the OpenSsl libraries in the CryptoPkg.
The guided encapsulation sections uses the UEFI 2.4 Specification defined GUID called EFI_CERT_TYPE_RSA2048_SHA256_GUID. The data layout for the encapsulation section starts with the UEFI 2.4 Specification defined structure called EFI_CERT_BLOCK_RSA_2048_SHA256 followed immediately by the data. The signing tool included in these patches performs encode/decode operations using this data layout. HashType is set to the UEFI 2.4 Specification defined GUID called EFI_HASH_ALGORITHM_SHA256_GUID.
MdePkg/Include/Guid/WinCertificate.h
=================================
//
// WIN_CERTIFICATE_UEFI_GUID.CertType
//
#define EFI_CERT_TYPE_RSA2048_SHA256_GUID \
{0xa7717414, 0xc616, 0x4977, {0x94, 0x20, 0x84, 0x47, 0x12, 0xa7, 0x35, 0xbf } }
///
/// WIN_CERTIFICATE_UEFI_GUID.CertData
///
typedef struct {
EFI_GUID HashType;
UINT8 PublicKey[256];
UINT8 Signature[256];
} EFI_CERT_BLOCK_RSA_2048_SHA256;
MdePkg/Include/Protocol/Hash.h
=================================
#define EFI_HASH_ALGORITHM_SHA256_GUID \
{ \
0x51aa59de, 0xfdf2, 0x4ea3, {0xbc, 0x63, 0x87, 0x5f, 0xb7, 0x84, 0x2e, 0xe9 } \
}
The verification operations require the use of public key(s). A new PCD called gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer is added to the SecurityPkg that supports one or more SHA 256 hashes of the public keys. A SHA 256 hash is performed to minimize the FLASH overhead of storing the public keys. When a verification operation is performed, a SHA 256 hash is performed on EFI_CERT_BLOCK_RSA_2048_SHA256.PublicKey and a check is made to see if that hash matches any of the hashes in the new PCD. It is recommended that this PCD always be configured in the DSC file as storage type of [PcdsDynamixExVpd], so the public keys are stored in a protected read-only region.
While working on this feature, I noticed that the CRC32 signing and verification feature was incomplete. It only supported CRC32 based verification in the DXE Phase, so the attached patches also provide support for CRC32 based verification in the PEI Phase.
I also noticed that the most common method for incorporating guided section extraction libraries was to directly link them to the DXE Core, which is not very flexible. The attached patches also add a generic section extraction PEIM and a generic section extraction DXE driver that can each be linked against one or more section extraction libraries. This provides a platform developer with the option of providing section extraction services with the DXE Core or providing section extraction services with these generic PEIM/DXE Drivers.
Patch Summary
==============
1) BaseTools - Rsa2049Sha256Sign python script that can perform test signing or custom signing of PI FFS file GUIDed sections
a. Wrapper for a set of OpenSsl command line utility operations
b. OpenSsl command line tool must be installed in location that is in standard OS path or in path specified by OS environment variable called OPENSSL_PATH
c. Provides standard EDK II command line arguments for a tool that encodes/decodes guided encapsulation section
Rsa2048Sha256Sign - Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.
usage: Rsa2048Sha256Sign -e|-d [options] <input_file>
positional arguments:
input_file specify the input filename
optional arguments:
-e encode file
-d decode file
-o filename, --output filename
specify the output filename
--private-key PRIVATEKEYFILE
specify the private key filename. If not specified, a
test signing key is used.
-v, --verbose increase output messages
-q, --quiet reduce output messages
--debug [0-9] set debug level
--version display the program version and exit
-h, --help display this help text
2) BaseTools - Rsa2049Sha256GenerateKeys python script that can generate new private/public key and PCD value that is SHA 256 hash of public key using OpenSsl command line utilities.
a. Wrapper for a set of OpenSsl command line utility operations
b. OpenSsl command line tool must be installed in location that is in standard path or in path specified by OS environment variable called OPENSSL_PATH
Rsa2048Sha256GenerateKeys - Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.
usage: Rsa2048Sha256GenerateKeys [options]
optional arguments:
-o [filename [filename ...]], --output [filename [filename ...]]
specify the output private key filename in PEM format
-i [filename [filename ...]], --input [filename [filename ...]]
specify the input private key filename in PEM format
--public-key-hash PUBLICKEYHASHFILE
specify the public key hash filename that is SHA 256
hash of 2048 bit RSA public key in binary format
--public-key-hash-c PUBLICKEYHASHCFILE
specify the public key hash filename that is SHA 256
hash of 2048 bit RSA public key in C structure format
-v, --verbose increase output messages
-q, --quiet reduce output messages
--debug [0-9] set debug level
--version display the program version and exit
-h, --help display this help text
3) BaseTools\Conf\tools_def.template
a. Define GUID/Tool to perform RSA 2048 SHA 256 test signing and instructions on how to use alternate private/public key
b. GUID is EFI_CERT_TYPE_RSA2048_SHA256_GUID
c. Tool is Rsa2049Sha256Sign
4) MdeModulePkg\Library\PeiCrc32GuidedSectionExtractionLib
a. Add peer for DxeCrc32GuidedSectionExtractionLib so both PEI and DXE phases can perform basic integrity checks of PEI and DXE components
5) MdeModulePkg\Universal\SectionExtractionPei
a. Generic PEIM that can link against one or more NULL section extraction library instances to provided one or more GUIDED Section Extraction PPIs
6) MdeModulePkg\Universal\SectionExtractionDxe
a. Generic DXE Driver that can link against one or more NULL section extraction library instances to provide one or more GUIDED Section Extraction Protocols.
7) SecurityPkg\Library\PeiRsa2048Sha256GuidedSectionExtractLib
a. NULL library instances that performs PEI phase RSA 2048 SHA 256 signature verification using OpenSsl libraries from CryptoPkg.
b. Based on algorithms from SecurityPkg Authenticated Variable services
c. Uses public key from gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer.
8) SecurityPkg\Library\DxeRsa2048Sha256GuidedSectionExtractLib
a. NULL library instances that performs DXE phase RSA 2048 SHA 256 signature verification using OpenSsl libraries from CryptoPkg.
b. Based on algorithms from SecurityPkg Authenticated Variable services
c. Uses public key from gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer.
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15800 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-14 08:30:10 +02:00
|
|
|
|
# The tool Rsa2048Sha256GenerateKeys can be used to generate a new private/public key
|
|
|
|
|
# and the gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer PCD value.
|
|
|
|
|
# A custom tool/script can be implemented using the new private/public key with
|
2019-02-06 08:44:39 +01:00
|
|
|
|
# the Rsa2048Sha256Sign tool and this tool definition can be updated to use a
|
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Yingke Liu <yingke.d.liu@intel.com>
Add support for RSA 2048 SHA 256 signing and verification encoded in a PI FFS GUIDED Encapsulation Section. The primary use case of this feature is in support of signing and verification of encapsulated FVs for Recovery and Capsule Update, but can potentially be used for signing and verification of any content that can be stored in a PI conformant FFS file. Signing operations are performed from python scripts that wrap OpenSsl command line utilities. Verification operations are performed using the OpenSsl libraries in the CryptoPkg.
The guided encapsulation sections uses the UEFI 2.4 Specification defined GUID called EFI_CERT_TYPE_RSA2048_SHA256_GUID. The data layout for the encapsulation section starts with the UEFI 2.4 Specification defined structure called EFI_CERT_BLOCK_RSA_2048_SHA256 followed immediately by the data. The signing tool included in these patches performs encode/decode operations using this data layout. HashType is set to the UEFI 2.4 Specification defined GUID called EFI_HASH_ALGORITHM_SHA256_GUID.
MdePkg/Include/Guid/WinCertificate.h
=================================
//
// WIN_CERTIFICATE_UEFI_GUID.CertType
//
#define EFI_CERT_TYPE_RSA2048_SHA256_GUID \
{0xa7717414, 0xc616, 0x4977, {0x94, 0x20, 0x84, 0x47, 0x12, 0xa7, 0x35, 0xbf } }
///
/// WIN_CERTIFICATE_UEFI_GUID.CertData
///
typedef struct {
EFI_GUID HashType;
UINT8 PublicKey[256];
UINT8 Signature[256];
} EFI_CERT_BLOCK_RSA_2048_SHA256;
MdePkg/Include/Protocol/Hash.h
=================================
#define EFI_HASH_ALGORITHM_SHA256_GUID \
{ \
0x51aa59de, 0xfdf2, 0x4ea3, {0xbc, 0x63, 0x87, 0x5f, 0xb7, 0x84, 0x2e, 0xe9 } \
}
The verification operations require the use of public key(s). A new PCD called gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer is added to the SecurityPkg that supports one or more SHA 256 hashes of the public keys. A SHA 256 hash is performed to minimize the FLASH overhead of storing the public keys. When a verification operation is performed, a SHA 256 hash is performed on EFI_CERT_BLOCK_RSA_2048_SHA256.PublicKey and a check is made to see if that hash matches any of the hashes in the new PCD. It is recommended that this PCD always be configured in the DSC file as storage type of [PcdsDynamixExVpd], so the public keys are stored in a protected read-only region.
While working on this feature, I noticed that the CRC32 signing and verification feature was incomplete. It only supported CRC32 based verification in the DXE Phase, so the attached patches also provide support for CRC32 based verification in the PEI Phase.
I also noticed that the most common method for incorporating guided section extraction libraries was to directly link them to the DXE Core, which is not very flexible. The attached patches also add a generic section extraction PEIM and a generic section extraction DXE driver that can each be linked against one or more section extraction libraries. This provides a platform developer with the option of providing section extraction services with the DXE Core or providing section extraction services with these generic PEIM/DXE Drivers.
Patch Summary
==============
1) BaseTools - Rsa2049Sha256Sign python script that can perform test signing or custom signing of PI FFS file GUIDed sections
a. Wrapper for a set of OpenSsl command line utility operations
b. OpenSsl command line tool must be installed in location that is in standard OS path or in path specified by OS environment variable called OPENSSL_PATH
c. Provides standard EDK II command line arguments for a tool that encodes/decodes guided encapsulation section
Rsa2048Sha256Sign - Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.
usage: Rsa2048Sha256Sign -e|-d [options] <input_file>
positional arguments:
input_file specify the input filename
optional arguments:
-e encode file
-d decode file
-o filename, --output filename
specify the output filename
--private-key PRIVATEKEYFILE
specify the private key filename. If not specified, a
test signing key is used.
-v, --verbose increase output messages
-q, --quiet reduce output messages
--debug [0-9] set debug level
--version display the program version and exit
-h, --help display this help text
2) BaseTools - Rsa2049Sha256GenerateKeys python script that can generate new private/public key and PCD value that is SHA 256 hash of public key using OpenSsl command line utilities.
a. Wrapper for a set of OpenSsl command line utility operations
b. OpenSsl command line tool must be installed in location that is in standard path or in path specified by OS environment variable called OPENSSL_PATH
Rsa2048Sha256GenerateKeys - Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.
usage: Rsa2048Sha256GenerateKeys [options]
optional arguments:
-o [filename [filename ...]], --output [filename [filename ...]]
specify the output private key filename in PEM format
-i [filename [filename ...]], --input [filename [filename ...]]
specify the input private key filename in PEM format
--public-key-hash PUBLICKEYHASHFILE
specify the public key hash filename that is SHA 256
hash of 2048 bit RSA public key in binary format
--public-key-hash-c PUBLICKEYHASHCFILE
specify the public key hash filename that is SHA 256
hash of 2048 bit RSA public key in C structure format
-v, --verbose increase output messages
-q, --quiet reduce output messages
--debug [0-9] set debug level
--version display the program version and exit
-h, --help display this help text
3) BaseTools\Conf\tools_def.template
a. Define GUID/Tool to perform RSA 2048 SHA 256 test signing and instructions on how to use alternate private/public key
b. GUID is EFI_CERT_TYPE_RSA2048_SHA256_GUID
c. Tool is Rsa2049Sha256Sign
4) MdeModulePkg\Library\PeiCrc32GuidedSectionExtractionLib
a. Add peer for DxeCrc32GuidedSectionExtractionLib so both PEI and DXE phases can perform basic integrity checks of PEI and DXE components
5) MdeModulePkg\Universal\SectionExtractionPei
a. Generic PEIM that can link against one or more NULL section extraction library instances to provided one or more GUIDED Section Extraction PPIs
6) MdeModulePkg\Universal\SectionExtractionDxe
a. Generic DXE Driver that can link against one or more NULL section extraction library instances to provide one or more GUIDED Section Extraction Protocols.
7) SecurityPkg\Library\PeiRsa2048Sha256GuidedSectionExtractLib
a. NULL library instances that performs PEI phase RSA 2048 SHA 256 signature verification using OpenSsl libraries from CryptoPkg.
b. Based on algorithms from SecurityPkg Authenticated Variable services
c. Uses public key from gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer.
8) SecurityPkg\Library\DxeRsa2048Sha256GuidedSectionExtractLib
a. NULL library instances that performs DXE phase RSA 2048 SHA 256 signature verification using OpenSsl libraries from CryptoPkg.
b. Based on algorithms from SecurityPkg Authenticated Variable services
c. Uses public key from gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer.
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15800 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-14 08:30:10 +02:00
|
|
|
|
# custom tool/script.
|
|
|
|
|
#
|
|
|
|
|
# Generate new private/public key and gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer PCD value
|
|
|
|
|
#
|
|
|
|
|
# Rsa2048Sha256GenerateKeys.py -o MyKey.pem --public-key-hash-c MyKey.pcd
|
|
|
|
|
#
|
|
|
|
|
# Custom script example (MyRsa2048Sha256Sign.cmd):
|
|
|
|
|
#
|
|
|
|
|
# Rsa2048Sha256Sign --private-key MyKey.pem %1 %2 %3 %4 %5 %6 %7 %8 %9
|
|
|
|
|
#
|
2019-01-02 22:29:43 +01:00
|
|
|
|
# WARNING: Vendors that uses private keys are responsible for proper management and protection
|
|
|
|
|
# of private keys. Vendors may choose to use infrastructure such as signing servers
|
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Yingke Liu <yingke.d.liu@intel.com>
Add support for RSA 2048 SHA 256 signing and verification encoded in a PI FFS GUIDED Encapsulation Section. The primary use case of this feature is in support of signing and verification of encapsulated FVs for Recovery and Capsule Update, but can potentially be used for signing and verification of any content that can be stored in a PI conformant FFS file. Signing operations are performed from python scripts that wrap OpenSsl command line utilities. Verification operations are performed using the OpenSsl libraries in the CryptoPkg.
The guided encapsulation sections uses the UEFI 2.4 Specification defined GUID called EFI_CERT_TYPE_RSA2048_SHA256_GUID. The data layout for the encapsulation section starts with the UEFI 2.4 Specification defined structure called EFI_CERT_BLOCK_RSA_2048_SHA256 followed immediately by the data. The signing tool included in these patches performs encode/decode operations using this data layout. HashType is set to the UEFI 2.4 Specification defined GUID called EFI_HASH_ALGORITHM_SHA256_GUID.
MdePkg/Include/Guid/WinCertificate.h
=================================
//
// WIN_CERTIFICATE_UEFI_GUID.CertType
//
#define EFI_CERT_TYPE_RSA2048_SHA256_GUID \
{0xa7717414, 0xc616, 0x4977, {0x94, 0x20, 0x84, 0x47, 0x12, 0xa7, 0x35, 0xbf } }
///
/// WIN_CERTIFICATE_UEFI_GUID.CertData
///
typedef struct {
EFI_GUID HashType;
UINT8 PublicKey[256];
UINT8 Signature[256];
} EFI_CERT_BLOCK_RSA_2048_SHA256;
MdePkg/Include/Protocol/Hash.h
=================================
#define EFI_HASH_ALGORITHM_SHA256_GUID \
{ \
0x51aa59de, 0xfdf2, 0x4ea3, {0xbc, 0x63, 0x87, 0x5f, 0xb7, 0x84, 0x2e, 0xe9 } \
}
The verification operations require the use of public key(s). A new PCD called gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer is added to the SecurityPkg that supports one or more SHA 256 hashes of the public keys. A SHA 256 hash is performed to minimize the FLASH overhead of storing the public keys. When a verification operation is performed, a SHA 256 hash is performed on EFI_CERT_BLOCK_RSA_2048_SHA256.PublicKey and a check is made to see if that hash matches any of the hashes in the new PCD. It is recommended that this PCD always be configured in the DSC file as storage type of [PcdsDynamixExVpd], so the public keys are stored in a protected read-only region.
While working on this feature, I noticed that the CRC32 signing and verification feature was incomplete. It only supported CRC32 based verification in the DXE Phase, so the attached patches also provide support for CRC32 based verification in the PEI Phase.
I also noticed that the most common method for incorporating guided section extraction libraries was to directly link them to the DXE Core, which is not very flexible. The attached patches also add a generic section extraction PEIM and a generic section extraction DXE driver that can each be linked against one or more section extraction libraries. This provides a platform developer with the option of providing section extraction services with the DXE Core or providing section extraction services with these generic PEIM/DXE Drivers.
Patch Summary
==============
1) BaseTools - Rsa2049Sha256Sign python script that can perform test signing or custom signing of PI FFS file GUIDed sections
a. Wrapper for a set of OpenSsl command line utility operations
b. OpenSsl command line tool must be installed in location that is in standard OS path or in path specified by OS environment variable called OPENSSL_PATH
c. Provides standard EDK II command line arguments for a tool that encodes/decodes guided encapsulation section
Rsa2048Sha256Sign - Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.
usage: Rsa2048Sha256Sign -e|-d [options] <input_file>
positional arguments:
input_file specify the input filename
optional arguments:
-e encode file
-d decode file
-o filename, --output filename
specify the output filename
--private-key PRIVATEKEYFILE
specify the private key filename. If not specified, a
test signing key is used.
-v, --verbose increase output messages
-q, --quiet reduce output messages
--debug [0-9] set debug level
--version display the program version and exit
-h, --help display this help text
2) BaseTools - Rsa2049Sha256GenerateKeys python script that can generate new private/public key and PCD value that is SHA 256 hash of public key using OpenSsl command line utilities.
a. Wrapper for a set of OpenSsl command line utility operations
b. OpenSsl command line tool must be installed in location that is in standard path or in path specified by OS environment variable called OPENSSL_PATH
Rsa2048Sha256GenerateKeys - Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.
usage: Rsa2048Sha256GenerateKeys [options]
optional arguments:
-o [filename [filename ...]], --output [filename [filename ...]]
specify the output private key filename in PEM format
-i [filename [filename ...]], --input [filename [filename ...]]
specify the input private key filename in PEM format
--public-key-hash PUBLICKEYHASHFILE
specify the public key hash filename that is SHA 256
hash of 2048 bit RSA public key in binary format
--public-key-hash-c PUBLICKEYHASHCFILE
specify the public key hash filename that is SHA 256
hash of 2048 bit RSA public key in C structure format
-v, --verbose increase output messages
-q, --quiet reduce output messages
--debug [0-9] set debug level
--version display the program version and exit
-h, --help display this help text
3) BaseTools\Conf\tools_def.template
a. Define GUID/Tool to perform RSA 2048 SHA 256 test signing and instructions on how to use alternate private/public key
b. GUID is EFI_CERT_TYPE_RSA2048_SHA256_GUID
c. Tool is Rsa2049Sha256Sign
4) MdeModulePkg\Library\PeiCrc32GuidedSectionExtractionLib
a. Add peer for DxeCrc32GuidedSectionExtractionLib so both PEI and DXE phases can perform basic integrity checks of PEI and DXE components
5) MdeModulePkg\Universal\SectionExtractionPei
a. Generic PEIM that can link against one or more NULL section extraction library instances to provided one or more GUIDED Section Extraction PPIs
6) MdeModulePkg\Universal\SectionExtractionDxe
a. Generic DXE Driver that can link against one or more NULL section extraction library instances to provide one or more GUIDED Section Extraction Protocols.
7) SecurityPkg\Library\PeiRsa2048Sha256GuidedSectionExtractLib
a. NULL library instances that performs PEI phase RSA 2048 SHA 256 signature verification using OpenSsl libraries from CryptoPkg.
b. Based on algorithms from SecurityPkg Authenticated Variable services
c. Uses public key from gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer.
8) SecurityPkg\Library\DxeRsa2048Sha256GuidedSectionExtractLib
a. NULL library instances that performs DXE phase RSA 2048 SHA 256 signature verification using OpenSsl libraries from CryptoPkg.
b. Based on algorithms from SecurityPkg Authenticated Variable services
c. Uses public key from gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer.
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15800 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-14 08:30:10 +02:00
|
|
|
|
# or signing portals to support the management and protection of private keys.
|
|
|
|
|
#
|
|
|
|
|
##################
|
|
|
|
|
*_*_*_RSA2048SHA256SIGN_PATH = Rsa2048Sha256Sign
|
|
|
|
|
*_*_*_RSA2048SHA256SIGN_GUID = A7717414-C616-4977-9420-844712A735BF
|
|
|
|
|
|
2017-03-23 03:16:16 +01:00
|
|
|
|
##################
|
|
|
|
|
# BrotliCompress tool definitions
|
|
|
|
|
##################
|
|
|
|
|
*_*_*_BROTLI_PATH = BrotliCompress
|
|
|
|
|
*_*_*_BROTLI_GUID = 3D532050-5CDA-4FD0-879E-0F7F630D5AFB
|
|
|
|
|
|
2009-01-08 09:46:46 +01:00
|
|
|
|
##################
|
2009-05-01 08:45:01 +02:00
|
|
|
|
# LzmaCompress tool definitions
|
2009-01-08 09:46:46 +01:00
|
|
|
|
##################
|
2009-05-01 08:45:01 +02:00
|
|
|
|
*_*_*_LZMA_PATH = LzmaCompress
|
|
|
|
|
*_*_*_LZMA_GUID = EE4E5898-3914-4259-9D6E-DC7BD79403CF
|
|
|
|
|
|
2012-04-10 09:18:20 +02:00
|
|
|
|
##################
|
|
|
|
|
# LzmaF86Compress tool definitions with converter for x86 code.
|
|
|
|
|
# It can improve the compression ratio if the input file is IA32 or X64 PE image.
|
|
|
|
|
##################
|
|
|
|
|
*_*_*_LZMAF86_PATH = LzmaF86Compress
|
|
|
|
|
*_*_*_LZMAF86_GUID = D42AE6BD-1352-4bfb-909A-CA72A6EAE889
|
|
|
|
|
|
2009-05-01 08:45:01 +02:00
|
|
|
|
##################
|
|
|
|
|
# TianoCompress tool definitions
|
|
|
|
|
##################
|
|
|
|
|
*_*_*_TIANO_PATH = TianoCompress
|
|
|
|
|
*_*_*_TIANO_GUID = A31280AD-481E-41B6-95E8-127F4C984779
|
2009-04-13 14:50:50 +02:00
|
|
|
|
|
2010-09-06 03:58:00 +02:00
|
|
|
|
##################
|
|
|
|
|
# BPDG tool definitions
|
|
|
|
|
##################
|
|
|
|
|
*_*_*_VPDTOOL_PATH = BPDG
|
|
|
|
|
*_*_*_VPDTOOL_GUID = 8C3D856A-9BE6-468E-850A-24F7A8D38E08
|
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Yingke Liu <yingke.d.liu@intel.com>
Add support for RSA 2048 SHA 256 signing and verification encoded in a PI FFS GUIDED Encapsulation Section. The primary use case of this feature is in support of signing and verification of encapsulated FVs for Recovery and Capsule Update, but can potentially be used for signing and verification of any content that can be stored in a PI conformant FFS file. Signing operations are performed from python scripts that wrap OpenSsl command line utilities. Verification operations are performed using the OpenSsl libraries in the CryptoPkg.
The guided encapsulation sections uses the UEFI 2.4 Specification defined GUID called EFI_CERT_TYPE_RSA2048_SHA256_GUID. The data layout for the encapsulation section starts with the UEFI 2.4 Specification defined structure called EFI_CERT_BLOCK_RSA_2048_SHA256 followed immediately by the data. The signing tool included in these patches performs encode/decode operations using this data layout. HashType is set to the UEFI 2.4 Specification defined GUID called EFI_HASH_ALGORITHM_SHA256_GUID.
MdePkg/Include/Guid/WinCertificate.h
=================================
//
// WIN_CERTIFICATE_UEFI_GUID.CertType
//
#define EFI_CERT_TYPE_RSA2048_SHA256_GUID \
{0xa7717414, 0xc616, 0x4977, {0x94, 0x20, 0x84, 0x47, 0x12, 0xa7, 0x35, 0xbf } }
///
/// WIN_CERTIFICATE_UEFI_GUID.CertData
///
typedef struct {
EFI_GUID HashType;
UINT8 PublicKey[256];
UINT8 Signature[256];
} EFI_CERT_BLOCK_RSA_2048_SHA256;
MdePkg/Include/Protocol/Hash.h
=================================
#define EFI_HASH_ALGORITHM_SHA256_GUID \
{ \
0x51aa59de, 0xfdf2, 0x4ea3, {0xbc, 0x63, 0x87, 0x5f, 0xb7, 0x84, 0x2e, 0xe9 } \
}
The verification operations require the use of public key(s). A new PCD called gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer is added to the SecurityPkg that supports one or more SHA 256 hashes of the public keys. A SHA 256 hash is performed to minimize the FLASH overhead of storing the public keys. When a verification operation is performed, a SHA 256 hash is performed on EFI_CERT_BLOCK_RSA_2048_SHA256.PublicKey and a check is made to see if that hash matches any of the hashes in the new PCD. It is recommended that this PCD always be configured in the DSC file as storage type of [PcdsDynamixExVpd], so the public keys are stored in a protected read-only region.
While working on this feature, I noticed that the CRC32 signing and verification feature was incomplete. It only supported CRC32 based verification in the DXE Phase, so the attached patches also provide support for CRC32 based verification in the PEI Phase.
I also noticed that the most common method for incorporating guided section extraction libraries was to directly link them to the DXE Core, which is not very flexible. The attached patches also add a generic section extraction PEIM and a generic section extraction DXE driver that can each be linked against one or more section extraction libraries. This provides a platform developer with the option of providing section extraction services with the DXE Core or providing section extraction services with these generic PEIM/DXE Drivers.
Patch Summary
==============
1) BaseTools - Rsa2049Sha256Sign python script that can perform test signing or custom signing of PI FFS file GUIDed sections
a. Wrapper for a set of OpenSsl command line utility operations
b. OpenSsl command line tool must be installed in location that is in standard OS path or in path specified by OS environment variable called OPENSSL_PATH
c. Provides standard EDK II command line arguments for a tool that encodes/decodes guided encapsulation section
Rsa2048Sha256Sign - Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.
usage: Rsa2048Sha256Sign -e|-d [options] <input_file>
positional arguments:
input_file specify the input filename
optional arguments:
-e encode file
-d decode file
-o filename, --output filename
specify the output filename
--private-key PRIVATEKEYFILE
specify the private key filename. If not specified, a
test signing key is used.
-v, --verbose increase output messages
-q, --quiet reduce output messages
--debug [0-9] set debug level
--version display the program version and exit
-h, --help display this help text
2) BaseTools - Rsa2049Sha256GenerateKeys python script that can generate new private/public key and PCD value that is SHA 256 hash of public key using OpenSsl command line utilities.
a. Wrapper for a set of OpenSsl command line utility operations
b. OpenSsl command line tool must be installed in location that is in standard path or in path specified by OS environment variable called OPENSSL_PATH
Rsa2048Sha256GenerateKeys - Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.
usage: Rsa2048Sha256GenerateKeys [options]
optional arguments:
-o [filename [filename ...]], --output [filename [filename ...]]
specify the output private key filename in PEM format
-i [filename [filename ...]], --input [filename [filename ...]]
specify the input private key filename in PEM format
--public-key-hash PUBLICKEYHASHFILE
specify the public key hash filename that is SHA 256
hash of 2048 bit RSA public key in binary format
--public-key-hash-c PUBLICKEYHASHCFILE
specify the public key hash filename that is SHA 256
hash of 2048 bit RSA public key in C structure format
-v, --verbose increase output messages
-q, --quiet reduce output messages
--debug [0-9] set debug level
--version display the program version and exit
-h, --help display this help text
3) BaseTools\Conf\tools_def.template
a. Define GUID/Tool to perform RSA 2048 SHA 256 test signing and instructions on how to use alternate private/public key
b. GUID is EFI_CERT_TYPE_RSA2048_SHA256_GUID
c. Tool is Rsa2049Sha256Sign
4) MdeModulePkg\Library\PeiCrc32GuidedSectionExtractionLib
a. Add peer for DxeCrc32GuidedSectionExtractionLib so both PEI and DXE phases can perform basic integrity checks of PEI and DXE components
5) MdeModulePkg\Universal\SectionExtractionPei
a. Generic PEIM that can link against one or more NULL section extraction library instances to provided one or more GUIDED Section Extraction PPIs
6) MdeModulePkg\Universal\SectionExtractionDxe
a. Generic DXE Driver that can link against one or more NULL section extraction library instances to provide one or more GUIDED Section Extraction Protocols.
7) SecurityPkg\Library\PeiRsa2048Sha256GuidedSectionExtractLib
a. NULL library instances that performs PEI phase RSA 2048 SHA 256 signature verification using OpenSsl libraries from CryptoPkg.
b. Based on algorithms from SecurityPkg Authenticated Variable services
c. Uses public key from gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer.
8) SecurityPkg\Library\DxeRsa2048Sha256GuidedSectionExtractLib
a. NULL library instances that performs DXE phase RSA 2048 SHA 256 signature verification using OpenSsl libraries from CryptoPkg.
b. Based on algorithms from SecurityPkg Authenticated Variable services
c. Uses public key from gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer.
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15800 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-14 08:30:10 +02:00
|
|
|
|
|
2016-08-15 11:12:12 +02:00
|
|
|
|
##################
|
|
|
|
|
# Pkcs7Sign tool definitions
|
|
|
|
|
##################
|
|
|
|
|
*_*_*_PKCS7SIGN_PATH = Pkcs7Sign
|
|
|
|
|
*_*_*_PKCS7SIGN_GUID = 4AAFD29D-68DF-49EE-8AA9-347D375665A7
|
|
|
|
|
|
2014-08-19 01:03:17 +02:00
|
|
|
|
##################
|
|
|
|
|
# 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
|
2015-05-26 12:32:47 +02:00
|
|
|
|
|
|
|
|
|
#################
|
|
|
|
|
# Build rule order
|
|
|
|
|
#################
|
2017-08-02 22:30:06 +02:00
|
|
|
|
*_*_*_*_BUILDRULEORDER = nasm asm Asm ASM S s nasmb asm16
|