From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (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 281B121D492F6 for ; Wed, 20 Sep 2017 17:02:25 -0700 (PDT) Received: by mail-io0-x22d.google.com with SMTP id k101so7415112iod.0 for ; Wed, 20 Sep 2017 17:05:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=x0MVS/0TDHlI+hSFrjMfpH6kDH3xATPdrgVGYzDc8n8=; b=ZZ4nm2HKcnzXTe9M0+AwjXo2IU8pga+8WqfwSJFbkE5vvrv1xOZd+AmUgaFgwim3RO Q3anBUlZtlor07n6Ilf3L0460NHIWFXFbV+DlNN5eK3Xicj0wpEq62es9WtxJ6N+iS0L qm+N8Kygzv7UeODevbFO3ovPttzuEgUOUHTmI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=x0MVS/0TDHlI+hSFrjMfpH6kDH3xATPdrgVGYzDc8n8=; b=mQ2p2UXpFJBh5flCjUSUIp1hk+7sNajInIQVOqICp0lNxUD4HkIYuFPSSb/pc4a+Rl TD8aDk+rhpYTAneHvKzHwXongzWdpb5trHOFLZxnq9gQdbgp5iidc+esd7dbPhzSc36K /M+Y1f/qlJpIiI1pg/KM3dHiPnIVBjMd03+ifysVCm2BcAjs5HYFWuPUtOhBXwI9WvAp bxF4ck/Nxj6wACn2joDlCUki9ZZnISeuN33oJ1OF8QBX59g+XMY+Hj1HuO7LqsknW2v/ xA1wW9Fsa76QLOokkukbTPioeOA9c+jS5xtSyNeMlVerX4gKvr8tm33yH3W+ik6don9+ NXBw== X-Gm-Message-State: AHPjjUgHWx4H0XrQv5AElwIBYL4NwUk0IW/00c8bWX7WFOfslN+o7YlA lckj7PlsqIoZmrWRuiHsNjomwMCrWG02MozDjsLTsA== X-Google-Smtp-Source: AOwi7QBclYKjjlHknfKc49t5A56yh/7Dn7+vW12tcMeYlEYFxdz/m1D3ZjFh0HO9UpqVdl5DAAdx0h28fEyUK63yfN0= X-Received: by 10.107.27.149 with SMTP id b143mr569387iob.2.1505952330784; Wed, 20 Sep 2017 17:05:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.152.18 with HTTP; Wed, 20 Sep 2017 17:05:30 -0700 (PDT) In-Reply-To: <20170920172755.22767-2-leif.lindholm@linaro.org> References: <20170920172755.22767-1-leif.lindholm@linaro.org> <20170920172755.22767-2-leif.lindholm@linaro.org> From: Ard Biesheuvel Date: Wed, 20 Sep 2017 17:05:30 -0700 Message-ID: To: Leif Lindholm Cc: "edk2-devel@lists.01.org" , Andrew Fish , Michael D Kinney , Laszlo Ersek , Jordan Justen Subject: Re: [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: , X-List-Received-Date: Thu, 21 Sep 2017 00:02:25 -0000 Content-Type: text/plain; charset="UTF-8" On 20 September 2017 at 10:27, Leif Lindholm wrote: > 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 available > +# 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 IMPLIED. > +# > +## > + > + > +################################################################################ > +# > +# 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 > + Now that you have made a clean spot: any reason we shouldn't do 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) == TRUE > + HttpLib|MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.inf > +!endif > + > +!if $(CONFIG_NETWORK_IP6_ENABLE) == TRUE > + BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf > + IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf > + TcpIoLib|MdeModulePkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf > +!endif > + > +!if $(CONFIG_TLS_ENABLE) == 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) == 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) == 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) == TRUE > + NetworkPkg/DnsDxe/DnsDxe.inf > + NetworkPkg/HttpBootDxe/HttpBootDxe.inf > + NetworkPkg/HttpDxe/HttpDxe.inf > + NetworkPkg/HttpUtilitiesDxe/HttpUtilitiesDxe.inf > +!endif > +!if $(CONFIG_TLS_ENABLE) == 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 available > +# 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 IMPLIED. > +# > +## > + > + > + 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) == 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) == 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) == TRUE > + INF NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf > + INF NetworkPkg/TlsDxe/TlsDxe.inf > +!endif > -- > 2.11.0 >