]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Fix DSC LibraryClass precedence rule
authorChen, Christine <Yuwei.Chen@intel.com>
Thu, 30 Jun 2022 09:04:05 +0000 (17:04 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sun, 17 Jul 2022 03:33:41 +0000 (03:33 +0000)
commit039bdb4d3e96f9c9264abf135b8a0eef2e2b4860
tree2ba4a4a04a0c20c2f7d0b1f0ff038623ba0cd609
parent176016387f0a6ad16efcfdcef19fd90bdc3a77e4
BaseTools: Fix DSC LibraryClass precedence rule

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3965

Currently DSC LibraryClass precedence rule is not align with DSC Spec.

The expectation rule should be:
[LibraryClasses.$(ARCH)] < [LibraryClasses.Common.$(MODULE_TYPE)]

The actual behavior is:
[LibraryClasses.$(ARCH)] > [LibraryClasses.Common.$(MODULE_TYPE)]

This patch fixes the issue.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Long1 Huang <long1.huang@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Yuwei Chen <yuwei.chen@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/Workspace/DscBuildData.py