From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: eric.dong@intel.com) Received: from mga11.intel.com (mga11.intel.com []) by groups.io with SMTP; Tue, 28 May 2019 01:11:49 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 May 2019 01:11:49 -0700 X-ExtLoop1: 1 Received: from ydong10-win10.ccr.corp.intel.com ([10.239.158.133]) by orsmga007.jf.intel.com with ESMTP; 28 May 2019 01:11:47 -0700 From: "Dong, Eric" To: devel@edk2.groups.io Cc: Liming Gao , Michael Kubacki , Sai Chaganty , Oram Isaac W Subject: [Patch v3 1/3] [edk2-platform] Maintainers.txt: Add BoardModulePkg in Platform/Intel/ folder. Date: Tue, 28 May 2019 16:11:43 +0800 Message-Id: <20190528081145.10008-2-eric.dong@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20190528081145.10008-1-eric.dong@intel.com> References: <20190528081145.10008-1-eric.dong@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Cc: Liming Gao Cc: Michael Kubacki Cc: Sai Chaganty Cc: Oram Isaac W --- 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 M: Sai Chaganty R: Liming Gao +Platform/Intel/BoardModulePkg +M: Eric Dong +R: Liming Gao + Platform/Intel/ClevoOpenBoardPkg M: Michael Kubacki M: Ankit Sinha 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.
+# +# 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.
+# +# 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