Makefile 627 B

1234567891011121314151617181920212223242526272829303132
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Makefile for key management
  4. #
  5. #
  6. # Core
  7. #
  8. obj-y := \
  9. gc.o \
  10. key.o \
  11. keyring.o \
  12. keyctl.o \
  13. permission.o \
  14. process_keys.o \
  15. request_key.o \
  16. request_key_auth.o \
  17. user_defined.o
  18. compat-obj-$(CONFIG_KEY_DH_OPERATIONS) += compat_dh.o
  19. obj-$(CONFIG_KEYS_COMPAT) += compat.o $(compat-obj-y)
  20. obj-$(CONFIG_PROC_FS) += proc.o
  21. obj-$(CONFIG_SYSCTL) += sysctl.o
  22. obj-$(CONFIG_PERSISTENT_KEYRINGS) += persistent.o
  23. obj-$(CONFIG_KEY_DH_OPERATIONS) += dh.o
  24. #
  25. # Key types
  26. #
  27. obj-$(CONFIG_BIG_KEYS) += big_key.o
  28. obj-$(CONFIG_TRUSTED_KEYS) += trusted.o
  29. obj-$(CONFIG_ENCRYPTED_KEYS) += encrypted-keys/