diff options
| author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-10-18 12:58:16 +0200 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2021-10-20 16:26:19 -0700 |
| commit | bd0da3a3d4f5e51856b5716508df9a4fdbbd416c (patch) | |
| tree | c510144cee5bc33cd98c6c066a2b37e59f99cf6e /scripts/make-release | |
| parent | b152229697c8e3ef2655d29488eadacde6b2b309 (diff) | |
| download | focaccia-qemu-bd0da3a3d4f5e51856b5716508df9a4fdbbd416c.tar.gz focaccia-qemu-bd0da3a3d4f5e51856b5716508df9a4fdbbd416c.zip | |
roms/edk2: Only initialize required submodules
The EDK2 firmware images built to test QEMU do not require the following submodules: - MdeModulePkg/Universal/RegularExpressionDxe/oniguruma - UnitTestFrameworkPkg/Library/CmockaLib/cmocka The only submodules required are: - ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3 - BaseTools/Source/C/BrotliCompress/brotli - CryptoPkg/Library/OpensslLib/openssl - MdeModulePkg/Library/BrotliCustomDecompressLib/brotli Adapt the buildsys machinery to only initialize the required submodules. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Message-Id: <20211018105816.2663195-3-philmd@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts/make-release')
| -rwxr-xr-x | scripts/make-release | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/make-release b/scripts/make-release index a2a8cda33c..05b14ecc95 100755 --- a/scripts/make-release +++ b/scripts/make-release @@ -27,7 +27,12 @@ git submodule update --init # don't necessarily have much control over how a submodule handles its # submodule dependencies, so we continue to handle these on a case-by-case # basis for now. -(cd roms/edk2 && git submodule update --init) +(cd roms/edk2 && \ + git submodule update --init -- \ + ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3 \ + BaseTools/Source/C/BrotliCompress/brotli \ + CryptoPkg/Library/OpensslLib/openssl \ + MdeModulePkg/Library/BrotliCustomDecompressLib/brotli) popd tar --exclude=.git -cjf ${destination}.tar.bz2 ${destination} rm -rf ${destination} |