From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 46BD420082E77 for ; Thu, 15 Jun 2017 02:49:29 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP; 15 Jun 2017 02:50:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,343,1493708400"; d="scan'208";a="274581944" Received: from shwde7172.ccr.corp.intel.com ([10.239.9.14]) by fmsmga004.fm.intel.com with ESMTP; 15 Jun 2017 02:50:44 -0700 From: Liming Gao To: edk2-devel@lists.01.org Date: Thu, 15 Jun 2017 17:46:08 +0800 Message-Id: <1497519972-11796-1-git-send-email-liming.gao@intel.com> X-Mailer: git-send-email 2.8.0.windows.1 Subject: [PATCH v2 staging][BaseToolsOpt 0/4] Enable multiple driver combination 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, 15 Jun 2017 09:49:29 -0000 In V2, 1) Add SamplePkg to include the example to show the combined drivers in DSC. 2) Update Read.MD to describe the Depex will be AND together in the combined driver. Combine more drivers into the single one can reduce the image size and compile link time. This patch adds this support in BaseTools. Liming Gao (4): BaseTools: Merge multiple drivers into one for size and link performance SamplePkg: Add it to show the edk2 usage case. SamplePkg: Combine two drivers into one Update Readme.MD to include multiple driver combination. BaseTools/Source/Python/AutoGen/GenC.py | 24 ++- Readme.MD | 3 + SamplePkg/SamplePkg.dec | 21 +++ SamplePkg/SamplePkg.dsc | 264 ++++++++++++++++++++++++++++++++ 4 files changed, 307 insertions(+), 5 deletions(-) create mode 100644 SamplePkg/SamplePkg.dec create mode 100644 SamplePkg/SamplePkg.dsc -- 2.8.0.windows.1