From nobody Sat Nov 2 10:37:57 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zoho.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1493124512220703.3240508897176; Tue, 25 Apr 2017 05:48:32 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id ED4242095C6A2; Tue, 25 Apr 2017 05:48:28 -0700 (PDT) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0752520D770AE for ; Tue, 25 Apr 2017 05:48:26 -0700 (PDT) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP; 25 Apr 2017 05:48:25 -0700 Received: from shwdeopenpsi068.ccr.corp.intel.com ([10.239.9.20]) by orsmga005.jf.intel.com with ESMTP; 25 Apr 2017 05:48:25 -0700 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,249,1488873600"; d="scan'208";a="91931492" From: Star Zeng To: edk2-devel@lists.01.org Date: Tue, 25 Apr 2017 20:48:20 +0800 Message-Id: <1493124500-19000-3-git-send-email-star.zeng@intel.com> X-Mailer: git-send-email 2.7.0.windows.1 In-Reply-To: <1493124500-19000-1-git-send-email-star.zeng@intel.com> References: <1493124500-19000-1-git-send-email-star.zeng@intel.com> Subject: [edk2] [RFC 2/2] Example: The PCDs configuring for multiple SKUs with sub SKU support X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Star Zeng MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" --- Nt32Pkg/Nt32Pkg.dsc | 116 ++++++++----------------------------------------= ---- 1 file changed, 16 insertions(+), 100 deletions(-) diff --git a/Nt32Pkg/Nt32Pkg.dsc b/Nt32Pkg/Nt32Pkg.dsc index 573875fe4b95..7b468c18ad7a 100644 --- a/Nt32Pkg/Nt32Pkg.dsc +++ b/Nt32Pkg/Nt32Pkg.dsc @@ -86,16 +86,15 @@ [Defines] ##########################################################################= ###### [SkuIds] 0|DEFAULT # The entry: 0|DEFAULT is reserved and always req= uired. - 1 | Sku1 # CpuA + CsA + FruA - 2 | Sku2 # CpuA + CsA + FruB - 3 | Sku3 # CpuA + CsB + FruA - 4 | Sku4 # CpuA + CsB + FruB - 5 | Sku5 # CpuB + CsA + FruA - 6 | Sku6 # CpuB + CsA + FruB - 7 | Sku7 # CpuB + CsB + FruA - 8 | Sku8 # CpuB + CsB + FruB - 9 | Sku9 # CpuA + CsB - 10 | Sku10 # CpuB + CsB + CpuSku | CpuSkuA | DEFAULT + CpuSku | CpuSkuB | CpuSkuA + CsSku | CsSkuA | DEFAULT + CsSku | CsSkuB | CsSkuA + FruSku | FruSkuA | DEFAULT + FruSku | FruSkuB | FruSkuA + + Combo1 | (CpuSku , CsSku, FruSku) + Combo2 | (CpuSku , CsSkuB) =20 ##########################################################################= ###### # @@ -348,109 +347,26 @@ [PcdsDynamicDefault.Common.DEFAULT] gXXXPkgTokenSpaceGuid.PcdFruConfig2|FALSE gXXXPkgTokenSpaceGuid.PcdFruConfig3|FALSE =20 -[PcdsDynamicDefault.Common.Sku1] +[PcdsDynamicDefault.Common.CpuA] gXXXPkgTokenSpaceGuid.PcdCpuConfig1|TRUE gXXXPkgTokenSpaceGuid.PcdCpuConfig2|TRUE - # gXXXPkgTokenSpaceGuid.PcdCpuConfig3|FALSE - gXXXPkgTokenSpaceGuid.PcdCsConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdCsConfig2|TRUE - # gXXXPkgTokenSpaceGuid.PcdCsConfig3|FALSE - gXXXPkgTokenSpaceGuid.PcdFruConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdFruConfig2|TRUE - # gXXXPkgTokenSpaceGuid.PcdFruConfig3|FALSE - -[PcdsDynamicDefault.Common.Sku2] - gXXXPkgTokenSpaceGuid.PcdCpuConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdCpuConfig2|TRUE - # gXXXPkgTokenSpaceGuid.PcdCpuConfig3|FALSE - gXXXPkgTokenSpaceGuid.PcdCsConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdCsConfig2|TRUE - # gXXXPkgTokenSpaceGuid.PcdCsConfig3|FALSE - gXXXPkgTokenSpaceGuid.PcdFruConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdFruConfig2|TRUE - gXXXPkgTokenSpaceGuid.PcdFruConfig3|TRUE =20 -[PcdsDynamicDefault.Common.Sku3] - gXXXPkgTokenSpaceGuid.PcdCpuConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdCpuConfig2|TRUE - # gXXXPkgTokenSpaceGuid.PcdCpuConfig3|FALSE - gXXXPkgTokenSpaceGuid.PcdCsConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdCsConfig2|TRUE - gXXXPkgTokenSpaceGuid.PcdCsConfig3|TRUE - gXXXPkgTokenSpaceGuid.PcdFruConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdFruConfig2|TRUE - # gXXXPkgTokenSpaceGuid.PcdFruConfig3|FALSE - -[PcdsDynamicDefault.Common.Sku4] - gXXXPkgTokenSpaceGuid.PcdCpuConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdCpuConfig2|TRUE - # gXXXPkgTokenSpaceGuid.PcdCpuConfig3|FALSE - gXXXPkgTokenSpaceGuid.PcdCsConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdCsConfig2|TRUE - gXXXPkgTokenSpaceGuid.PcdCsConfig3|TRUE - gXXXPkgTokenSpaceGuid.PcdFruConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdFruConfig2|TRUE - gXXXPkgTokenSpaceGuid.PcdFruConfig3|TRUE - -[PcdsDynamicDefault.Common.Sku5] - gXXXPkgTokenSpaceGuid.PcdCpuConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdCpuConfig2|TRUE +[PcdsDynamicDefault.Common.CpuB] gXXXPkgTokenSpaceGuid.PcdCpuConfig3|TRUE - gXXXPkgTokenSpaceGuid.PcdCsConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdCsConfig2|TRUE - # gXXXPkgTokenSpaceGuid.PcdCsConfig3|FALSE - gXXXPkgTokenSpaceGuid.PcdFruConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdFruConfig2|TRUE - # gXXXPkgTokenSpaceGuid.PcdFruConfig3|FALSE =20 -[PcdsDynamicDefault.Common.Sku6] - gXXXPkgTokenSpaceGuid.PcdCpuConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdCpuConfig2|TRUE - gXXXPkgTokenSpaceGuid.PcdCpuConfig3|TRUE +[PcdsDynamicDefault.Common.CsA] gXXXPkgTokenSpaceGuid.PcdCsConfig1|TRUE gXXXPkgTokenSpaceGuid.PcdCsConfig2|TRUE - # gXXXPkgTokenSpaceGuid.PcdCsConfig3|FALSE - gXXXPkgTokenSpaceGuid.PcdFruConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdFruConfig2|TRUE - gXXXPkgTokenSpaceGuid.PcdFruConfig3|TRUE =20 -[PcdsDynamicDefault.Common.Sku7] - gXXXPkgTokenSpaceGuid.PcdCpuConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdCpuConfig2|TRUE - gXXXPkgTokenSpaceGuid.PcdCpuConfig3|TRUE - gXXXPkgTokenSpaceGuid.PcdCsConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdCsConfig2|TRUE +[PcdsDynamicDefault.Common.CsB] gXXXPkgTokenSpaceGuid.PcdCsConfig3|TRUE - gXXXPkgTokenSpaceGuid.PcdFruConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdFruConfig2|TRUE - # gXXXPkgTokenSpaceGuid.PcdFruConfig3|FALSE =20 -[PcdsDynamicDefault.Common.Sku8] - gXXXPkgTokenSpaceGuid.PcdCpuConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdCpuConfig2|TRUE - gXXXPkgTokenSpaceGuid.PcdCpuConfig3|TRUE - gXXXPkgTokenSpaceGuid.PcdCsConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdCsConfig2|TRUE - gXXXPkgTokenSpaceGuid.PcdCsConfig3|TRUE +[PcdsDynamicDefault.Common.FruA] gXXXPkgTokenSpaceGuid.PcdFruConfig1|TRUE gXXXPkgTokenSpaceGuid.PcdFruConfig2|TRUE - gXXXPkgTokenSpaceGuid.PcdFruConfig3|TRUE =20 -[PcdsDynamicDefault.Common.Sku9] - gXXXPkgTokenSpaceGuid.PcdCpuConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdCpuConfig2|TRUE - # gXXXPkgTokenSpaceGuid.PcdCpuConfig3|FALSE - gXXXPkgTokenSpaceGuid.PcdCsConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdCsConfig2|TRUE - gXXXPkgTokenSpaceGuid.PcdCsConfig3|TRUE - -[PcdsDynamicDefault.Common.Sku10] - gXXXPkgTokenSpaceGuid.PcdCpuConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdCpuConfig2|TRUE - gXXXPkgTokenSpaceGuid.PcdCpuConfig3|TRUE - gXXXPkgTokenSpaceGuid.PcdCsConfig1|TRUE - gXXXPkgTokenSpaceGuid.PcdCsConfig2|TRUE - gXXXPkgTokenSpaceGuid.PcdCsConfig3|TRUE +[PcdsDynamicDefault.Common.FruB] + gXXXPkgTokenSpaceGuid.PcdFruConfig3|TRUE =20 ##########################################################################= ######################### # --=20 2.7.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel