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/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to