]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg: Add MdeLibs.dsc.inc file to MdePkg
authorDandan Bi <dandan.bi@intel.com>
Mon, 22 Mar 2021 02:44:13 +0000 (10:44 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 30 Mar 2021 12:48:30 +0000 (12:48 +0000)
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>
MdePkg/MdeLibs.dsc.inc [new file with mode: 0644]

diff --git a/MdePkg/MdeLibs.dsc.inc b/MdePkg/MdeLibs.dsc.inc
new file mode 100644 (file)
index 0000000..3c70daf
--- /dev/null
@@ -0,0 +1,15 @@
+## @file\r
+# Mde DSC include file for [LibraryClasses*] section of all Architectures.\r
+#\r
+# This file can be included to the [LibraryClasses*] section(s) of a platform DSC file\r
+# by using "!include MdePkg/MdeLibs.dsc.inc" to specify the library instances\r
+# of some EDKII basic/common library classes.\r
+#\r
+# Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>\r
+#\r
+#    SPDX-License-Identifier: BSD-2-Clause-Patent\r
+#\r
+##\r
+\r
+[LibraryClasses]\r
+  RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf\r