]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools:BaseTools supports to the driver combination.
authorFan, ZhijuX <zhijux.fan@intel.com>
Tue, 19 Feb 2019 10:46:41 +0000 (18:46 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Wed, 20 Feb 2019 05:16:56 +0000 (13:16 +0800)
commit838bc257bae3f9fc6723f41f3980f6cfbedb77e5
treebf7054282d4b01e2d2e65d5c5123dd0e817dc16b
parentf635b13853fd13003d563172ba73d026c9fc6f25
BaseTools:BaseTools supports to the driver combination.

BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1520

To save the image size without the compression, more than
one drivers can be combined into single one. When more than
one drivers are combined, their depex will be AND together.
Below is the example to combine BootManagerPolicyDxe into
DriverHealthManagerDxe.

Besides this patch, BaseTools also needs to check the module
type and make sure all module type are same. Otherwise,
BaseTools will report the error.
DRIVER INF has the parameter ENTRY_POINT
LIBRARY INF has the parameter LIBRARY_CLASS

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/AutoGen/GenC.py
BaseTools/Source/Python/Workspace/WorkspaceCommon.py