ext: Replace gzstream with iostream3 from zlib to avoid LGPL

This patch replaces the gzstream zlib wrapper with the iostream3
wrapper provided as part of zlib contributions. The main reason for
the switch is to avoid including LGPL in the default gem5
build. iostream3 is provided under a more permissive license:

The code is provided "as is", with the permission to use, copy,
modify, distribute and sell it for any purpose without fee.
This commit is contained in:
Andreas Hansson
2016-01-11 05:52:18 -05:00
parent c965ca96cc
commit 7661f1c2bf
12 changed files with 1066 additions and 803 deletions

View File

@@ -1200,9 +1200,9 @@ main.Append(BUILDERS = { 'ConfigFile' : config_builder })
main.SConscript('ext/libelf/SConscript',
variant_dir = joinpath(build_root, 'libelf'))
# gzstream build is shared across all configs in the build root.
main.SConscript('ext/gzstream/SConscript',
variant_dir = joinpath(build_root, 'gzstream'))
# iostream3 build is shared across all configs in the build root.
main.SConscript('ext/iostream3/SConscript',
variant_dir = joinpath(build_root, 'iostream3'))
# libfdt build is shared across all configs in the build root.
main.SConscript('ext/libfdt/SConscript',