summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2021-03-22 10:44:13 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-03-30 12:48:30 +0000
commit98ff7e3c6373d3e0590f953459b6234ab12edce6 (patch)
tree835def5168700876d0677647eed18eabbd3da9c8 /MdePkg
parent1c11e7a2142b1406ccff5e0af0893c94472871c8 (diff)
downloadedk2-98ff7e3c6373d3e0590f953459b6234ab12edce6.tar.gz
edk2-98ff7e3c6373d3e0590f953459b6234ab12edce6.tar.bz2
edk2-98ff7e3c6373d3e0590f953459b6234ab12edce6.zip
MdePkg: Add MdeLibs.dsc.inc file to MdePkg
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246 MdeLibs.dsc.inc is added for some default libraries provided by MdePkg. Platform can include MdeLibs.dsc.inc file to avoid some potential incompatible changes to platform dsc file in future. Only add RegisterFilterLib into it as the first version of MdeLibs.dsc.inc. Can update and maintain MdeLibs.dsc.inc gradually later. "MdeLibs.dsc.inc" for the [LibraryClasses*] section(s) Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Acked-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/MdeLibs.dsc.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/MdePkg/MdeLibs.dsc.inc b/MdePkg/MdeLibs.dsc.inc
new file mode 100644
index 0000000000..3c70daf87a
--- /dev/null
+++ b/MdePkg/MdeLibs.dsc.inc
@@ -0,0 +1,15 @@
+## @file
+# Mde DSC include file for [LibraryClasses*] section of all Architectures.
+#
+# This file can be included to the [LibraryClasses*] section(s) of a platform DSC file
+# by using "!include MdePkg/MdeLibs.dsc.inc" to specify the library instances
+# of some EDKII basic/common library classes.
+#
+# Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
+#
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
+##
+
+[LibraryClasses]
+ RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf