diff options
Diffstat (limited to '')
-rw-r--r-- | share/mk/configure/z.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/share/mk/configure/z.mk b/share/mk/configure/z.mk new file mode 100644 index 0000000..2eec437 --- /dev/null +++ b/share/mk/configure/z.mk @@ -0,0 +1,21 @@ +# Copyright 2023-2024, Alejandro Colomar <alx@kernel.org> +# SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception + + +ifndef MAKEFILE_CONFIGURE_Z_INCLUDED +MAKEFILE_CONFIGURE_Z_INCLUDED := 1 + + +Z := +ifeq ($(Z),) +else ifeq ($(Z),.bz2) +else ifeq ($(Z),.gz) +else ifeq ($(Z),.lz) +else ifeq ($(Z),.xz) +else +$(warning "Z": "$(Z)") +$(error Valid values for "Z": ["", ".bz2", ".gz", ".lz", ".xz"]) +endif + + +endif # include guard |