]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPlatformPkg/ArmPlatformPkg.dsc
ArmPlatformPkg: Fix Ecc error 10006 in ArmPlatformPkg.dsc
authorPierre Gondois <Pierre.Gondois@arm.com>
Fri, 6 Nov 2020 09:47:47 +0000 (09:47 +0000)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 9 Dec 2020 15:32:12 +0000 (15:32 +0000)
commit2dfd81aaf50ca2bd1e2d33ed5687620de90810ce
treeeccaa20d4bfc11e1f74485f063adeea87eb2e66f
parent42bec8c8104c9db4891dfd1b208032c9c413d861
ArmPlatformPkg: Fix Ecc error 10006 in ArmPlatformPkg.dsc

This patch fixes the following Ecc reported error:
There should be no unnecessary inclusion of library
classes in the INF file

This comes with the additional information:
"The Library Class [TimeBaseLib] is not used
in any platform"
"The Library Class [PL011UartClockLib] is not used
in any platform"
"The Library Class [PL011UartLib] is not used
in any platform"

Indeed, the PL011SerialPortLib module requires the
PL011UartClockLib and PL011UartLib libraries.
The PL031RealTimeClockLib module requires the TimeBaseLib
library.
ArmPlatformPkg/ArmPlatformPkg.dsc builds the two modules,
but doesn't build the required libraries. This patch adds
the missing libraries to the [LibraryClasses.common] section.

Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
ArmPlatformPkg/ArmPlatformPkg.dsc