diff options
author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2020-09-22 22:28:37 +0100 |
---|---|---|
committer | Bertrand Jacquin <bertrand@jacquin.bzh> | 2020-10-18 00:21:13 +0100 |
commit | a5f42cb6dcc04a68f588791170014f85d5edd1d2 (patch) | |
tree | 04eda4fe897ed83c08b8abfb51b28d13b9d58721 /eclass | |
parent | profiles/common: bump RUBY_TARGETS (diff) | |
download | portage-a5f42cb6dcc04a68f588791170014f85d5edd1d2.tar.xz |
eclass/linux-build: support KERNEL_ZSTD
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/linux-build.eclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eclass/linux-build.eclass b/eclass/linux-build.eclass index 7d10f0af..6127631b 100644 --- a/eclass/linux-build.eclass +++ b/eclass/linux-build.eclass @@ -266,6 +266,10 @@ _linux-build_src_prepare_build() { if ! has_version --host-root "app-arch/lz4" ; then die "app-arch/lz4 is required for CONFIG_KERNEL_LZ4" fi + elif _linux-build_configval KERNEL_ZSTD ; then + if ! has_version --host-root "app-arch/zstd" ; then + die "app-arch/zstd is required for CONFIG_KERNEL_ZSTD" + fi fi if _linux-build_configval MODULE_COMPRESS ; then |