From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: liming.gao@intel.com) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by groups.io with SMTP; Thu, 25 Apr 2019 05:38:08 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Apr 2019 05:38:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,393,1549958400"; d="scan'208";a="340712866" Received: from lgao4-mobl1.ccr.corp.intel.com ([10.255.29.102]) by fmsmga006.fm.intel.com with ESMTP; 25 Apr 2019 05:38:07 -0700 From: "Liming Gao" To: devel@edk2.groups.io Subject: [Patch v3 0/3] Add package level include DSC/FDF in NetworkPkg Date: Thu, 25 Apr 2019 20:37:32 +0800 Message-Id: <20190425123735.10960-1-liming.gao@intel.com> X-Mailer: git-send-email 2.16.2.windows.1 BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1293 BZ 1293 requests to move Network modules from MdeModulePkg to NetworkPkg. To keep the backword compatiblity, Network package level include DSC/FDF are introduced to be used in the platform DSC/FDF files. When Network modules are moved from MdeModulePkg to NetworkPkg, Network package level include DSC/FDF will be updated together. There is no impact on the platform DSC/FDF file. This patch set is to introduce network package level include DSC/FDF files. Bases on previous discussion and the existing usage case, build flag will be used to enable/disable the network features. PCD control feature way can be discussed later. And, to meet with the different usages, this patch set introduces the separate DSC for Defines/Pcds/Libraries/Components (Patch 2) , and also adds the package level combined DSC to include them all (Patch 3). If platform wants to use the flexible way to enable Network feature, it can use the separate DSCs. If the platform wants to directly enable Network feature, it can use the combined package DSC file. This patch set is to update NetworkPkg only. If there is no objection on this proposal, the following changes to platform DSC/FDF will be made and sent for review. By default, the platform DSC/FDF will use the combined DSC/FDF file. If the platform owner wants to use the flexible way to enable Network feature, please reply this mail. Liming Gao (3): NetworkPkg DSC: Add the required ARM library to pass ARM build NetworkPkg: Add DSC/FDF include segment files to NetworkPkg. NetworkPkg: Add package level include DSC file NetworkPkg/Network.dsc.inc | 30 +++++++++ NetworkPkg/Network.fdf.inc | 56 ++++++++++++++++ NetworkPkg/NetworkComponents.dsc.inc | 61 +++++++++++++++++ NetworkPkg/NetworkDefines.dsc.inc | 126 +++++++++++++++++++++++++++++++++++ NetworkPkg/NetworkLibs.dsc.inc | 19 ++++++ NetworkPkg/NetworkPcds.dsc.inc | 16 +++++ NetworkPkg/NetworkPkg.dsc | 25 +------ 7 files changed, 311 insertions(+), 22 deletions(-) create mode 100644 NetworkPkg/Network.dsc.inc create mode 100644 NetworkPkg/Network.fdf.inc create mode 100644 NetworkPkg/NetworkComponents.dsc.inc create mode 100644 NetworkPkg/NetworkDefines.dsc.inc create mode 100644 NetworkPkg/NetworkLibs.dsc.inc create mode 100644 NetworkPkg/NetworkPcds.dsc.inc -- 2.13.0.windows.1