CloverBootloader/Library/OsxBdsPlatformLib/PlatformBds.inf
Sergey Isakov 74fb388b59 forbid lto for CloverEFI
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-10-05 08:51:42 +03:00

90 lines
2.4 KiB
INI

## @file
#
# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
# http://opensource.org/licenses/bsd-license.php
#
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
# Module Name:
#
# PlatformBds.inf
#
# Abstract:
#
# Component description file for Bds module.
#
##
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = DuetBds
FILE_GUID = A6F691AC-31C8-4444-854C-E2C1A6950F92
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
LIBRARY_CLASS = PlatformBdsLib|DXE_DRIVER
[Sources]
BdsPlatform.c
PlatformData.c
BdsPlatform.h
AcpiTable.h
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
CloverPkg.dec
IntelFrameworkPkg/IntelFrameworkPkg.dec
IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
[LibraryClasses]
BaseLib
MemoryAllocationLib
UefiBootServicesTableLib
BaseMemoryLib
# DebugLib
PcdLib
GenericBdsLib
HobLib
UefiLib
DevicePathLib
[Guids]
gEfiGlobalVariableGuid
gEfiPciExpressBaseAddressGuid
gEfiAcpi10TableGuid
gEfiAcpi20TableGuid
gEfiMpsTableGuid
gEfiSmbiosTableGuid
gEfiSmbios3TableGuid
gEfiAcpiTableGuid
gLdrMemoryDescriptorGuid
[Protocols]
gEfiAcpiTableProtocolGuid
gEfiLegacy8259ProtocolGuid
gEfiCpuArchProtocolGuid
[Depex]
gEfiLegacy8259ProtocolGuid
# [Depex]
#gEfiAcpiTableProtocolGuid AND gEfiSimpleFileSystemProtocolGuid AND gMsgLogProtocolGuid
[Pcd]
# gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut
gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile
[BuildOptions]
# TIMEOUTFP=0 -- silent boot
XCODE:*_*_*_CC_FLAGS = -Os -fno-lto -UUSING_LTO -DTIMEOUTFP=0 -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -O0 -fno-lto -DTIMEOUTFP=0 -DMDEPKG_NDEBUG
MSFT:*_*_*_CC_FLAGS = -Os -DTIMEOUTFP=3 /D MDEPKG_NDEBUG