From nobody Thu May 16 10:07:24 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+76177+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+76177+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1623121172; cv=none; d=zohomail.com; s=zohoarc; b=dYpVVuky7lq/5ZvgjjsB4qNf3La22efu95SQ8HjWkwkuDs0o3nI/P3w6CmjHK8YkKpK7CnJyZyTZmULI2SVNAtLufWhvnaeuYkrL37AFJ//ve8u92k5zvX3vILUAIYGMId6K7L8gPWVXdj79JoDDJ5nZxHOS0hY2mkFn/PUqSKw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1623121172; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=toV6x09MXTrY+G9qU19KNNBIr+TUk+IDb1wuQkf7rc4=; b=Da/yfejDqt/QV8FzmZ+J04NuqcmX5agMUp9YFCXR6F/NxqCsBeawW/8PjEzCgP2cK9r82G6KdTnAj/eW16ydMM+IoTWOj4AcCpJ9R1rEFpNb7XApah74KqHiMxl8VH1OnxeuTwfjr49ozm8gP0OoBzbqLpCNUjchFumnNguBu8k= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+76177+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1623121172699545.8335182574714; Mon, 7 Jun 2021 19:59:32 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 2amcYY1788612xx8bC1xoYZM; Mon, 07 Jun 2021 19:59:32 -0700 X-Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web08.7479.1623121171820807779 for ; Mon, 07 Jun 2021 19:59:31 -0700 IronPort-SDR: KG8zAgj/1imor0QLfoXcQxgtYGBD6+4THod2wPSrKtlnbWqr2XxPjMfGOcfAT+CopA2cH0uHRq SjuGqTkiFghg== X-IronPort-AV: E=McAfee;i="6200,9189,10008"; a="204727268" X-IronPort-AV: E=Sophos;i="5.83,256,1616482800"; d="scan'208";a="204727268" X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2021 19:59:31 -0700 IronPort-SDR: W0V+cFNe8/c+EKDqcsFOXeIm9ritoc09wk7MpW8zDwi+X4ZsillCHCeK5/4WjIo999d3gSDtdJ rCYSApexue0w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,256,1616482800"; d="scan'208";a="447729474" X-Received: from shwdepsi1121.ccr.corp.intel.com ([10.239.158.137]) by orsmga008.jf.intel.com with ESMTP; 07 Jun 2021 19:59:29 -0700 From: "Bob Feng" To: devel@edk2.groups.io Cc: Liming Gao , Yuwei Chen Subject: [edk2-devel] [Patch] Document: Add PCD_DYNAMIC_AS_DYNAMICEX to DSC defines section Date: Tue, 8 Jun 2021 10:59:22 +0800 Message-Id: <20210608025922.328-1-bob.c.feng@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,bob.c.feng@intel.com X-Gm-Message-State: nMScIvHFEVYwnR5yaWaUAg3mx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1623121172; bh=Mz/b9ZW19Q5MqCZrL4wGv9w1yNH4vjDErQOffmVV15c=; h=Cc:Date:From:Reply-To:Subject:To; b=CQ6wcsTdzlYM2jD4suDi2/EAWsj4Epl1UxJvepFJnN0dhJn1FkSJp4lZ4EIM85Wd9qw A4TdiVL+8T9TlUJ1eorFzzRxFrvlO5OVPWcPpYI5dgDS2fuNKuh6vtY1phlIP7n0bDXGx Q6jAE2FlDHXKyQyTJQCXiKcN76TrFk5VFJM= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1688 DynamicEx Pcd supports binary module build well. It's helpful to add a new build option for build tool to convert all Dynamic Pcd to DynamicEx Pcd. Add a new key word in defines section for this function. Signed-off-by: Bob Feng Cc: Liming Gao Cc: Yuwei Chen --- 2_dsc_overview/23_[defines]_section_processing.md | 1 + 3_edk_ii_dsc_file_format/35_[defines]_section.md | 1 + README.md | 1 + 3 files changed, 3 insertions(+) diff --git a/2_dsc_overview/23_[defines]_section_processing.md b/2_dsc_over= view/23_[defines]_section_processing.md index ad0702b..c0f24ca 100644 --- a/2_dsc_overview/23_[defines]_section_processing.md +++ b/2_dsc_overview/23_[defines]_section_processing.md @@ -115,10 +115,11 @@ item is required. | `VPD_TOOL_GUID` | Optional | Registry Format GUID = | When this element is present, the build process will be interrupte= d during the AutoGen stage in order to call an external program, named by G= UID that must also be defined in the Conf/tools_def.txt file using a tool c= ode name of VPDTOOL. Refer to the EDK II Build specification for additional= information. = | | `PCD_INFO_GENERATION` | Optional | TRUE or FALSE = | If present, and set to TRUE, this flag will generate PCD informati= on in the Pcd Database. = = = = | | `PCD_VAR_CHECK_GENERATION` | Optional | TRUE or FALSE = | If present and set to TRUE, this flag will generate the variable v= alidation table binary file in the build output FV floder. If not present r= o set to FALSE, then the binary file will not be generated. = = = | | `PREBUILD` | Optional | String of script with argu= ments | If present, build tool will call the script of this statement to e= xecute. = = = = | | `POSTBUILD` | Optional | String of script with argu= ments | If present, build tool will call the script of this statement to e= xecute. = = = = | +| `PCD_DYNAMIC_AS_DYNAMICEX` | Optional | TRUE or FALSE = | If present, and set to TRUE, this flag will convert Dynamci Pcd to= DynamicEx Pcd. = = = = | =20 [^1]: WORKSPACE refers to the combination of the directories specified in = the WORKSPACE system environment variable and the PACKAGES_PATH system environ= ment variable. =20 diff --git a/3_edk_ii_dsc_file_format/35_[defines]_section.md b/3_edk_ii_ds= c_file_format/35_[defines]_section.md index ea2077d..6745cb8 100644 --- a/3_edk_ii_dsc_file_format/35_[defines]_section.md +++ b/3_edk_ii_dsc_file_format/35_[defines]_section.md @@ -123,10 +123,11 @@ The `!include` statement may be used in a `[Defines]`= section. [ "ISO_LANGUAGES" ] [ "TIME_STAMP_FILE" ] [ "VPD_TOOL_GUID" ] [ "PCD_VAR_CHECK_GENERATION" ] + [ "PCD_DYNAMIC_AS_DYNAMICEX" ] [ "PREBUILD"