From nobody Thu Dec 26 11:53:49 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.zohomail.com; dkim=fail; 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 1505928483509590.2203635619783; Wed, 20 Sep 2017 10:28:03 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 2F9D120958BF8; Wed, 20 Sep 2017 10:24:56 -0700 (PDT) Received: from mail-wr0-x22b.google.com (mail-wr0-x22b.google.com [IPv6:2a00:1450:400c:c0c::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 28E5520945C1C for ; Wed, 20 Sep 2017 10:24:55 -0700 (PDT) Received: by mail-wr0-x22b.google.com with SMTP id m18so2746708wrm.2 for ; Wed, 20 Sep 2017 10:28:01 -0700 (PDT) Received: from vanye.hemma.eciton.net (cpc92316-cmbg19-2-0-cust118.5-4.cable.virginm.net. [82.12.0.119]) by smtp.gmail.com with ESMTPSA id j65sm1920429wmj.3.2017.09.20.10.27.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Sep 2017 10:27:57 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=b2H62UjQh5hPGwAivsn3bxh+SCyAeMFCdwy7c036gVA=; b=CCvH0yP21MYXidE2USh2rMnrFkGhttqNV7B3QCG4V6z052XqYFQIcju5D7AzFoBDUR X+JAYaXLhEPwyAyuy2OQIyl4ojNT7zZ13yRHHTiWV64RxghOjjTQK6tJhII/W3ScD6Ms AXJp2POIbXonJ4u05N8FBU0n+wj2RiGz3YCbU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=b2H62UjQh5hPGwAivsn3bxh+SCyAeMFCdwy7c036gVA=; b=ciUSIXFS23gFtc5qcIHFEydLOMG6BcLe0O9NrqN4IIm+iuUsh+83R/1u02tl9BDTzG 7p9FQ7/7E8kHjHPWx8TnPBP/SMf1rQXpUxEkW6PDgodmewiS+ogzhUpsjpvQWgzdDfX6 m0TSh9RPaLqrsfC3us0mCLEQ8nnS2jpz9uWT/ZFLyVUauI1IO2EzRLiJgTPGvMB2TJbi alzmg35VSI9D7By7q03FrTkPzd61Gau7Gc3kvx9LMVMiJ7p/zcLz4JXPSbERugJh8+zI e3PCwjtTVsGOs0TPkdI0Z9VerfDCSQFc4dmpFtj/QvIRMsOiHgvVJf1FXPoeu+Z8pQf/ eHOg== X-Gm-Message-State: AHPjjUjcVfNCJHPFBII+PaaKfTZa2oNkEl0UxEVCb0vNiCtjkauw0dF8 MJsHKPG68PqfOrmrlFfqu/JI8zDx4Bw= X-Google-Smtp-Source: AOwi7QAbwbCh+TD7KxOvC7ClhxsjEnaQ5B8mYCFqsUqeUfexIKyeqp4Oj7ObIfUfIBprPb7PJulnNw== X-Received: by 10.223.159.77 with SMTP id f13mr5494202wrg.154.1505928479491; Wed, 20 Sep 2017 10:27:59 -0700 (PDT) From: Leif Lindholm To: edk2-devel@lists.01.org Date: Wed, 20 Sep 2017 18:27:50 +0100 Message-Id: <20170920172755.22767-2-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170920172755.22767-1-leif.lindholm@linaro.org> References: <20170920172755.22767-1-leif.lindholm@linaro.org> Subject: [edk2] [RFC 1/6] ConfigPkg: add new package for holding common config fragments 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: Michael D Kinney , Jordan Justen , Laszlo Ersek , Andrew Fish , Ard Biesheuvel MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Start with common networking options. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leif Lindholm --- ConfigPkg/Network/Network.dsc.inc | 92 +++++++++++++++++++++++++++++++++++= ++++ ConfigPkg/Network/Network.fdf.inc | 47 ++++++++++++++++++++ 2 files changed, 139 insertions(+) create mode 100644 ConfigPkg/Network/Network.dsc.inc create mode 100644 ConfigPkg/Network/Network.fdf.inc diff --git a/ConfigPkg/Network/Network.dsc.inc b/ConfigPkg/Network/Network.= dsc.inc new file mode 100644 index 0000000000..8c53350deb --- /dev/null +++ b/ConfigPkg/Network/Network.dsc.inc @@ -0,0 +1,92 @@ +## @file +# +# Copyright (c) 2017, Linaro ltd. All rights reserved.
+# +# This program and the accompanying materials are licensed and made avail= able +# under the terms and conditions of the BSD License which accompanies this +# distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IM= PLIED. +# +## + + +##########################################################################= ###### +# +# Library Class section +# +##########################################################################= ###### +[LibraryClasses] + DpcLib|MdeModulePkg/Library/DxeDpcLib/DxeDpcLib.inf + IpIoLib|MdeModulePkg/Library/DxeIpIoLib/DxeIpIoLib.inf + NetLib|MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf + UdpIoLib|MdeModulePkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf + +!if $(CONFIG_HTTP_BOOT_ENABLE) =3D=3D TRUE + HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf +!endif + +!if $(CONFIG_NETWORK_IP6_ENABLE) =3D=3D TRUE + BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf + IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf + TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf +!endif + +!if $(CONFIG_TLS_ENABLE) =3D=3D TRUE + OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf + TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf +!else + OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf +!endif + + +##########################################################################= ####### +# Pcd Section +# +##########################################################################= ###### +[PcdsFixedAtBuild] +!if $(CONFIG_HTTP_BOOT_ENABLE) =3D=3D TRUE + gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE +!endif + + +##########################################################################= ###### +# +# Components Section +# +##########################################################################= ###### +[Components] + MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf + MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf + MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf + MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf + MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf + MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf + MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf + MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf + MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf +!if $(CONFIG_NETWORK_IP6_ENABLE) =3D=3D TRUE + NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf + NetworkPkg/Ip6Dxe/Ip6Dxe.inf + NetworkPkg/IScsiDxe/IScsiDxe.inf + NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf + NetworkPkg/TcpDxe/TcpDxe.inf + NetworkPkg/Udp6Dxe/Udp6Dxe.inf + NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf +!else + MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf + MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf + MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf +!endif +!if $(CONFIG_HTTP_BOOT_ENABLE) =3D=3D TRUE + NetworkPkg/DnsDxe/DnsDxe.inf + NetworkPkg/HttpBootDxe/HttpBootDxe.inf + NetworkPkg/HttpDxe/HttpDxe.inf + NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf +!endif +!if $(CONFIG_TLS_ENABLE) =3D=3D TRUE + NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf + NetworkPkg/TlsDxe/TlsDxe.inf +!endif diff --git a/ConfigPkg/Network/Network.fdf.inc b/ConfigPkg/Network/Network.= fdf.inc new file mode 100644 index 0000000000..614fd18a9a --- /dev/null +++ b/ConfigPkg/Network/Network.fdf.inc @@ -0,0 +1,47 @@ +## @file +# +# Copyright (c) 2017, Linaro ltd. All rights reserved.
+# +# This program and the accompanying materials are licensed and made avail= able +# under the terms and conditions of the BSD License which accompanies this +# distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IM= PLIED. +# +## + + + INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf + INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf + INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf + INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf + INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf + INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf + INF MdeModulePkg/Universal/Network/SnpDxe/SnpDxe.inf + INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf + INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf +!if $(CONFIG_NETWORK_IP6_ENABLE) =3D=3D TRUE + INF NetworkPkg/Dhcp6Dxe/Dhcp6Dxe.inf + INF NetworkPkg/Ip6Dxe/Ip6Dxe.inf + INF NetworkPkg/IScsiDxe/IScsiDxe.inf + INF NetworkPkg/Mtftp6Dxe/Mtftp6Dxe.inf + INF NetworkPkg/TcpDxe/TcpDxe.inf + INF NetworkPkg/Udp6Dxe/Udp6Dxe.inf + INF NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe.inf +!else + INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf + INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf + INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf +!endif +!if $(CONFIG_HTTP_BOOT_ENABLE) =3D=3D TRUE + INF NetworkPkg/DnsDxe/DnsDxe.inf + INF NetworkPkg/HttpBootDxe/HttpBootDxe.inf + INF NetworkPkg/HttpDxe/HttpDxe.inf + INF NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf +!endif +!if $(CONFIG_TLS_ENABLE) =3D=3D TRUE + INF NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf + INF NetworkPkg/TlsDxe/TlsDxe.inf +!endif --=20 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel