From nobody Fri Nov 1 20:37:20 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1510662772132905.8202060551209; Tue, 14 Nov 2017 04:32:52 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 1D2EB2035BB0C; Tue, 14 Nov 2017 04:28:41 -0800 (PST) Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E8CFF2035BB08 for ; Tue, 14 Nov 2017 04:28:39 -0800 (PST) Received: by mail-wm0-x243.google.com with SMTP id b189so14242230wmd.5 for ; Tue, 14 Nov 2017 04:32:47 -0800 (PST) Received: from localhost.localdomain ([84.203.87.147]) by smtp.gmail.com with ESMTPSA id i17sm14574556ede.64.2017.11.14.04.32.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Nov 2017 04:32:45 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:400c:c09::243; helo=mail-wm0-x243.google.com; envelope-from=pete@akeo.ie; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akeo-ie.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=O7VgwK5tZKzE1Qp2GI3TxC4o4f+WpjoEr6CEVk+fjuI=; b=M3bep8NJx+HPUvEEW1AzHjtDL+G3U+vC2hLOvpr+vxnIov2+s5yVlpDVkvjAZBG4cL ZyUT4mk0zoBQU8lkc5UcHf6if5hoJZiABZ476oYL1QRyML5L0wMnRzblqq8yDGkrpwxs IEB6+OMDwL44Z3PRkLKh7IjQCh+pYqb7OVon2J/R+9UFzRgja/4flVQ0EBlmfc3TQaHl pERiSdUuQ+Ja6RXKkgI0ADQeuIazRaMU9ibAlDCKAfHMEr0J4UC/nOzaBujKHFv4qjnE ryVctVr5cCNB3h3GfecjE5wGjUx4EgTYo4Z4C6pJAEcRWhiLyKmpj05bE33aZa+ePqPg vq6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=O7VgwK5tZKzE1Qp2GI3TxC4o4f+WpjoEr6CEVk+fjuI=; b=QxJPzc+EUtG4PYfNaFTONNq44l9TOQvoaCQGgSpI1NZZOXNqC2raLiJMx2yONxcx4E gI+rbrMhlY1rGSfuQ5w6WD8tEhMngT6d/3rUSvzZLIjfnRhydiVQFnsRVRSSWq6gk2nd TEbekYCrwJ5QuORIWYH2H7L01UyKmPb6m+LgJ4WiSzx8LE9oHO1kDhmF67zzhXvr0rDM UZolbKOjAadX6RyZhyRR8UmbWJ2Fsuio/Fi3kjB6xtCcEK5xvrKp94elQE1H4rMkPPja SDNo0Fv4M+RpQbzX3LbecpOAekDaC4+5ngH22rmjzANcTWpwe5wRZTxXiik+B741YRaI +xvg== X-Gm-Message-State: AJaThX4Al39qZnweg/Iz9HJO6Jq5W7iDkgkrPp/ximeB742kInl7Hl2w TakwiUTyIWsrwcOXlx4ALPiLLZxTq6A= X-Google-Smtp-Source: AGs4zMaccXupkeonmMFNlDE5mhX2nMsNsg67ltYQFc9LWiy16zUqmqRwl6i3NGvcYpMTQhJGf8K+7A== X-Received: by 10.80.180.142 with SMTP id w14mr17175681edd.66.1510662765660; Tue, 14 Nov 2017 04:32:45 -0800 (PST) From: Pete Batard To: edk2-devel@lists.01.org Date: Tue, 14 Nov 2017 12:32:27 +0000 Message-Id: <20171114123229.3516-3-pete@akeo.ie> X-Mailer: git-send-email 2.9.3.windows.2 In-Reply-To: <20171114123229.3516-1-pete@akeo.ie> References: <20171114123229.3516-1-pete@akeo.ie> Subject: [edk2] [PATCH 2/4] BaseTools: Add VS2017 IA32 and X64 support X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" For the sake of reducing toolchain combinations, only one variation is supported: x86 tools (MS default) with External ASL and no EBC. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Pete Batard --- BaseTools/Conf/tools_def.template | 108 ++++++++++++++++++++ BaseTools/set_vsprefix_envs.bat | 9 ++ Nt32Pkg/Sec/SecMain.inf | 2 + 3 files changed, 119 insertions(+) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.t= emplate index aebd7d558633..0346750886a2 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -74,6 +74,10 @@ DEFINE VS2015x86_BIN =3D ENV(VS2015_PREFIX)Vc\bin DEFINE VS2015x86_DLL =3D ENV(VS2015_PREFIX)Common7\IDE;DEF(VS2015x86_BI= N) DEFINE VS2015x86_BINX64 =3D DEF(VS2015x86_BIN)\x86_amd64 =20 +DEFINE VS2017_BIN =3D ENV(VS2017_PREFIX)bin\Hostx86 +DEFINE VS2017_BIN_IA32 =3D DEF(VS2017_BIN)\x86 +DEFINE VS2017_BIN_X64 =3D DEF(VS2017_BIN)\x64 + DEFINE WINSDK_BIN =3D ENV(WINSDK_PREFIX) DEFINE WINSDKx86_BIN =3D ENV(WINSDKx86_PREFIX) =20 @@ -93,6 +97,9 @@ DEFINE WINSDK8x86_BIN =3D ENV(WINSDK8x86_PREFIX)x64 DEFINE WINSDK81_BIN =3D ENV(WINSDK81_PREFIX)x86\ DEFINE WINSDK81x86_BIN =3D ENV(WINSDK81x86_PREFIX)x64 =20 +# Microsoft Visual Studio 2017 Community Edition +DEFINE WINSDK10_BIN =3D ENV(WINSDK10_PREFIX)x86 + # 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. @@ -318,6 +325,11 @@ DEFINE DTC_BIN =3D ENV(DTC_PREFIX)dtc # Required to build platforms or ACPI tables: # Intel(r) ACPI Compiler (iasl.exe) from # https://acpica.org/downloads +# VS2017 -win32- Requires: +# Microsoft Visual Studio 2017 Community Editi= on +# Intel(r) ACPI Compiler (iasl.exe) from https= ://acpica.org/downloads +# Unsupported: +# Building of EBC drivers # DDK3790 -win32- Requires: # Microsoft Windows Server 2003 Driver Develop= ment Kit (Microsoft WINDDK) version 3790.1830 # Optional: @@ -4060,6 +4072,102 @@ NOOPT_VS2015x86xASL_X64_DLINK_FLAGS =3D /NOLOGO = /NODEFAULTLIB /IGNORE:4001 /OPT *_VS2015x86xASL_EBC_SLINK_FLAGS =3D /lib /NOLOGO /MACHINE:EBC *_VS2015x86xASL_EBC_DLINK_FLAGS =3D "C:\Program Files (x86)\Intel\= EBC\Lib\EbcLib.lib" /NOLOGO /NODEFAULTLIB /MACHINE:EBC /OPT:REF /ENTRY:$(IM= AGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /MAP /ALIGN:32 /DRIVER =20 +##########################################################################= ########## +# +# Microsoft Visual Studio 2017 +# +# VS2017 - Microsoft Visual Studio 2017 Professional Edition with Intel= ASL +# ASL - Intel ACPI Source Language Compiler +##########################################################################= ########## +# VS2017 - Microsoft Visual Studio 2017 Professional Edition +*_VS2017_*_*_FAMILY =3D MSFT + +*_VS2017_*_MAKE_PATH =3D DEF(VS2017_BIN_IA32)\nmake.exe +*_VS2017_*_MAKE_FLAGS =3D /nologo +*_VS2017_*_RC_PATH =3D DEF(WINSDK10_BIN)\rc.exe + +*_VS2017_*_SLINK_FLAGS =3D /NOLOGO /LTCG +*_VS2017_*_APP_FLAGS =3D /nologo /E /TC +*_VS2017_*_PP_FLAGS =3D /nologo /E /TC /FIAutoGen.h +*_VS2017_*_VFRPP_FLAGS =3D /nologo /E /TC /DVFRCOMPILE /FI$(MOD= ULE_NAME)StrDefs.h +*_VS2017_*_DLINK2_FLAGS =3D + +*_VS2017_*_ASM16_PATH =3D EF(VS2017_BIN_IA32)\ml.exe + +################## +# ASL definitions +################## +*_VS2017_*_ASL_PATH =3D DEF(DEFAULT_WIN_ASL_BIN) +*_VS2017_*_ASL_FLAGS =3D DEF(DEFAULT_WIN_ASL_FLAGS) +*_VS2017_*_ASL_OUTFLAGS =3D DEF(DEFAULT_WIN_ASL_OUTFLAGS) +*_VS2017_*_ASLCC_FLAGS =3D DEF(MSFT_ASLCC_FLAGS) +*_VS2017_*_ASLPP_FLAGS =3D DEF(MSFT_ASLPP_FLAGS) +*_VS2017_*_ASLDLINK_FLAGS =3D DEF(MSFT_ASLDLINK_FLAGS) + +################## +# IA32 definitions +################## +*_VS2017_IA32_*_DLL =3D DEF(VS2017_BIN_IA32) + +*_VS2017_IA32_CC_PATH =3D DEF(VS2017_BIN_IA32)\cl.exe +*_VS2017_IA32_VFRPP_PATH =3D DEF(VS2017_BIN_IA32)\cl.exe +*_VS2017_IA32_SLINK_PATH =3D DEF(VS2017_BIN_IA32)\lib.exe +*_VS2017_IA32_DLINK_PATH =3D DEF(VS2017_BIN_IA32)\link.exe +*_VS2017_IA32_APP_PATH =3D DEF(VS2017_BIN_IA32)\cl.exe +*_VS2017_IA32_PP_PATH =3D DEF(VS2017_BIN_IA32)\cl.exe +*_VS2017_IA32_ASM_PATH =3D DEF(VS2017_BIN_IA32)\ml.exe +*_VS2017_IA32_ASLCC_PATH =3D DEF(VS2017_BIN_IA32)\cl.exe +*_VS2017_IA32_ASLPP_PATH =3D DEF(VS2017_BIN_IA32)\cl.exe +*_VS2017_IA32_ASLDLINK_PATH =3D DEF(VS2017_BIN_IA32)\link.exe + + *_VS2017_IA32_MAKE_FLAGS =3D /nologo + DEBUG_VS2017_IA32_CC_FLAGS =3D /nologo /arch:IA32 /c /WX /GS- /W4 /= Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Gw = /Oi- +RELEASE_VS2017_IA32_CC_FLAGS =3D /nologo /arch:IA32 /c /WX /GS- /W4 /= Gs32768 /D UNICODE /O1b2 /GL /FIAutoGen.h /EHs-c- /GR- /GF /Gw /Oi- +NOOPT_VS2017_IA32_CC_FLAGS =3D /nologo /arch:IA32 /c /WX /GS- /W4 /= Gs32768 /D UNICODE /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /Od /Oi- + + DEBUG_VS2017_IA32_ASM_FLAGS =3D /nologo /c /WX /W3 /Cx /coff /Zd /Zi +RELEASE_VS2017_IA32_ASM_FLAGS =3D /nologo /c /WX /W3 /Cx /coff /Zd +NOOPT_VS2017_IA32_ASM_FLAGS =3D /nologo /c /WX /W3 /Cx /coff /Zd /Zi + + DEBUG_VS2017_IA32_NASM_FLAGS =3D -Ox -f win32 -g +RELEASE_VS2017_IA32_NASM_FLAGS =3D -Ox -f win32 +NOOPT_VS2017_IA32_NASM_FLAGS =3D -O0 -f win32 -g + + DEBUG_VS2017_IA32_DLINK_FLAGS =3D /NOLOGO /NODEFAULTLIB /IGNORE:4001 /= OPT:REF /OPT:ICF=3D10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /M= ACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVI= CE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG +RELEASE_VS2017_IA32_DLINK_FLAGS =3D /NOLOGO /NODEFAULTLIB /IGNORE:4001 /= IGNORE:4254 /OPT:REF /OPT:ICF=3D10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTIO= N:.pdata,D /MACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:E= FI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /MERGE:.rdata=3D.data +NOOPT_VS2017_IA32_DLINK_FLAGS =3D /NOLOGO /NODEFAULTLIB /IGNORE:4001 /= OPT:REF /OPT:ICF=3D10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /M= ACHINE:X86 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVI= CE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG + +################## +# X64 definitions +################## +*_VS2017_X64_*_DLL =3D DEF(VS2017_BIN_X64) + +*_VS2017_X64_CC_PATH =3D DEF(VS2017_BIN_X64)\cl.exe +*_VS2017_X64_PP_PATH =3D DEF(VS2017_BIN_X64)\cl.exe +*_VS2017_X64_APP_PATH =3D DEF(VS2017_BIN_X64)\cl.exe +*_VS2017_X64_VFRPP_PATH =3D DEF(VS2017_BIN_X64)\cl.exe +*_VS2017_X64_ASM_PATH =3D DEF(VS2017_BIN_X64)\ml64.exe +*_VS2017_X64_SLINK_PATH =3D DEF(VS2017_BIN_X64)\lib.exe +*_VS2017_X64_DLINK_PATH =3D DEF(VS2017_BIN_X64)\link.exe +*_VS2017_X64_ASLCC_PATH =3D DEF(VS2017_BIN_X64)\cl.exe +*_VS2017_X64_ASLPP_PATH =3D DEF(VS2017_BIN_X64)\cl.exe +*_VS2017_X64_ASLDLINK_PATH =3D DEF(VS2017_BIN_X64)\link.exe + + DEBUG_VS2017_X64_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /D UN= ICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Gw /Oi- +RELEASE_VS2017_X64_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /D UN= ICODE /O1b2s /GL /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Gw /Oi- +NOOPT_VS2017_X64_CC_FLAGS =3D /nologo /c /WX /GS- /W4 /Gs32768 /D UN= ICODE /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm /Od /Oi- + + DEBUG_VS2017_X64_ASM_FLAGS =3D /nologo /c /WX /W3 /Cx /Zd /Zi +RELEASE_VS2017_X64_ASM_FLAGS =3D /nologo /c /WX /W3 /Cx /Zd +NOOPT_VS2017_X64_ASM_FLAGS =3D /nologo /c /WX /W3 /Cx /Zd /Zi + + DEBUG_VS2017_X64_NASM_FLAGS =3D -Ox -f win64 -g +RELEASE_VS2017_X64_NASM_FLAGS =3D -Ox -f win64 +NOOPT_VS2017_X64_NASM_FLAGS =3D -O0 -f win64 -g + + DEBUG_VS2017_X64_DLINK_FLAGS =3D /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OP= T:REF /OPT:ICF=3D10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Mac= hine:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE= _DRIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG +RELEASE_VS2017_X64_DLINK_FLAGS =3D /NOLOGO /NODEFAULTLIB /IGNORE:4001 /IG= NORE:4254 /OPT:REF /OPT:ICF=3D10 /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=3D.data +NOOPT_VS2017_X64_DLINK_FLAGS =3D /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:= REF /OPT:ICF=3D10 /MAP /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /Machi= ne:X64 /LTCG /DLL /ENTRY:$(IMAGE_ENTRY_POINT) /SUBSYSTEM:EFI_BOOT_SERVICE_D= RIVER /SAFESEH:NO /BASE:0 /DRIVER /DEBUG =20 ##########################################################################= ########## # diff --git a/BaseTools/set_vsprefix_envs.bat b/BaseTools/set_vsprefix_envs.= bat index b05b1d222083..f45d50ac2de0 100644 --- a/BaseTools/set_vsprefix_envs.bat +++ b/BaseTools/set_vsprefix_envs.bat @@ -90,6 +90,15 @@ if defined VS140COMNTOOLS ( ) ) =20 +if defined VS150COMNTOOLS ( + if not defined VS2017_PREFIX ( + set "VS2017_PREFIX=3D%VCToolsInstallDir%" + ) + if not defined WINSDK10_PREFIX ( + set "WINSDK10_PREFIX=3D%WindowsSdkVerBinPath%" + ) +) + if not defined WINDDK3790_PREFIX ( set WINDDK3790_PREFIX=3DC:\WINDDK\3790.1830\bin\ ) diff --git a/Nt32Pkg/Sec/SecMain.inf b/Nt32Pkg/Sec/SecMain.inf index f2e1520b6dac..aae919415cf6 100644 --- a/Nt32Pkg/Sec/SecMain.inf +++ b/Nt32Pkg/Sec/SecMain.inf @@ -71,6 +71,7 @@ [BuildOptions] MSFT:*_*_IA32_DLINK_FLAGS =3D=3D /out:"$(BIN_DIR)\SecMain.exe" /base:0x1= 0000000 /pdb:"$(BIN_DIR)\SecMain.pdb" /LIBPATH:"$(VCINSTALLDIR)\Lib" /LIBPA= TH:"$(VCINSTALLDIR)\PlatformSdk\Lib" /LIBPATH:"%UniversalCRTSdkDir%lib\%UCR= TVersion%\ucrt\x86" /LIBPATH:"%WindowsSdkDir%lib\%WindowsSDKLibVersion%\um\= x86" /NOLOGO /SUBSYSTEM:CONSOLE /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /D= EBUG /MACHINE:I386 /LTCG Kernel32.lib MSVCRTD.lib Gdi32.lib User32.lib Winm= m.lib Advapi32.lib MSFT:*_VS2015_IA32_DLINK_FLAGS =3D=3D /out:"$(BIN_DIR)\SecMain.exe" /bas= e:0x10000000 /pdb:"$(BIN_DIR)\SecMain.pdb" /LIBPATH:"$(VCINSTALLDIR)\Lib" /= LIBPATH:"$(VCINSTALLDIR)\PlatformSdk\Lib" /LIBPATH:"%UniversalCRTSdkDir%lib= \%UCRTVersion%\ucrt\x86" /LIBPATH:"%WindowsSdkDir%lib\%WindowsSDKLibVersion= %\um\x86" /NOLOGO /SUBSYSTEM:CONSOLE /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:R= EF /DEBUG /MACHINE:I386 /LTCG Kernel32.lib MSVCRTD.lib vcruntimed.lib ucrtd= .lib Gdi32.lib User32.lib Winmm.lib Advapi32.lib MSFT:*_VS2015x86_IA32_DLINK_FLAGS =3D=3D /out:"$(BIN_DIR)\SecMain.exe" /= base:0x10000000 /pdb:"$(BIN_DIR)\SecMain.pdb" /LIBPATH:"$(VCINSTALLDIR)\Lib= " /LIBPATH:"$(VCINSTALLDIR)\PlatformSdk\Lib" /LIBPATH:"%UniversalCRTSdkDir%= lib\%UCRTVersion%\ucrt\x86" /LIBPATH:"%WindowsSdkDir%lib\%WindowsSDKLibVers= ion%\um\x86" /NOLOGO /SUBSYSTEM:CONSOLE /NODEFAULTLIB /IGNORE:4086 /MAP /OP= T:REF /DEBUG /MACHINE:I386 /LTCG Kernel32.lib MSVCRTD.lib vcruntimed.lib uc= rtd.lib Gdi32.lib User32.lib Winmm.lib Advapi32.lib + MSFT:*_VS2017_IA32_DLINK_FLAGS =3D=3D /out:"$(BIN_DIR)\SecMain.exe" /bas= e:0x10000000 /pdb:"$(BIN_DIR)\SecMain.pdb" /LIBPATH:"$(VCINSTALLDIR)\Lib" /= LIBPATH:"$(VCINSTALLDIR)\PlatformSdk\Lib" /LIBPATH:"%UniversalCRTSdkDir%lib= \%UCRTVersion%\ucrt\x86" /LIBPATH:"%WindowsSdkDir%lib\%WindowsSDKLibVersion= %\um\x86" /NOLOGO /SUBSYSTEM:CONSOLE /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:R= EF /DEBUG /MACHINE:I386 /LTCG Kernel32.lib MSVCRTD.lib vcruntimed.lib ucrtd= .lib Gdi32.lib User32.lib Winmm.lib Advapi32.lib MSFT:*_*_IA32_CC_FLAGS =3D=3D /nologo /W4 /WX /Gy /c /D UNICODE /Od /FIA= utoGen.h /EHs-c- /GF /Gs8192 /Zi /Gm /D _CRT_SECURE_NO_WARNINGS /D _CRT_SEC= URE_NO_DEPRECATE MSFT:*_*_IA32_PP_FLAGS =3D=3D /nologo /E /TC /FIAutoGen.h MSFT:*_*_IA32_ASM_FLAGS =3D=3D /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi @@ -79,6 +80,7 @@ [BuildOptions] MSFT:*_*_X64_DLINK_FLAGS =3D=3D /out:"$(BIN_DIR)\SecMain.exe" /base:0x10= 000000 /pdb:"$(BIN_DIR)\SecMain.pdb" /LIBPATH:"$(VCINSTALLDIR)\Lib\AMD64" /= LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersion%\ucrt\x64" /LIBPATH:"%Windows= SdkDir%lib\%WindowsSDKLibVersion%\um\x64" /NOLOGO /SUBSYSTEM:CONSOLE /NODEF= AULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:AMD64 /LTCG Kernel32.lib= MSVCRTD.lib Gdi32.lib User32.lib Winmm.lib Advapi32.lib MSFT:*_VS2015_X64_DLINK_FLAGS =3D=3D /out:"$(BIN_DIR)\SecMain.exe" /base= :0x10000000 /pdb:"$(BIN_DIR)\SecMain.pdb" /LIBPATH:"$(VCINSTALLDIR)\Lib\AMD= 64" /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersion%\ucrt\x64" /LIBPATH:"%Wi= ndowsSdkDir%lib\%WindowsSDKLibVersion%\um\x64" /NOLOGO /SUBSYSTEM:CONSOLE /= NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:AMD64 /LTCG Kernel3= 2.lib MSVCRTD.lib vcruntimed.lib ucrtd.lib Gdi32.lib User32.lib Winmm.lib A= dvapi32.lib MSFT:*_VS2015x86_X64_DLINK_FLAGS =3D=3D /out:"$(BIN_DIR)\SecMain.exe" /b= ase:0x10000000 /pdb:"$(BIN_DIR)\SecMain.pdb" /LIBPATH:"$(VCINSTALLDIR)\Lib\= AMD64" /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersion%\ucrt\x64" /LIBPATH:"= %WindowsSdkDir%lib\%WindowsSDKLibVersion%\um\x64" /NOLOGO /SUBSYSTEM:CONSOL= E /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:AMD64 /LTCG Kern= el32.lib MSVCRTD.lib vcruntimed.lib ucrtd.lib Gdi32.lib User32.lib Winmm.li= b Advapi32.lib + MSFT:*_VS2017_X64_DLINK_FLAGS =3D=3D /out:"$(BIN_DIR)\SecMain.exe" /base= :0x10000000 /pdb:"$(BIN_DIR)\SecMain.pdb" /LIBPATH:"$(VCINSTALLDIR)\Lib\AMD= 64" /LIBPATH:"%UniversalCRTSdkDir%lib\%UCRTVersion%\ucrt\x64" /LIBPATH:"%Wi= ndowsSdkDir%lib\%WindowsSDKLibVersion%\um\x64" /NOLOGO /SUBSYSTEM:CONSOLE /= NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:AMD64 /LTCG Kernel3= 2.lib MSVCRTD.lib vcruntimed.lib ucrtd.lib Gdi32.lib User32.lib Winmm.lib A= dvapi32.lib MSFT:*_*_X64_CC_FLAGS =3D=3D /nologo /W4 /WX /Gy /c /D UNICODE /Od /FIAu= toGen.h /EHs-c- /GF /Gs8192 /Zi /Gm /D _CRT_SECURE_NO_WARNINGS /D _CRT_SECU= RE_NO_DEPRECATE MSFT:*_*_X64_PP_FLAGS =3D=3D /nologo /E /TC /FIAutoGen.h MSFT:*_*_X64_ASM_FLAGS =3D=3D /nologo /W3 /WX /c /Cx /Zd /W0 /Zi --=20 2.14.2 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel