|
|
be6997 |
From 5fa2d2bbc8c9d3c9ff5a0293c3b2fa756bddd500 Mon Sep 17 00:00:00 2001
|
|
|
be6997 |
From: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
be6997 |
Date: Thu, 24 Mar 2022 03:23:02 -0400
|
|
|
be6997 |
Subject: Remove submodules
|
|
|
be6997 |
|
|
|
be6997 |
Upstream edk2 tracks several submodules we do not need in RHEL (removal
|
|
|
be6997 |
done by individual commits in previous RHEL versions):
|
|
|
be6997 |
|
|
|
be6997 |
- openssl: We use RHEL specific openssl submodule later (commit 48f993088e)
|
|
|
be6997 |
- SoftFloat: required only for 32-bit ARM (commit 273787a5c2)
|
|
|
be6997 |
- cmocka: needed for UnitTestFrameworkPkg we do not use (commit a2dca9bcd2)
|
|
|
be6997 |
- oniguruma: rhel do not need this dependency (commit 73f4b42b3a)
|
|
|
be6997 |
- brotli: removed this dependency (commits fcd212ffce, cf62a90767 and ac5782e6ab)
|
|
|
be6997 |
- jansson: we do not depend on JSON parsing or formating (commit c84227659a)
|
|
|
be6997 |
|
|
|
be6997 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
be6997 |
|
|
|
be6997 |
MdeModulePkg: remove package-private Brotli include path (RH only)
|
|
|
7439a5 |
|
|
|
7439a5 |
Notes about the RHEL-8.3/20200603-ca407c7246bf [edk2-stable202005] ->
|
|
|
7439a5 |
RHEL-8.5/20210520-e1999b264f1f [edk2-stable202105] rebase:
|
|
|
7439a5 |
|
|
|
7439a5 |
- no change
|
|
|
7439a5 |
|
|
|
7439a5 |
Notes about the RHEL-8.2/20190904-37eef91017ad [edk2-stable201908] ->
|
|
|
7439a5 |
RHEL-8.3/20200603-ca407c7246bf [edk2-stable202005] rebase:
|
|
|
7439a5 |
|
|
|
7439a5 |
- New patch.
|
|
|
7439a5 |
|
|
|
7439a5 |
Originating from upstream commit 58802e02c41b
|
|
|
7439a5 |
("MdeModulePkg/BrotliCustomDecompressLib: Make brotli a submodule",
|
|
|
7439a5 |
2020-04-16), "MdeModulePkg/MdeModulePkg.dec" contains a package-internal
|
|
|
7439a5 |
include path into a Brotli submodule.
|
|
|
7439a5 |
|
|
|
7439a5 |
The edk2 build system requires such include paths to resolve successfully,
|
|
|
7439a5 |
regardless of the firmware platform being built. Because
|
|
|
7439a5 |
BrotliCustomDecompressLib is not consumed by any OvmfPkg or ArmVirtPkg
|
|
|
7439a5 |
platforms, and we've removed the submodule earlier in this patch set,
|
|
|
7439a5 |
remove the include path too.
|
|
|
7439a5 |
|
|
|
7439a5 |
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
7439a5 |
(cherry picked from commit e05e0de713c4a2b8adb6ff9809611f222bfe50ed)
|
|
|
7439a5 |
---
|
|
|
be6997 |
.gitmodules | 22 -------------------
|
|
|
be6997 |
.../ArmSoftFloatLib/berkeley-softfloat-3 | 1 -
|
|
|
be6997 |
BaseTools/Source/C/BrotliCompress/brotli | 1 -
|
|
|
be6997 |
BaseTools/Source/C/GNUmakefile | 1 -
|
|
|
be6997 |
CryptoPkg/.gitignore | 1 +
|
|
|
be6997 |
CryptoPkg/Library/OpensslLib/openssl | 1 -
|
|
|
be6997 |
.../Library/BrotliCustomDecompressLib/brotli | 1 -
|
|
|
be6997 |
MdeModulePkg/MdeModulePkg.dec | 3 ---
|
|
|
be6997 |
.../Universal/RegularExpressionDxe/oniguruma | 1 -
|
|
|
be6997 |
RedfishPkg/Library/JsonLib/jansson | 1 -
|
|
|
be6997 |
UnitTestFrameworkPkg/Library/CmockaLib/cmocka | 1 -
|
|
|
be6997 |
11 files changed, 1 insertion(+), 33 deletions(-)
|
|
|
be6997 |
delete mode 160000 ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3
|
|
|
be6997 |
delete mode 160000 BaseTools/Source/C/BrotliCompress/brotli
|
|
|
be6997 |
create mode 100644 CryptoPkg/.gitignore
|
|
|
be6997 |
delete mode 160000 CryptoPkg/Library/OpensslLib/openssl
|
|
|
be6997 |
delete mode 160000 MdeModulePkg/Library/BrotliCustomDecompressLib/brotli
|
|
|
be6997 |
delete mode 160000 MdeModulePkg/Universal/RegularExpressionDxe/oniguruma
|
|
|
be6997 |
delete mode 160000 RedfishPkg/Library/JsonLib/jansson
|
|
|
be6997 |
delete mode 160000 UnitTestFrameworkPkg/Library/CmockaLib/cmocka
|
|
|
7439a5 |
|
|
|
be6997 |
diff --git a/BaseTools/Source/C/GNUmakefile b/BaseTools/Source/C/GNUmakefile
|
|
|
be6997 |
index 8c191e0c38..3eae824a1c 100644
|
|
|
be6997 |
--- a/BaseTools/Source/C/GNUmakefile
|
|
|
be6997 |
+++ b/BaseTools/Source/C/GNUmakefile
|
|
|
be6997 |
@@ -48,7 +48,6 @@ all: makerootdir subdirs
|
|
|
be6997 |
LIBRARIES = Common
|
|
|
be6997 |
VFRAUTOGEN = VfrCompile/VfrLexer.h
|
|
|
be6997 |
APPLICATIONS = \
|
|
|
be6997 |
- BrotliCompress \
|
|
|
be6997 |
VfrCompile \
|
|
|
be6997 |
EfiRom \
|
|
|
be6997 |
GenFfs \
|
|
|
7439a5 |
diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec
|
|
|
be6997 |
index 2bcb9f9453..f549276b80 100644
|
|
|
7439a5 |
--- a/MdeModulePkg/MdeModulePkg.dec
|
|
|
7439a5 |
+++ b/MdeModulePkg/MdeModulePkg.dec
|
|
|
7439a5 |
@@ -24,9 +24,6 @@
|
|
|
7439a5 |
[Includes]
|
|
|
7439a5 |
Include
|
|
|
7439a5 |
|
|
|
7439a5 |
-[Includes.Common.Private]
|
|
|
7439a5 |
- Library/BrotliCustomDecompressLib/brotli/c/include
|
|
|
7439a5 |
-
|
|
|
7439a5 |
[LibraryClasses]
|
|
|
7439a5 |
## @libraryclass Defines a set of methods to reset whole system.
|
|
|
7439a5 |
ResetSystemLib|Include/Library/ResetSystemLib.h
|