CloverBootloader/CloverEFI/CpuDxe/Cpu.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

71 lines
1.9 KiB
INI

## @file
#
# Copyright (c) 2006 - 2010, Intel Corporation
# All rights reserved. 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:
# Cpu.inf
#
# Abstract:
#
##
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = Cpu
FILE_GUID = 10527025-78B2-4d3e-A9DF-41E75C220F5A
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
ENTRY_POINT = InitializeCpu
[Packages]
CloverPkg.dec
MdePkg/MdePkg.dec
IntelFrameworkPkg/IntelFrameworkPkg.dec
[LibraryClasses]
UefiDriverEntryPoint
PrintLib
UefiBootServicesTableLib
BaseMemoryLib
[Sources.IA32]
Ia32/CpuInterrupt.asm |INTEL
Ia32/CpuInterrupt.asm |MSFT
# Ia32/CpuInterrupt.S | GCC
Ia32/CpuInterrupt.nasm |GCC
[Sources.X64]
X64/CpuInterrupt.asm | INTEL
X64/CpuInterrupt.asm | MSFT
# X64/CpuInterrupt.S | GCC
X64/CpuInterrupt.nasm |GCC
[Sources]
Cpu.c
CpuDxe.h
[Protocols]
gEfiCpuArchProtocolGuid
gEfiLegacy8259ProtocolGuid
gMsgLogProtocolGuid
[Depex]
gEfiLegacy8259ProtocolGuid
# AND gMsgLogProtocolGuid
[BuildOptions]
XCODE:*_*_*_CC_FLAGS = -Os -fno-lto -UUSING_LTO -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -Os -fno-lto -DMDEPKG_NDEBUG
MSFT:*_*_*_CC_FLAGS = /D MDEPKG_NDEBUG