You've already forked edk2-platforms
mirror of
https://github.com/Dasharo/edk2-platforms.git
synced 2026-03-06 14:51:43 -08:00
Remove build of common libraries. Boards will already have those. Modified Usb3DebugFeature.dsc to treat libraries like libraries. Usb3DebugFeaturePkg.dsc uses the component trick for standalone build testing of the libraries. Added a PCD to allow board to select between NULL, regular, and IO MMU library instances. Prior implementation of Usb3DebugFeature.dsc was not useful as an includable file because it didn't specify LibaryClass instance to use. Removed unused CMOS PCD. Updated some of the readme sections. Cc: Eric Dong <eric.dong@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Isaac Oram <isaac.w.oram@intel.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
49 lines
1.8 KiB
Plaintext
49 lines
1.8 KiB
Plaintext
## @file
|
|
# This package provides advanced feature functionality for USB3 Debug support.
|
|
# This package should only depend on EDK II Core packages, IntelSiliconPkg, and MinPlatformPkg.
|
|
#
|
|
# The DEC files are used by the utilities that parse DSC and
|
|
# INF files to generate AutoGen.c and AutoGen.h files
|
|
# for the build infrastructure.
|
|
#
|
|
# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
PLATFORM_NAME = Usb3DebugFeaturePkg
|
|
PLATFORM_GUID = 3A861E9B-E2B3-4725-BD3B-93A7FB5E861E
|
|
PLATFORM_VERSION = 0.1
|
|
DSC_SPECIFICATION = 0x00010005
|
|
OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)
|
|
SUPPORTED_ARCHITECTURES = IA32|X64
|
|
BUILD_TARGETS = DEBUG|RELEASE|NOOPT
|
|
SKUID_IDENTIFIER = DEFAULT
|
|
PEI_ARCH = IA32
|
|
DXE_ARCH = X64
|
|
|
|
[PcdsFixedAtBuild]
|
|
gUsb3DebugFeaturePkgTokenSpaceGuid.PcdUsb3DebugPortLibInstance|0
|
|
|
|
#
|
|
# This package always builds the feature.
|
|
#
|
|
!include Include/Usb3DebugFeature.dsc
|
|
|
|
#
|
|
# This package currently only contains library classes. To force them to be built since there is no code to use them
|
|
# we just tell the build that they are components and the build will compile the libraries
|
|
#
|
|
|
|
[Components]
|
|
Usb3DebugFeaturePkg/Library/Usb3DebugPortLib/Usb3DebugPortLibNull.inf
|
|
Usb3DebugFeaturePkg/Library/Usb3DebugPortParamLibPcd/Usb3DebugPortParamLibPcd.inf
|
|
|
|
Usb3DebugFeaturePkg/Library/Usb3DebugPortLib/Usb3DebugPortLibPei.inf
|
|
Usb3DebugFeaturePkg/Library/Usb3DebugPortLib/Usb3DebugPortLibPeiIoMmu.inf
|
|
|
|
Usb3DebugFeaturePkg/Library/Usb3DebugPortLib/Usb3DebugPortLibDxe.inf
|
|
Usb3DebugFeaturePkg/Library/Usb3DebugPortLib/Usb3DebugPortLibDxeIoMmu.inf
|