From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: michael.a.kubacki@intel.com) Received: from mga05.intel.com (mga05.intel.com []) by groups.io with SMTP; Mon, 07 Oct 2019 22:17:00 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Oct 2019 22:17:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,269,1566889200"; d="scan'208";a="205297212" Received: from makuback-desk1.amr.corp.intel.com ([10.7.159.162]) by orsmga002.jf.intel.com with ESMTP; 07 Oct 2019 22:17:00 -0700 From: "Kubacki, Michael A" To: devel@edk2.groups.io Cc: Sai Chaganty , Chasel Chiu Subject: [edk2-platforms][PATCH V1 02/17] KabylakeSiliconPkg: Add DSC include file section tags Date: Mon, 7 Oct 2019 22:16:30 -0700 Message-Id: <20191008051645.22052-3-michael.a.kubacki@intel.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20191008051645.22052-1-michael.a.kubacki@intel.com> References: <20191008051645.22052-1-michael.a.kubacki@intel.com> REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2245 The DSC LibraryClass files in KabylakeSiliconPkg that are intended to be included elsewhere such as SiPkgPeiLib.dsc, SiPkgDxeLib.dsc, and SiPkgCommonLib.dsc should have section tags so that they are not dependent on the top-level DSC file to place the include file in the correct location in the DSC file and better define the applicability of their library content. This change adds section tags for the library class related files. The component files may be built differently in the consuming package depending on their architecture requirements so those are not modified. Cc: Sai Chaganty Cc: Chasel Chiu Signed-off-by: Michael Kubacki --- Silicon/Intel/KabylakeSiliconPkg/SiPkgCommonLib.dsc | 6 ++++-- Silicon/Intel/KabylakeSiliconPkg/SiPkgDxeLib.dsc | 5 +++-- Silicon/Intel/KabylakeSiliconPkg/SiPkgPeiLib.dsc | 3 ++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Silicon/Intel/KabylakeSiliconPkg/SiPkgCommonLib.dsc b/Silicon/Intel/KabylakeSiliconPkg/SiPkgCommonLib.dsc index 920b02e410..fa9dd4a32d 100644 --- a/Silicon/Intel/KabylakeSiliconPkg/SiPkgCommonLib.dsc +++ b/Silicon/Intel/KabylakeSiliconPkg/SiPkgCommonLib.dsc @@ -1,11 +1,13 @@ ## @file -# Component description file for the SkyLake SiPkg both Pei and Dxe libraries DSC file. +# Build description file for Kaby Lake silicon PEI and DXE libraries. # -# Copyright (c) 2017, Intel Corporation. All rights reserved.
+# Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # ## + +[LibraryClasses.common] # # Silicon Init Common Library # diff --git a/Silicon/Intel/KabylakeSiliconPkg/SiPkgDxeLib.dsc b/Silicon/Intel/KabylakeSiliconPkg/SiPkgDxeLib.dsc index 8c194d8e7c..bc497c3531 100644 --- a/Silicon/Intel/KabylakeSiliconPkg/SiPkgDxeLib.dsc +++ b/Silicon/Intel/KabylakeSiliconPkg/SiPkgDxeLib.dsc @@ -1,12 +1,13 @@ # @file -# Component description file for the SkyLake SiPkg DXE libraries. +# Build description file for Kaby Lake silicon DXE libraries. # -# Copyright (c) 2017, Intel Corporation. All rights reserved.
+# Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # ## +[LibraryClasses.common.DXE_CORE,LibraryClasses.common.DXE_SMM_DRIVER,LibraryClasses.common.SMM_CORE,LibraryClasses.common.DXE_DRIVER,LibraryClasses.common.DXE_RUNTIME_DRIVER,LibraryClasses.common.UEFI_DRIVER] # # Silicon Init Dxe Library # diff --git a/Silicon/Intel/KabylakeSiliconPkg/SiPkgPeiLib.dsc b/Silicon/Intel/KabylakeSiliconPkg/SiPkgPeiLib.dsc index 86e34ff359..5334598544 100644 --- a/Silicon/Intel/KabylakeSiliconPkg/SiPkgPeiLib.dsc +++ b/Silicon/Intel/KabylakeSiliconPkg/SiPkgPeiLib.dsc @@ -1,5 +1,5 @@ ## @file -# Component description file for the SkyLake SiPkg PEI libraries. +# Build description file for Kaby Lake silicon PEI libraries. # # Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.
# @@ -7,6 +7,7 @@ # ## +[LibraryClasses] # # Silicon Init Pei Library # -- 2.16.2.windows.1