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

MdeLibs.dsc.inc was added for some basic/default library
instances provided by MdePkg and RegisterFilterLibNull Library
was also added into it as the first version of MdeLibs.dsc.inc.

So update platform dsc to consume MdeLibs.dsc.inc for
RegisterFilterLibNull which will be consumed by IoLib and BaseLib.

Cc: Leif Lindholm <l...@nuviainc.com>
Cc: Meenakshi Aggarwal <meenakshi.aggar...@nxp.com>
Signed-off-by: Dandan Bi <dandan...@intel.com>
---
V4:
New updated to consume the MdeLibs.dsc.inc for RegisterFilterLibNull in all dsc 
files.
Rather than consuming MdeLibs.dsc.in NxpQoriqLs.dsc.inc.

V3:
Update plaftom dsc to consume the MdeLibs.dsc.inc outside the common
[LibraryClasses] section since we can specify different [LibraryClasses]
section for libary instances in MdeLibs.dsc.inc.

V2:
Update Platform dsc to consume the MdeLibs.dsc.inc rather than
consuming RegisterFilterLibNull instance directly.
---
 Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc   | 1 +
 Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dsc | 1 +
 Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc   | 1 +
 3 files changed, 3 insertions(+)

diff --git a/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc 
b/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc
index 6d07d51640..cf0e622837 100644
--- a/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc
+++ b/Platform/NXP/LS1043aRdbPkg/LS1043aRdbPkg.dsc
@@ -28,10 +28,11 @@ [Defines]
   DEFINE NETWORK_TLS_ENABLE             = FALSE
   DEFINE NETWORK_HTTP_BOOT_ENABLE       = FALSE
   DEFINE NETWORK_ISCSI_ENABLE           = FALSE
 
 !include Silicon/NXP/NxpQoriqLs.dsc.inc
+!include MdePkg/MdeLibs.dsc.inc
 !include Silicon/NXP/LS1043A/LS1043A.dsc.inc
 
 [LibraryClasses.common]
   
ArmPlatformLib|Platform/NXP/LS1043aRdbPkg/Library/ArmPlatformLib/ArmPlatformLib.inf
   RealTimeClockLib|Silicon/Maxim/Library/Ds1307RtcLib/Ds1307RtcLib.inf
diff --git a/Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dsc 
b/Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dsc
index 266fdbd2b4..67cf15cbe4 100755
--- a/Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dsc
+++ b/Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.dsc
@@ -21,10 +21,11 @@ [Defines]
   PLATFORM_GUID                  = 79adaa48-5f50-49f0-aa9a-544ac9260ef8
   OUTPUT_DIRECTORY               = Build/LS1046aFrwyPkg
   FLASH_DEFINITION               = 
Platform/NXP/LS1046aFrwyPkg/LS1046aFrwyPkg.fdf
 
 !include Silicon/NXP/NxpQoriqLs.dsc.inc
+!include MdePkg/MdeLibs.dsc.inc
 !include Silicon/NXP/LS1046A/LS1046A.dsc.inc
 
 [LibraryClasses.common]
   
ArmPlatformLib|Platform/NXP/LS1046aFrwyPkg/Library/ArmPlatformLib/ArmPlatformLib.inf
   
RealTimeClockLib|EmbeddedPkg/Library/VirtualRealTimeClockLib/VirtualRealTimeClockLib.inf
diff --git a/Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc 
b/Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc
index 9d898f27f3..112f6cc1a4 100644
--- a/Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc
+++ b/Platform/NXP/LX2160aRdbPkg/LX2160aRdbPkg.dsc
@@ -33,10 +33,11 @@ [Defines]
   # This flag controls the dynamic acpi generation
   #
   DEFINE DYNAMIC_ACPI_ENABLE            = TRUE
 
 !include Silicon/NXP/NxpQoriqLs.dsc.inc
+!include MdePkg/MdeLibs.dsc.inc
 !include Silicon/NXP/LX2160A/LX2160A.dsc.inc
 
 !if $(DYNAMIC_ACPI_ENABLE) == TRUE
   !include DynamicTablesPkg/DynamicTables.dsc.inc
 !endif
-- 
2.18.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#73474): https://edk2.groups.io/g/devel/message/73474
Mute This Topic: https://groups.io/mt/81671688/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to