|
| 1 | +## @file |
| 2 | +# openSeaChest development file for EDKII |
| 3 | +# This package contains applications which depend upon Standard Libraries |
| 4 | +# from the StdLib package. |
| 5 | +# |
| 6 | +# See the comments in the [LibraryClasses.IA32] and [BuildOptions] sections |
| 7 | +# for important information about configuring this package for your |
| 8 | +# environment. |
| 9 | +# |
| 10 | +## |
| 11 | + |
| 12 | +[Defines] |
| 13 | + PLATFORM_NAME = openSeaChestPkg |
| 14 | + PLATFORM_GUID = dd2c189f-a31a-473d-bfe4-de8500b3bdff |
| 15 | + PLATFORM_VERSION = 0.01 |
| 16 | + DSC_SPECIFICATION = 0x00010006 |
| 17 | + OUTPUT_DIRECTORY = Build/openSeaChestPkg |
| 18 | + SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64|IPF |
| 19 | + BUILD_TARGETS = DEBUG|RELEASE|NOOPT |
| 20 | + SKUID_IDENTIFIER = DEFAULT |
| 21 | + |
| 22 | +# |
| 23 | +# Debug output control |
| 24 | +# |
| 25 | + DEFINE DEBUG_ENABLE_OUTPUT = FALSE # Set to TRUE to enable debug output |
| 26 | + DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x80000040 # Flags to control amount of debug output |
| 27 | + DEFINE DEBUG_PROPERTY_MASK = 0 |
| 28 | + |
| 29 | +[PcdsFeatureFlag] |
| 30 | + |
| 31 | +[PcdsFixedAtBuild] |
| 32 | + gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|$(DEBUG_PROPERTY_MASK) |
| 33 | + gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL) |
| 34 | + |
| 35 | +[PcdsFixedAtBuild.IPF] |
| 36 | + |
| 37 | +[LibraryClasses] |
| 38 | + # |
| 39 | + # Entry Point Libraries |
| 40 | + # |
| 41 | + UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf |
| 42 | + ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf |
| 43 | + UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf |
| 44 | + # |
| 45 | + # Common Libraries |
| 46 | + # |
| 47 | + BaseLib|MdePkg/Library/BaseLib/BaseLib.inf |
| 48 | + BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf |
| 49 | + UefiLib|MdePkg/Library/UefiLib/UefiLib.inf |
| 50 | + PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf |
| 51 | + PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf |
| 52 | + MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf |
| 53 | + UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf |
| 54 | + UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf |
| 55 | + !if $(DEBUG_ENABLE_OUTPUT) |
| 56 | + DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf |
| 57 | + DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf |
| 58 | + !else ## DEBUG_ENABLE_OUTPUT |
| 59 | + DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf |
| 60 | + !endif ## DEBUG_ENABLE_OUTPUT |
| 61 | + |
| 62 | + DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf |
| 63 | + PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf |
| 64 | + IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf |
| 65 | + PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf |
| 66 | + PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf |
| 67 | + SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf |
| 68 | + UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf |
| 69 | + HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf |
| 70 | + UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf |
| 71 | + PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf |
| 72 | + HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf |
| 73 | + FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf |
| 74 | + SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf |
| 75 | + |
| 76 | + ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf |
| 77 | + |
| 78 | + CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf |
| 79 | + |
| 80 | + LibPosix|StdLib/PosixLib/PosixLib.inf # Combines LibErr, LibGen, LibGlob, LibStringlist, GetPass into one library |
| 81 | + |
| 82 | + opensea-commonlib|opensea-libs/opensea-common/opensea-common.inf |
| 83 | + opensea-transportlib|opensea-libs/opensea-transport/opensea-transport.inf |
| 84 | + opensea-operationslib|opensea-libs/opensea-operations/opensea-operations.inf |
| 85 | + |
| 86 | +################################################################################################### |
| 87 | +# |
| 88 | +# Components Section - list of the modules and components that will be processed by compilation |
| 89 | +# tools and the EDK II tools to generate PE32/PE32+/Coff image files. |
| 90 | +# |
| 91 | +# Note: The EDK II DSC file is not used to specify how compiled binary images get placed |
| 92 | +# into firmware volume images. This section is just a list of modules to compile from |
| 93 | +# source into UEFI-compliant binaries. |
| 94 | +# It is the FDF file that contains information on combining binary files into firmware |
| 95 | +# volume images, whose concept is beyond UEFI and is described in PI specification. |
| 96 | +# Binary modules do not need to be listed in this section, as they should be |
| 97 | +# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi), |
| 98 | +# Logo (Logo.bmp), and etc. |
| 99 | +# There may also be modules listed in this section that are not required in the FDF file, |
| 100 | +# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be |
| 101 | +# generated for it, but the binary will not be put into any firmware volume. |
| 102 | +# |
| 103 | +################################################################################################### |
| 104 | + |
| 105 | +DEFINE DISABLE_TCG_SUPPORT = 1 |
| 106 | + |
| 107 | +[Components] |
| 108 | + |
| 109 | +####Each Utility needs a separate inf file |
| 110 | +openSeaChestPkg/openSeaChest_Basics.inf { |
| 111 | + <LibraryClasses> |
| 112 | + opensea-commonlib|opensea-libs/opensea-common/opensea-common.inf |
| 113 | + opensea-transportlib|opensea-libs/opensea-transport/opensea-transport.inf |
| 114 | + opensea-operationslib|opensea-libs/opensea-operations/opensea-operations.inf |
| 115 | + LibPosix|StdLib/PosixLib/PosixLib.inf # Combines LibErr, LibGen, LibGlob, LibStringlist, GetPass into one library |
| 116 | +} |
| 117 | +openSeaChestPkg/openSeaChest_Security.inf { |
| 118 | + <LibraryClasses> |
| 119 | + opensea-commonlib|opensea-libs/opensea-common/opensea-common.inf |
| 120 | + opensea-transportlib|opensea-libs/opensea-transport/opensea-transport.inf |
| 121 | + opensea-operationslib|opensea-libs/opensea-operations/opensea-operations.inf |
| 122 | + LibPosix|StdLib/PosixLib/PosixLib.inf # Combines LibErr, LibGen, LibGlob, LibStringlist, GetPass into one library |
| 123 | +} |
| 124 | +openSeaChestPkg/openSeaChest_Configure.inf { |
| 125 | + <LibraryClasses> |
| 126 | + opensea-commonlib|opensea-libs/opensea-common/opensea-common.inf |
| 127 | + opensea-transportlib|opensea-libs/opensea-transport/opensea-transport.inf |
| 128 | + opensea-operationslib|opensea-libs/opensea-operations/opensea-operations.inf |
| 129 | + LibPosix|StdLib/PosixLib/PosixLib.inf # Combines LibErr, LibGen, LibGlob, LibStringlist, GetPass into one library |
| 130 | +} |
| 131 | +openSeaChestPkg/openSeaChest_Erase.inf { |
| 132 | + <LibraryClasses> |
| 133 | + opensea-commonlib|opensea-libs/opensea-common/opensea-common.inf |
| 134 | + opensea-transportlib|opensea-libs/opensea-transport/opensea-transport.inf |
| 135 | + opensea-operationslib|opensea-libs/opensea-operations/opensea-operations.inf |
| 136 | + LibPosix|StdLib/PosixLib/PosixLib.inf # Combines LibErr, LibGen, LibGlob, LibStringlist, GetPass into one library |
| 137 | +} |
| 138 | +openSeaChestPkg/openSeaChest_Firmware.inf { |
| 139 | + <LibraryClasses> |
| 140 | + opensea-commonlib|opensea-libs/opensea-common/opensea-common.inf |
| 141 | + opensea-transportlib|opensea-libs/opensea-transport/opensea-transport.inf |
| 142 | + opensea-operationslib|opensea-libs/opensea-operations/opensea-operations.inf |
| 143 | + LibPosix|StdLib/PosixLib/PosixLib.inf # Combines LibErr, LibGen, LibGlob, LibStringlist, GetPass into one library |
| 144 | +} |
| 145 | +openSeaChestPkg/openSeaChest_Format.inf { |
| 146 | + <LibraryClasses> |
| 147 | + opensea-commonlib|opensea-libs/opensea-common/opensea-common.inf |
| 148 | + opensea-transportlib|opensea-libs/opensea-transport/opensea-transport.inf |
| 149 | + opensea-operationslib|opensea-libs/opensea-operations/opensea-operations.inf |
| 150 | + LibPosix|StdLib/PosixLib/PosixLib.inf # Combines LibErr, LibGen, LibGlob, LibStringlist, GetPass into one library |
| 151 | +} |
| 152 | +openSeaChestPkg/openSeaChest_GenericTests.inf { |
| 153 | + <LibraryClasses> |
| 154 | + opensea-commonlib|opensea-libs/opensea-common/opensea-common.inf |
| 155 | + opensea-transportlib|opensea-libs/opensea-transport/opensea-transport.inf |
| 156 | + opensea-operationslib|opensea-libs/opensea-operations/opensea-operations.inf |
| 157 | + LibPosix|StdLib/PosixLib/PosixLib.inf # Combines LibErr, LibGen, LibGlob, LibStringlist, GetPass into one library |
| 158 | +} |
| 159 | +openSeaChestPkg/openSeaChest_Logs.inf { |
| 160 | + <LibraryClasses> |
| 161 | + opensea-commonlib|opensea-libs/opensea-common/opensea-common.inf |
| 162 | + opensea-transportlib|opensea-libs/opensea-transport/opensea-transport.inf |
| 163 | + opensea-operationslib|opensea-libs/opensea-operations/opensea-operations.inf |
| 164 | + LibPosix|StdLib/PosixLib/PosixLib.inf # Combines LibErr, LibGen, LibGlob, LibStringlist, GetPass into one library |
| 165 | +} |
| 166 | +openSeaChestPkg/openSeaChest_NVMe.inf { |
| 167 | + <LibraryClasses> |
| 168 | + opensea-commonlib|opensea-libs/opensea-common/opensea-common.inf |
| 169 | + opensea-transportlib|opensea-libs/opensea-transport/opensea-transport.inf |
| 170 | + opensea-operationslib|opensea-libs/opensea-operations/opensea-operations.inf |
| 171 | + LibPosix|StdLib/PosixLib/PosixLib.inf # Combines LibErr, LibGen, LibGlob, LibStringlist, GetPass into one library |
| 172 | +} |
| 173 | +openSeaChestPkg/openSeaChest_PowerControl.inf { |
| 174 | + <LibraryClasses> |
| 175 | + opensea-commonlib|opensea-libs/opensea-common/opensea-common.inf |
| 176 | + opensea-transportlib|opensea-libs/opensea-transport/opensea-transport.inf |
| 177 | + opensea-operationslib|opensea-libs/opensea-operations/opensea-operations.inf |
| 178 | + LibPosix|StdLib/PosixLib/PosixLib.inf # Combines LibErr, LibGen, LibGlob, LibStringlist, GetPass into one library |
| 179 | +} |
| 180 | +openSeaChestPkg/openSeaChest_Sample.inf { |
| 181 | + <LibraryClasses> |
| 182 | + opensea-commonlib|opensea-libs/opensea-common/opensea-common.inf |
| 183 | + opensea-transportlib|opensea-libs/opensea-transport/opensea-transport.inf |
| 184 | + opensea-operationslib|opensea-libs/opensea-operations/opensea-operations.inf |
| 185 | + LibPosix|StdLib/PosixLib/PosixLib.inf # Combines LibErr, LibGen, LibGlob, LibStringlist, GetPass into one library |
| 186 | +} |
| 187 | +openSeaChestPkg/openSeaChest_SMART.inf { |
| 188 | + <LibraryClasses> |
| 189 | + opensea-commonlib|opensea-libs/opensea-common/opensea-common.inf |
| 190 | + opensea-transportlib|opensea-libs/opensea-transport/opensea-transport.inf |
| 191 | + opensea-operationslib|opensea-libs/opensea-operations/opensea-operations.inf |
| 192 | + LibPosix|StdLib/PosixLib/PosixLib.inf # Combines LibErr, LibGen, LibGlob, LibStringlist, GetPass into one library |
| 193 | +} |
| 194 | +openSeaChestPkg/openSeaChest_ZBD.inf { |
| 195 | + <LibraryClasses> |
| 196 | + opensea-commonlib|opensea-libs/opensea-common/opensea-common.inf |
| 197 | + opensea-transportlib|opensea-libs/opensea-transport/opensea-transport.inf |
| 198 | + opensea-operationslib|opensea-libs/opensea-operations/opensea-operations.inf |
| 199 | + LibPosix|StdLib/PosixLib/PosixLib.inf # Combines LibErr, LibGen, LibGlob, LibStringlist, GetPass into one library |
| 200 | +} |
| 201 | + |
| 202 | +############################################################################## |
| 203 | +# |
| 204 | +# Specify whether we are running in an emulation environment, or not. |
| 205 | +# Define EMULATE if we are, else keep the DEFINE commented out. |
| 206 | +# |
| 207 | +# DEFINE EMULATE = 1 |
| 208 | + |
| 209 | +############################################################################## |
| 210 | +# |
| 211 | +# Include Boilerplate text required for building with the Standard Libraries. |
| 212 | +# |
| 213 | +############################################################################## |
| 214 | +!include StdLib/StdLib.inc |
0 commit comments