pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/ovmf Update to 0.0.20181116



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6fc88de2e64f
branches:  trunk
changeset: 391968:6fc88de2e64f
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Tue Feb 19 16:45:45 2019 +0000

description:
Update to 0.0.20181116

* Restrict supported platforms to i386 and amd64
* Build and install firmware(s) for i386 (and amd64)

diffstat:

 sysutils/ovmf/Makefile                                                                       |   43 +-
 sysutils/ovmf/PLIST                                                                          |    5 +-
 sysutils/ovmf/distinfo                                                                       |   21 +-
 sysutils/ovmf/patches/patch-BaseTools_Conf_tools__def.template                               |  277 ----------
 sysutils/ovmf/patches/patch-BaseTools_Source_C_Common_CommonLib.c                            |   13 -
 sysutils/ovmf/patches/patch-CryptoPkg_Library_OpensslLib_openssl_.travis-create-release.sh   |   15 +
 sysutils/ovmf/patches/patch-EmulatorPkg_build.sh                                             |   31 -
 sysutils/ovmf/patches/patch-MdeModulePkg_Universal_Acpi_S3SaveStateDxe_InternalS3SaveState.h |   22 -
 sysutils/ovmf/patches/patch-MdeModulePkg_Universal_Acpi_S3SaveStateDxe_S3SaveState.c         |   22 -
 sysutils/ovmf/patches/patch-MdeModulePkg_Universal_Variable_RuntimeDxe_Variable.c            |   13 -
 sysutils/ovmf/patches/patch-MdePkg_Include_Library_UefiLib.h                                 |   13 -
 sysutils/ovmf/patches/patch-MdePkg_Include_Protocol_S3SaveState.h                            |   22 -
 sysutils/ovmf/patches/patch-MdePkg_Library_UefiLib_UefiLib.c                                 |   13 -
 sysutils/ovmf/patches/patch-UefiCpuPkg_Library_MpInitLib_DxeMpLib.c                          |   12 -
 14 files changed, 54 insertions(+), 468 deletions(-)

diffs (truncated from 605 to 300 lines):

diff -r bf1c6a0d0292 -r 6fc88de2e64f sysutils/ovmf/Makefile
--- a/sysutils/ovmf/Makefile    Tue Feb 19 16:29:10 2019 +0000
+++ b/sysutils/ovmf/Makefile    Tue Feb 19 16:45:45 2019 +0000
@@ -1,25 +1,38 @@
-# $NetBSD: Makefile,v 1.4 2018/04/20 15:34:36 maya Exp $
+# $NetBSD: Makefile,v 1.5 2019/02/19 16:45:45 ryoon Exp $
 
-GITHUB_PROJECT=        edk2
-PKGNAME=       OVMF-0.0.2017624
-DISTNAME=      vUDK2017
+PKGNAME=       OVMF-0.0.20181116
+DISTNAME=      edk2-20181116
+MASTER_SITES=  ${MASTER_SITE_LOCAL}
 CATEGORIES=    sysutils
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=tianocore/}
-DIST_SUBDIR=   ${GITHUB_PROJECT}
-GITHUB_TAG=    ${DISTNAME}
+# Require openssl submodule
+#DISTNAME=     edk2-${GITHUB_TAG}
+#MASTER_SITES= ${MASTER_SITE_GITHUB:=tianocore/}
+#GITHUB_PROJECT=       edk2
+#GITHUB_TAG=   edk2-stable201811
+#MASTER_SITES= ${MASTER_SITE_GITHUB:=tianocore/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/tianocore/edk2/
 COMMENT=       Sample UEFI firmware for virtual machines
 LICENSE=       modified-bsd
 
-WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
+SSP_SUPPORTED=         no
+
+.include "../../mk/bsd.prefs.mk"
+ONLY_FOR_PLATFORM=     *-*-i386 *-*-x86_64
+
+PLIST_VARS+=   x64
+
+.if !empty(MACHINE_PLATFORM:M*-*-i386)
+TARGET_ARCHS=  IA32
+.elif !empty(MACHINE_PLATFORM:M*-*-x86_64)
+TARGET_ARCHS=  IA32 X64
+PLIST.x64=     yes
+.endif
 
 USE_TOOLS+=    gmake bash
 USE_LANGUAGES= c c++
 
-SSP_SUPPORTED= no
-
 PYTHON_VERSIONS_ACCEPTED=      27
 SUBST_CLASSES+=                        python
 SUBST_STAGE.python=            pre-configure
@@ -29,12 +42,16 @@
 SUBST_SED.python=              -e 's,python2,${PYTHONBIN},g'
 
 do-build:
+.for ARCH in ${TARGET_ARCHS}
        cd ${WRKSRC}/OvmfPkg && \
-       ${SETENV} ${MAKE_ENV} ./build.sh
+       ${SETENV} ${MAKE_ENV} ./build.sh -a ${ARCH}
+       ${CP} ${WRKSRC}/Build/Ovmf${ARCH:S/IA/Ia/}/*/FV/OVMF.fd \
+               ${WRKSRC}/OVMF${ARCH}.fd
+.endfor
 
-INSTALLATION_DIRS+=    share
+INSTALLATION_DIRS+=    share/ovmf
 do-install:
-       ${INSTALL_DATA} ${WRKSRC}/Build/Ovmf*/*/FV/OVMF.fd ${DESTDIR}${PREFIX}/share/OVMF.fd
+       ${INSTALL_DATA} ${WRKSRC}/OVMF*.fd ${DESTDIR}${PREFIX}/share/ovmf/
 
 BUILD_DEPENDS+=        acpica-utils-[0-9]*:../../sysutils/acpica-utils
 BUILD_DEPENDS+=        nasm-[0-9]*:../../devel/nasm
diff -r bf1c6a0d0292 -r 6fc88de2e64f sysutils/ovmf/PLIST
--- a/sysutils/ovmf/PLIST       Tue Feb 19 16:29:10 2019 +0000
+++ b/sysutils/ovmf/PLIST       Tue Feb 19 16:45:45 2019 +0000
@@ -1,2 +1,3 @@
-@comment $NetBSD: PLIST,v 1.2 2017/10/23 14:42:45 maya Exp $
-share/OVMF.fd
+@comment $NetBSD: PLIST,v 1.3 2019/02/19 16:45:45 ryoon Exp $
+share/ovmf/OVMFIA32.fd
+${PLIST.x64}share/ovmf/OVMFX64.fd
diff -r bf1c6a0d0292 -r 6fc88de2e64f sysutils/ovmf/distinfo
--- a/sysutils/ovmf/distinfo    Tue Feb 19 16:29:10 2019 +0000
+++ b/sysutils/ovmf/distinfo    Tue Feb 19 16:45:45 2019 +0000
@@ -1,17 +1,8 @@
-$NetBSD: distinfo,v 1.2 2018/12/27 15:12:36 joerg Exp $
+$NetBSD: distinfo,v 1.3 2019/02/19 16:45:45 ryoon Exp $
 
-SHA1 (edk2/vUDK2017.tar.gz) = 5bfb90aedb958d747eb8803b2a60d416842a39d6
-RMD160 (edk2/vUDK2017.tar.gz) = f8260ec115b2db0816cd9eb012b7ded77b151840
-SHA512 (edk2/vUDK2017.tar.gz) = d941a661d570b0f69962105920b3524c4aac1f4883468914305eb68015148d70f6593c52872a79a6143cf87dc44e9ce2b8957834b4524cb8a04b12473c6d7d81
-Size (edk2/vUDK2017.tar.gz) = 38737483 bytes
-SHA1 (patch-BaseTools_Conf_tools__def.template) = 4d89f44d4b952bbbef17e544532bb17e972bed83
-SHA1 (patch-BaseTools_Source_C_Common_CommonLib.c) = a0728ef64f805587566c8cd7929798e337dbe02a
-SHA1 (patch-EmulatorPkg_build.sh) = 3ad9cc36a05d5763b1b6eba75ae58ac16751a6fe
-SHA1 (patch-MdeModulePkg_Universal_Acpi_S3SaveStateDxe_InternalS3SaveState.h) = 6ef1e77f59cad6a25906c2cc01be2998e5992925
-SHA1 (patch-MdeModulePkg_Universal_Acpi_S3SaveStateDxe_S3SaveState.c) = 3df87f9cd05f7c0751b7d4c3b6653995093dce74
-SHA1 (patch-MdeModulePkg_Universal_Variable_RuntimeDxe_Variable.c) = c9338ed699679cf3aa5e0a1940612b2a410c2c82
-SHA1 (patch-MdePkg_Include_Library_UefiLib.h) = 72a8ec0ffe3ba4c29540c62f972bf63ee6dea5d9
-SHA1 (patch-MdePkg_Include_Protocol_S3SaveState.h) = 7e57635ff6690b605ba1539bdb09ef650fca6a6f
-SHA1 (patch-MdePkg_Library_UefiLib_UefiLib.c) = 780edf9fd4b9c343f380046d6e9f8b4623c03127
+SHA1 (edk2-20181116.tar.gz) = 17a398f19f7633e4e6b1a7c40ff50509c2ee400c
+RMD160 (edk2-20181116.tar.gz) = 7c3b4e4768a45bce7e19a0890de8a489164061ff
+SHA512 (edk2-20181116.tar.gz) = 40e188c4b195a461d1f8890251470767b650e4a136883d69aecbc5eaeae7c081d2b5bf45d6143132c4bdc2d32e5b13875b15cf753160db4bc644925158a46839
+Size (edk2-20181116.tar.gz) = 44711685 bytes
+SHA1 (patch-CryptoPkg_Library_OpensslLib_openssl_.travis-create-release.sh) = c094db893686eff2ca6d3e49b3d4427233cc3fff
 SHA1 (patch-OvmfPkg_build.sh) = 7555880aaadfda4954b0bf8beab9a5441cc8374c
-SHA1 (patch-UefiCpuPkg_Library_MpInitLib_DxeMpLib.c) = cfc2430249f1af7a1d91b3248fba42fdbb2fd6fb
diff -r bf1c6a0d0292 -r 6fc88de2e64f sysutils/ovmf/patches/patch-BaseTools_Conf_tools__def.template
--- a/sysutils/ovmf/patches/patch-BaseTools_Conf_tools__def.template    Tue Feb 19 16:29:10 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,277 +0,0 @@
-$NetBSD: patch-BaseTools_Conf_tools__def.template,v 1.2 2018/12/27 15:12:36 joerg Exp $
-
-Avoid -flto (causes issues on netbsd)
-invoke 'gmake' rather than 'make'
-call 'ar' rather than 'gcc-ar'
-
-
---- BaseTools/Conf/tools_def.template.orig     2017-06-13 08:26:05.000000000 +0000
-+++ BaseTools/Conf/tools_def.template
-@@ -4370,7 +4370,7 @@ DEFINE GCC_AARCH64_RC_FLAGS        = -I 
- 
- DEFINE GCC44_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
- DEFINE GCC44_IA32_CC_FLAGS           = DEF(GCC44_ALL_CC_FLAGS) -m32 -march=i586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchronous-unwind-tables
--DEFINE GCC44_X64_CC_FLAGS            = DEF(GCC44_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
-+DEFINE GCC44_X64_CC_FLAGS            = DEF(GCC44_ALL_CC_FLAGS) -m64 -fno-stack-protector "-DEFIAPI=__attribute__((ms_abi))" -mno-red-zone -Wno-address -mcmodel=small -fpie 
-fno-asynchronous-unwind-tables
- DEFINE GCC44_IA32_X64_DLINK_COMMON   = -nostdlib -Wl,-n,-q,--gc-sections -z common-page-size=0x20
- DEFINE GCC44_IA32_X64_ASLDLINK_FLAGS = DEF(GCC44_IA32_X64_DLINK_COMMON) -Wl,--entry,ReferenceAcpiTable -u ReferenceAcpiTable
- DEFINE GCC44_IA32_X64_DLINK_FLAGS    = DEF(GCC44_IA32_X64_DLINK_COMMON) -Wl,--entry,$(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT) -Wl,-Map,$(DEST_DIR_DEBUG)/$(BASE_NAME).map
-@@ -4503,7 +4503,7 @@ DEFINE GCC5_AARCH64_ASLDLINK_FLAGS   = D
- *_UNIXGCC_*_*_FAMILY               = GCC
- *_UNIXGCC_*_*_BUILDRULEFAMILY      = GCCLD
- 
--*_UNIXGCC_*_MAKE_PATH                    = make
-+*_UNIXGCC_*_MAKE_PATH                    = gmake
- *_UNIXGCC_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
- 
- *_UNIXGCC_IA32_DLINK_FLAGS               = DEF(GCC_IA32_X64_DLINK_FLAGS) --image-base=0
-@@ -4590,7 +4590,7 @@ DEFINE GCC5_AARCH64_ASLDLINK_FLAGS   = D
- ####################################################################################
- *_GCC44_*_*_FAMILY               = GCC
- 
--*_GCC44_*_MAKE_PATH                    = DEF(GCC44_IA32_PREFIX)make
-+*_GCC44_*_MAKE_PATH                    = DEF(GCC44_IA32_PREFIX)gmake
- *_GCC44_*_*_DLL                        = ENV(GCC44_DLL)
- *_GCC44_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
- 
-@@ -4666,7 +4666,7 @@ RELEASE_GCC44_X64_CC_FLAGS       = DEF(G
- ####################################################################################
- *_GCC45_*_*_FAMILY               = GCC
- 
--*_GCC45_*_MAKE_PATH                    = DEF(GCC45_IA32_PREFIX)make
-+*_GCC45_*_MAKE_PATH                    = DEF(GCC45_IA32_PREFIX)gmake
- *_GCC45_*_*_DLL                        = ENV(GCC45_DLL)
- *_GCC45_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
- 
-@@ -4742,7 +4742,7 @@ RELEASE_GCC45_X64_CC_FLAGS       = DEF(G
- ####################################################################################
- *_GCC46_*_*_FAMILY               = GCC
- 
--*_GCC46_*_MAKE_PATH                    = DEF(GCC46_IA32_PREFIX)make
-+*_GCC46_*_MAKE_PATH                    = DEF(GCC46_IA32_PREFIX)gmake
- *_GCC46_*_*_DLL                        = ENV(GCC46_DLL)
- *_GCC46_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
- 
-@@ -4851,7 +4851,7 @@ RELEASE_GCC46_ARM_CC_FLAGS       = DEF(G
- ####################################################################################
- *_GCC47_*_*_FAMILY               = GCC
- 
--*_GCC47_*_MAKE_PATH                    = DEF(GCC47_IA32_PREFIX)make
-+*_GCC47_*_MAKE_PATH                    = DEF(GCC47_IA32_PREFIX)gmake
- *_GCC47_*_*_DLL                        = ENV(GCC47_DLL)
- *_GCC47_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
- 
-@@ -4988,7 +4988,7 @@ RELEASE_GCC47_AARCH64_CC_FLAGS   = DEF(G
- ####################################################################################
- *_GCC48_*_*_FAMILY               = GCC
- 
--*_GCC48_*_MAKE_PATH                    = DEF(GCC48_IA32_PREFIX)make
-+*_GCC48_*_MAKE_PATH                    = DEF(GCC48_IA32_PREFIX)gmake
- *_GCC48_*_*_DLL                        = ENV(GCC48_DLL)
- *_GCC48_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
- 
-@@ -5125,7 +5125,7 @@ RELEASE_GCC48_AARCH64_CC_FLAGS   = DEF(G
- ####################################################################################
- *_GCC49_*_*_FAMILY               = GCC
- 
--*_GCC49_*_MAKE_PATH                    = DEF(GCC49_IA32_PREFIX)make
-+*_GCC49_*_MAKE_PATH                    = DEF(GCC49_IA32_PREFIX)gmake
- *_GCC49_*_*_DLL                        = ENV(GCC49_DLL)
- *_GCC49_*_ASL_PATH                     = DEF(UNIX_IASL_BIN)
- 
-@@ -5268,7 +5268,7 @@ RELEASE_GCC49_AARCH64_DLINK_FLAGS  = DEF
- ####################################################################################
- *_GCC5_*_*_FAMILY                = GCC
- 
--*_GCC5_*_MAKE_PATH               = DEF(GCC5_IA32_PREFIX)make
-+*_GCC5_*_MAKE_PATH               = DEF(GCC5_IA32_PREFIX)gmake
- *_GCC5_*_*_DLL                   = ENV(GCC5_DLL)
- *_GCC5_*_ASL_PATH                = DEF(UNIX_IASL_BIN)
- 
-@@ -5285,7 +5285,7 @@ RELEASE_GCC49_AARCH64_DLINK_FLAGS  = DEF
- ##################
- *_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_SLINK_PATH           = DEF(GCC5_IA32_PREFIX)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
-@@ -5303,11 +5303,11 @@ RELEASE_GCC49_AARCH64_DLINK_FLAGS  = DEF
- *_GCC5_IA32_OBJCOPY_FLAGS        =
- *_GCC5_IA32_NASM_FLAGS           = -f elf32
- 
--  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
-+  DEBUG_GCC5_IA32_CC_FLAGS       = DEF(GCC5_IA32_CC_FLAGS) -Os
-+  DEBUG_GCC5_IA32_DLINK_FLAGS    = DEF(GCC5_IA32_X64_DLINK_FLAGS) -Os -Wl,-m,elf_i386,--oformat=elf32-i386
- 
--RELEASE_GCC5_IA32_CC_FLAGS       = DEF(GCC5_IA32_CC_FLAGS) -flto -Os -Wno-unused-but-set-variable
--RELEASE_GCC5_IA32_DLINK_FLAGS    = DEF(GCC5_IA32_X64_DLINK_FLAGS) -flto -Os -Wl,-m,elf_i386,--oformat=elf32-i386
-+RELEASE_GCC5_IA32_CC_FLAGS       = DEF(GCC5_IA32_CC_FLAGS) -Os -Wno-unused-but-set-variable
-+RELEASE_GCC5_IA32_DLINK_FLAGS    = DEF(GCC5_IA32_X64_DLINK_FLAGS) -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
-@@ -5317,7 +5317,7 @@ RELEASE_GCC5_IA32_DLINK_FLAGS    = DEF(G
- ##################
- *_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_SLINK_PATH            = DEF(GCC5_X64_PREFIX)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
-@@ -5335,11 +5335,11 @@ RELEASE_GCC5_IA32_DLINK_FLAGS    = DEF(G
- *_GCC5_X64_OBJCOPY_FLAGS         =
- *_GCC5_X64_NASM_FLAGS            = -f elf64
- 
--  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
-+  DEBUG_GCC5_X64_CC_FLAGS        = DEF(GCC5_X64_CC_FLAGS) -DUSING_LTO -Os
-+  DEBUG_GCC5_X64_DLINK_FLAGS     = DEF(GCC5_X64_DLINK_FLAGS) -Os
- 
--RELEASE_GCC5_X64_CC_FLAGS        = DEF(GCC5_X64_CC_FLAGS) -flto -DUSING_LTO -Os -Wno-unused-but-set-variable
--RELEASE_GCC5_X64_DLINK_FLAGS     = DEF(GCC5_X64_DLINK_FLAGS) -flto -Os
-+RELEASE_GCC5_X64_CC_FLAGS        = DEF(GCC5_X64_CC_FLAGS) -DUSING_LTO -Os -Wno-unused-but-set-variable
-+RELEASE_GCC5_X64_DLINK_FLAGS     = DEF(GCC5_X64_DLINK_FLAGS) -Os
- 
-   NOOPT_GCC5_X64_CC_FLAGS        = DEF(GCC5_X64_CC_FLAGS) -O0
-   NOOPT_GCC5_X64_DLINK_FLAGS     = DEF(GCC5_X64_DLINK_FLAGS) -O0
-@@ -5348,7 +5348,7 @@ RELEASE_GCC5_X64_DLINK_FLAGS     = DEF(G
- # GCC5 ARM definitions
- ##################
- *_GCC5_ARM_CC_PATH               = ENV(GCC5_ARM_PREFIX)gcc
--*_GCC5_ARM_SLINK_PATH            = ENV(GCC5_ARM_PREFIX)gcc-ar
-+*_GCC5_ARM_SLINK_PATH            = ENV(GCC5_ARM_PREFIX)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
-@@ -5372,8 +5372,8 @@ RELEASE_GCC5_X64_DLINK_FLAGS     = DEF(G
-   DEBUG_GCC5_ARM_CC_FLAGS        = DEF(GCC5_ARM_CC_FLAGS) -O0
-   DEBUG_GCC5_ARM_DLINK_FLAGS     = DEF(GCC5_ARM_DLINK_FLAGS)
- 
--RELEASE_GCC5_ARM_CC_FLAGS        = DEF(GCC5_ARM_CC_FLAGS) -flto -Wno-unused-but-set-variable
--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
-+RELEASE_GCC5_ARM_CC_FLAGS        = DEF(GCC5_ARM_CC_FLAGS) -Wno-unused-but-set-variable
-+RELEASE_GCC5_ARM_DLINK_FLAGS     = DEF(GCC5_ARM_DLINK_FLAGS) -Os -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-arm -Wl,-plugin-opt=-pass-through=-llto-arm
- 
-   NOOPT_GCC5_ARM_CC_FLAGS        = DEF(GCC5_ARM_CC_FLAGS) -O0
-   NOOPT_GCC5_ARM_DLINK_FLAGS     = DEF(GCC5_ARM_DLINK_FLAGS) -O0
-@@ -5382,7 +5382,7 @@ RELEASE_GCC5_ARM_DLINK_FLAGS     = DEF(G
- # GCC5 AARCH64 definitions
- ##################
- *_GCC5_AARCH64_CC_PATH           = ENV(GCC5_AARCH64_PREFIX)gcc
--*_GCC5_AARCH64_SLINK_PATH        = ENV(GCC5_AARCH64_PREFIX)gcc-ar
-+*_GCC5_AARCH64_SLINK_PATH        = ENV(GCC5_AARCH64_PREFIX)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
-@@ -5406,8 +5406,8 @@ RELEASE_GCC5_ARM_DLINK_FLAGS     = DEF(G
-   DEBUG_GCC5_AARCH64_DLINK_FLAGS = DEF(GCC5_AARCH64_DLINK_FLAGS) -z common-page-size=0x1000
-   DEBUG_GCC5_AARCH64_DLINK_XIPFLAGS = -z common-page-size=0x20
- 
--RELEASE_GCC5_AARCH64_CC_FLAGS    = DEF(GCC5_AARCH64_CC_FLAGS) -flto -Wno-unused-but-set-variable -mcmodel=tiny -fomit-frame-pointer
--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
-+RELEASE_GCC5_AARCH64_CC_FLAGS    = DEF(GCC5_AARCH64_CC_FLAGS) -Wno-unused-but-set-variable -mcmodel=tiny -fomit-frame-pointer
-+RELEASE_GCC5_AARCH64_DLINK_FLAGS = DEF(GCC5_AARCH64_DLINK_FLAGS) -Os -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-aarch64 -Wl,-plugin-opt=-pass-through=-llto-aarch64
- 
-   NOOPT_GCC5_AARCH64_CC_FLAGS    = DEF(GCC5_AARCH64_CC_FLAGS) -O0 -mcmodel=small
-   NOOPT_GCC5_AARCH64_DLINK_FLAGS = DEF(GCC5_AARCH64_DLINK_FLAGS) -z common-page-size=0x1000 -O0
-@@ -5422,7 +5422,7 @@ RELEASE_GCC5_AARCH64_DLINK_FLAGS = DEF(G
- ####################################################################################
- *_CLANG35_*_*_FAMILY             = GCC
- 
--*_CLANG35_*_MAKE_PATH            = make
-+*_CLANG35_*_MAKE_PATH            = gmake
- *_CLANG35_*_*_DLL                = ENV(CLANG35_DLL)
- *_CLANG35_*_ASL_PATH             = DEF(UNIX_IASL_BIN)



Home | Main Index | Thread Index | Old Index