From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 E439681C1B for ; Thu, 12 Jan 2017 00:52:42 -0800 (PST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP; 12 Jan 2017 00:52:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,349,1477983600"; d="scan'208";a="212466994" Received: from jiaxinwu-mobl2.ccr.corp.intel.com ([10.239.196.202]) by fmsmga004.fm.intel.com with ESMTP; 12 Jan 2017 00:52:41 -0800 From: Jiaxin Wu To: edk2-devel@lists.01.org Cc: Ye Ting , Fu Siyuan , Ruiyu Ni , Wu Jiaxin Date: Thu, 12 Jan 2017 16:52:36 +0800 Message-Id: <1484211156-94292-3-git-send-email-jiaxin.wu@intel.com> X-Mailer: git-send-email 1.9.5.msysgit.1 In-Reply-To: <1484211156-94292-1-git-send-email-jiaxin.wu@intel.com> References: <1484211156-94292-1-git-send-email-jiaxin.wu@intel.com> Subject: [Patch 2/2] Nt32Pkg.dsc: Add HTTP_ENABLE flag X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2017 08:52:43 -0000 This flag is used to overwrite the PcdHttpEnable value, then the platform can make a decision whether to enable HTTP. Cc: Ye Ting Cc: Fu Siyuan Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin --- Nt32Pkg/Nt32Pkg.dsc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Nt32Pkg/Nt32Pkg.dsc b/Nt32Pkg/Nt32Pkg.dsc index 134afb8..86615d4 100644 --- a/Nt32Pkg/Nt32Pkg.dsc +++ b/Nt32Pkg/Nt32Pkg.dsc @@ -58,10 +58,15 @@ # Note: TLS feature highly depends on the OpenSSL building. To enable this # feature, please follow the instructions found in the file "Patch-HOWTO.txt" # located in CryptoPkg\Library\OpensslLib to enable the OpenSSL building first. # DEFINE TLS_ENABLE = FALSE + + # + # This flag is to enable or disable HTTP feature. + # + DEFINE HTTP_ENABLE = TRUE ################################################################################ # # SKU Identification section - list of all SKU IDs supported by this # Platform. @@ -252,10 +257,14 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE !if $(SECURE_BOOT_ENABLE) == TRUE || $(TLS_ENABLE) == TRUE gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x2000 !endif +!if $(HTTP_ENABLE) == TRUE + gEfiNetworkPkgTokenSpaceGuid.PcdHttpEnable|TRUE +!endif + !ifndef $(USE_OLD_SHELL) gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 } !endif !if $(SECURE_BOOT_ENABLE) == TRUE -- 1.9.5.msysgit.1