V3 change: 1. Fix file path typo. V2 change: Add package DSC file to enable package build.
V1 change: Add new package BoardModulePkg which used to keep the modules which is generic for all board. Signed-off-by: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming....@intel.com> Cc: Michael Kubacki <michael.a.kuba...@intel.com> Cc: Sai Chaganty <rangasai.v.chaga...@intel.com> Cc: Oram Isaac W <isaac.w.o...@intel.com> --- Maintainers.txt | 4 + .../Intel/BoardModulePkg/BoardModulePkg.dec | 26 +++++++ .../Intel/BoardModulePkg/BoardModulePkg.dsc | 74 +++++++++++++++++++ 3 files changed, 104 insertions(+) create mode 100644 Platform/Intel/BoardModulePkg/BoardModulePkg.dec create mode 100644 Platform/Intel/BoardModulePkg/BoardModulePkg.dsc diff --git a/Maintainers.txt b/Maintainers.txt index 76feecceb7..2bc4a6c1ca 100644 --- a/Maintainers.txt +++ b/Maintainers.txt @@ -60,6 +60,10 @@ M: Michael Kubacki <michael.a.kuba...@intel.com> M: Sai Chaganty <rangasai.v.chaga...@intel.com> R: Liming Gao <liming....@intel.com> +Platform/Intel/BoardModulePkg +M: Eric Dong <eric.d...@intel.com> +R: Liming Gao <liming....@intel.com> + Platform/Intel/ClevoOpenBoardPkg M: Michael Kubacki <michael.a.kuba...@intel.com> M: Ankit Sinha <ankit.si...@intel.com> diff --git a/Platform/Intel/BoardModulePkg/BoardModulePkg.dec b/Platform/Intel/BoardModulePkg/BoardModulePkg.dec new file mode 100644 index 0000000000..94de8989c4 --- /dev/null +++ b/Platform/Intel/BoardModulePkg/BoardModulePkg.dec @@ -0,0 +1,26 @@ +## @file +# This package provides the modules that build for a full feature platform. +# This AdvancedFeaturePkg should only depend on EDKII Core packages 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] + DEC_SPECIFICATION = 0x00010017 + PACKAGE_NAME = BoardModulePkg + PACKAGE_VERSION = 0.1 + PACKAGE_GUID = 30EEB750-574D-45AA-8895-D77161019BC7 + + +[Includes] + + +[LibraryClasses] diff --git a/Platform/Intel/BoardModulePkg/BoardModulePkg.dsc b/Platform/Intel/BoardModulePkg/BoardModulePkg.dsc new file mode 100644 index 0000000000..905fa13b35 --- /dev/null +++ b/Platform/Intel/BoardModulePkg/BoardModulePkg.dsc @@ -0,0 +1,74 @@ +## @file +# This package provides the modules that build for a full feature platform. +# This AdvancedFeaturePkg should only depend on EDKII Core packages 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 = BoardModulePkg + PLATFORM_GUID = D36FD4CC-6CD1-4CE6-AA0B-EDB469DAE48B + PLATFORM_VERSION = 0.1 + DSC_SPECIFICATION = 0x00010005 + OUTPUT_DIRECTORY = Build/BoardModulePkg + SUPPORTED_ARCHITECTURES = IA32|X64 + BUILD_TARGETS = DEBUG|RELEASE|NOOPT + SKUID_IDENTIFIER = DEFAULT + +[LibraryClasses] + BaseLib|MdePkg/Library/BaseLib/BaseLib.inf + BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf + PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf + PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf + UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf + DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf + PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf + DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf + +[LibraryClasses.common.PEIM] + HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf + MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf + +[LibraryClasses.IA32.PEIM, LibraryClasses.X64.PEIM] + PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf + +[LibraryClasses.common.DXE_DRIVER] + HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf + MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf + +[LibraryClasses.common.UEFI_DRIVER] + HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf + MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf + +[LibraryClasses.common.DXE_RUNTIME_DRIVER] + HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf + MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf + +################################################################################################### +# +# Components Section - list of the modules and components that will be processed by compilation +# tools and the EDK II tools to generate PE32/PE32+/Coff image files. +# +# Note: The EDK II DSC file is not used to specify how compiled binary images get placed +# into firmware volume images. This section is just a list of modules to compile from +# source into UEFI-compliant binaries. +# It is the FDF file that contains information on combining binary files into firmware +# volume images, whose concept is beyond UEFI and is described in PI specification. +# Binary modules do not need to be listed in this section, as they should be +# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi), +# Logo (Logo.bmp), and etc. +# There may also be modules listed in this section that are not required in the FDF file, +# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be +# generated for it, but the binary will not be put into any firmware volume. +# +################################################################################################### + +[Components] + -- 2.21.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#41462): https://edk2.groups.io/g/devel/message/41462 Mute This Topic: https://groups.io/mt/31819525/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-