mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
916e1b7f7f
PD#SWPL-169230 Problem: Previous commit https://scgit.amlogic.com/#/c/427562/ including a close source binary for zstd compress, which have license problems Solution: 1, remove this binary in auto-patch; 2, add source code for this binary Verify: S7D Change-Id: Ic0355b6ad3d0d91a9772d007fa2c9797f18004b1 Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
26 lines
652 B
Plaintext
26 lines
652 B
Plaintext
module libzstd [extern_c] {
|
|
header "zstd.h"
|
|
export *
|
|
config_macros [exhaustive] /* zstd.h */ \
|
|
ZSTD_STATIC_LINKING_ONLY, \
|
|
ZSTDLIB_VISIBLE, \
|
|
ZSTD_DLL_EXPORT, \
|
|
ZSTDLIB_STATIC_API, \
|
|
ZSTD_DISABLE_DEPRECATE_WARNINGS, \
|
|
ZSTD_CLEVEL_DEFAULT, \
|
|
/* zdict.h */ ZDICT_STATIC_LINKING_ONLY, \
|
|
ZDICTLIB_VISIBILITY, \
|
|
ZDICT_DISABLE_DEPRECATE_WARNINGS, \
|
|
/* zstd_errors.h */ ZSTDERRORLIB_VISIBILITY
|
|
|
|
module dictbuilder [extern_c] {
|
|
header "zdict.h"
|
|
export *
|
|
}
|
|
|
|
module errors [extern_c] {
|
|
header "zstd_errors.h"
|
|
export *
|
|
}
|
|
}
|