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 mga01.intel.com (mga01.intel.com []) by groups.io with SMTP; Tue, 28 May 2019 00:04:58 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 May 2019 00:04:58 -0700 X-ExtLoop1: 1 Received: from ydong10-win10.ccr.corp.intel.com ([10.239.158.133]) by orsmga005.jf.intel.com with ESMTP; 28 May 2019 00:04:57 -0700 From: "Dong, Eric" To: devel@edk2.groups.io Cc: Liming Gao , Michael Kubacki , Sai Chaganty , Oram Isaac W Subject: [Patch v2 1/3] [edk2-platform] Maintainers.txt: Add BoardModulePkg in Platform/Intel/ folder. Date: Tue, 28 May 2019 15:04:52 +0800 Message-Id: <20190528070454.10656-2-eric.dong@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20190528070454.10656-1-eric.dong@intel.com> References: <20190528070454.10656-1-eric.dong@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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