[edk2-devel] [PATCH v2 05/26] ArmPkg: Fix Ecc error 10006 in ArmPkg.dsc

PierreGondois pierre.gondois at arm.com
Tue Feb 23 10:31:15 UTC 2021


Hi Sami,
The ArmPkg implements two versions of the PeCoffExtraActionLib library at:
* ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
* ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf

They are explicitly built by being placed in a [Components] section of ArmPkg.dsc. The modules listed in the [Library] section are not guaranteed it to be built.

>From what I interpret, the [...]LibNull.inf modules are used as a empty shells so that when building a component, the libraries the component is dependent on are not not blame.
Thus, I think it is better to use the [...]LibNull.inf implementation in the Library section since it is available.

This also means that in ArmPkg.dsc, we should maybe replace the libraries by their [...]LibNull.inf equivalent when possible, like:
CpuLib|MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
being replaced by:
CpuLib|MdePkg/Library/BaseCpuLibNull/BaseCpuLibNull.inf

Regards,
Pierre


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#72044): https://edk2.groups.io/g/devel/message/72044
Mute This Topic: https://groups.io/mt/80474617/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20210223/3f37f1c8/attachment.htm>


More information about the edk2-devel-archive mailing list