Skip to content
This repository was archived by the owner on Jul 3, 2020. It is now read-only.

Commit a91e409

Browse files
committed
Add miniz decompressor for initrd
1 parent 14ea311 commit a91e409

File tree

5 files changed

+613
-0
lines changed

5 files changed

+613
-0
lines changed

NOTICE

+1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ This product includes software libraries:
1212
- crc64 function by Salvatore Sanfilippo <antirez at gmail dot com>
1313
- expect.js library by Guillermo Rauch (https://github.com/LearnBoost/expect.js/)
1414
- concurrentqueue by Cameron Desrochers (https://github.com/cameron314/concurrentqueue)
15+
- miniz (https://code.google.com/p/miniz/), located at deps/miniz
1516

1617
These libraries have their own licenses.

SConstruct

+2
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,15 @@ config = {
115115
'deps/concurrentqueue',
116116
'deps/acpica/source/include',
117117
'deps/printf',
118+
'deps/miniz',
118119
'src',
119120
'test',
120121
],
121122
"libs": [
122123
'v8',
123124
'cxxrt',
124125
'cxx',
126+
'miniz',
125127
'acpica',
126128
'printf',
127129
'musl',

deps/SConscript

+11
Original file line numberDiff line numberDiff line change
@@ -1004,6 +1004,17 @@ libs_config = {
10041004
'printf/printf.cc',
10051005
],
10061006
},
1007+
"miniz": {
1008+
"include": [
1009+
'musl/src/internal',
1010+
'musl/include',
1011+
'musl/arch/x86_64',
1012+
'musl/arch/x86_64/bits',
1013+
],
1014+
"source": [
1015+
'miniz/tinfl.c',
1016+
],
1017+
},
10071018
}
10081019

10091020

0 commit comments

Comments
 (0)