From nobody Sat May 18 23:55:20 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+77686+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+77686+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1626078818; cv=none; d=zohomail.com; s=zohoarc; b=QVJWUHgM/IzCIVKynWJEQTj07AE6I8j+hD8PHV0I0tFO3f9VyQ51dbzbD1nul3fWFNJOqv2liRfr2Yjd9zQ6TPg6cbFw4qpxDUvF8zh/STJ6g6bYKpJeYT6H1vJDTrWS4ZHDNSs2MR62wZDCJDEuvQexIESLlmkbxGlSbm6a/XM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1626078818; 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=+Dw8QlD0gFVV0fXNvc6+l93B+QFZEm4cc741MUNRomk=; b=GAKd9UWD+RWeli6VfZaWDNXxSTdb4A6iiDYp5IfaZtUdXqou+8VeI5Zsh076GBf+BRJKvIaNb/tYD7NHEosebKcWJCv2FF2cdQuFpyOJMY+cPYB5qHeDYnUXxVryEvVcl+Wac9SSseMzdpr8Og6q1eKK+jQFGz5cltAPID6HBvQ= 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+77686+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1626078818607523.658859260038; Mon, 12 Jul 2021 01:33:38 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id SrOfYY1788612x9Zy6t1au3O; Mon, 12 Jul 2021 01:33:38 -0700 X-Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web10.8231.1626078811933509301 for ; Mon, 12 Jul 2021 01:33:32 -0700 X-IronPort-AV: E=McAfee;i="6200,9189,10042"; a="295586485" X-IronPort-AV: E=Sophos;i="5.84,232,1620716400"; d="scan'208";a="295586485" X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jul 2021 01:33:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,232,1620716400"; d="scan'208";a="459114720" X-Received: from shwdepsi1121.ccr.corp.intel.com ([10.239.158.137]) by orsmga008.jf.intel.com with ESMTP; 12 Jul 2021 01:33:27 -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: Mon, 12 Jul 2021 16:33:23 +0800 Message-Id: <20210712083323.2805-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: HknnRbWVmVyEDOtOcSNughQlx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1626078818; bh=jxHHTQRMdwILC/NbJ+dz0aokGvGPpXTEMsgnJCfwluk=; h=Cc:Date:From:Reply-To:Subject:To; b=xair43YfiCtR2DsIatFf6GuUWXjph8ANeHPIeDcyCcrSKmnQGE6zYpsNZcrTAl7+RyX 6X8ibzqSMMmD9ddS1X5UZ+XKSkGdcJuQ3tv1uJGLfA9l5EbnaRlo/O2iZZB5qbcGQEh96 s1tfMhO+S10b80Whn3IRJtntDmrih+saeio= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1626078819668100001 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, the build tool will convert Dynamci P= cd 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"