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