Files
Isaac Oram 52677a31af BeepDebugFeaturePkg: Use MinPlatformPkg build include files
The BeepDebugFeaturePkg was malformed and did not build anything
and thus wasn't testable in standalone build.

Added gBeepDebugFeaturePkgTokenSpaceGuid.PcdBeepDebugFeatureEnable
to properly control the advanced feature inclusion.

Use the standard MinPlatform includes for core libraries. This
increases the build time, but reduces complexity when integrating
into a board build. Board build optimization is more valuable than
standalone build optimization.

Enable standalone build to test the library build and the component
builds using edk2 StatusCodeHandler drivers.

Add unique file names for the StatusCodeHandler components to avoid
collisions with any existing board handlers when incorporated in board
DSC and FDF files.

Add PreMemory.fdf and PostMemory.fdf content for including in board FDF
or AdvancedFeaturePkg in the future.

Removed unused sections in DSC and FDF to reduce file clutter.

Removed stale file header content from prior proprietary licensing.

Moved feature customization and common include into the package DSC
file to reduce board complexity when BeepDebugFeature.dsc is included.

Removed the FixedAtBuild build control for beep feature as it would be
redundant with the FeatureFlag control of the whole feature. Build
control is via PcdBeepDebugFeatureEnable and dynamic control is via
PcdStatusCodeUseBeep.

Improved Readme content, format, and coding style use.

Cc: Sai Chaganty <rangasai.v.chaganty@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Ming Tan <ming.tan@intel.com>

Signed-off-by: Isaac Oram <isaac.w.oram@intel.com>
Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
2022-02-02 15:26:19 -08:00

49 lines
1.3 KiB
INI

## @file
# Beep status code implementation.
#
# Copyright (c) 2010 - 2020, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = RuntimeDxeBeepStatusCodeHandlerLib
FILE_GUID = D05F43CE-7C70-4663-848F-8265C311A8A5
MODULE_TYPE = DXE_RUNTIME_DRIVER
VERSION_STRING = 1.0
CONSTRUCTOR = RuntimeDxeBeepStatusCodeHandlerLibConstructor
LIBRARY_CLASS = StatusCodeHandlerLib|DXE_RUNTIME_DRIVER
#
# The following information is for reference only and not required by the build tools.
#
# VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is only for build)
#
[Sources]
RuntimeDxeBeepStatusCodeHandlerLib.c
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
BeepDebugFeaturePkg/BeepDebugFeaturePkg.dec
[LibraryClasses]
UefiBootServicesTableLib
UefiRuntimeLib
PcdLib
DebugLib
ReportStatusCodeLib
BeepMapLib
BeepLib
[Pcd]
gBeepDebugFeaturePkgTokenSpaceGuid.PcdStatusCodeUseBeep ## CONSUMES
[Protocols]
gEfiRscHandlerProtocolGuid ## CONSUMES
[Depex]
TRUE