render / rpms / edk2

Forked from rpms/edk2 2 months ago
Clone

Blame SOURCES/0009-MdeModulePkg-remove-package-private-Brotli-include-p.patch

0e3eb6
From df9e25b7e6179a7764d44f915de95af5f850a020 Mon Sep 17 00:00:00 2001
1d2c45
From: Laszlo Ersek <lersek@redhat.com>
1d2c45
Date: Thu, 4 Jun 2020 13:39:08 +0200
1d2c45
Subject: MdeModulePkg: remove package-private Brotli include path (RH only)
1d2c45
b6c182
Notes about the RHEL-8.3/20200603-ca407c7246bf [edk2-stable202005] ->
b6c182
RHEL-8.5/20210520-e1999b264f1f [edk2-stable202105] rebase:
b6c182
b6c182
- no change
b6c182
1d2c45
Notes about the RHEL-8.2/20190904-37eef91017ad [edk2-stable201908] ->
1d2c45
RHEL-8.3/20200603-ca407c7246bf [edk2-stable202005] rebase:
1d2c45
1d2c45
- New patch.
1d2c45
1d2c45
Originating from upstream commit 58802e02c41b
1d2c45
("MdeModulePkg/BrotliCustomDecompressLib: Make brotli a submodule",
1d2c45
2020-04-16), "MdeModulePkg/MdeModulePkg.dec" contains a package-internal
1d2c45
include path into a Brotli submodule.
1d2c45
1d2c45
The edk2 build system requires such include paths to resolve successfully,
1d2c45
regardless of the firmware platform being built. Because
1d2c45
BrotliCustomDecompressLib is not consumed by any OvmfPkg or ArmVirtPkg
1d2c45
platforms, and we've removed the submodule earlier in this patch set,
1d2c45
remove the include path too.
1d2c45
1d2c45
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
b6c182
(cherry picked from commit e05e0de713c4a2b8adb6ff9809611f222bfe50ed)
1d2c45
---
1d2c45
 MdeModulePkg/MdeModulePkg.dec | 3 ---
1d2c45
 1 file changed, 3 deletions(-)
1d2c45
1d2c45
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec
0e3eb6
index 463e889e9a..9d69fb86ed 100644
1d2c45
--- a/MdeModulePkg/MdeModulePkg.dec
1d2c45
+++ b/MdeModulePkg/MdeModulePkg.dec
1d2c45
@@ -24,9 +24,6 @@
1d2c45
 [Includes]
1d2c45
   Include
1d2c45
 
1d2c45
-[Includes.Common.Private]
1d2c45
-  Library/BrotliCustomDecompressLib/brotli/c/include
1d2c45
-
1d2c45
 [LibraryClasses]
1d2c45
   ##  @libraryclass  Defines a set of methods to reset whole system.
1d2c45
   ResetSystemLib|Include/Library/ResetSystemLib.h
1d2c45
-- 
b6c182
2.27.0
1d2c45