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