Files

32 lines
699 B
Makefile
Raw Permalink Normal View History

2024-08-02 23:08:15 -07:00
# SPDX-License-Identifier: GPL-2.0
#
# Copyright (C) 2020-2024 Microsoft Corporation. All rights reserved.
#
# Makefile for building the IPE module as part of the kernel tree.
#
2024-08-02 23:08:31 -07:00
quiet_cmd_polgen = IPE_POL $(2)
cmd_polgen = scripts/ipe/polgen/polgen security/ipe/boot_policy.c $(2)
targets += boot_policy.c
$(obj)/boot_policy.c: scripts/ipe/polgen/polgen $(CONFIG_IPE_BOOT_POLICY) FORCE
$(call if_changed,polgen,$(CONFIG_IPE_BOOT_POLICY))
2024-08-02 23:08:15 -07:00
obj-$(CONFIG_SECURITY_IPE) += \
2024-08-02 23:08:31 -07:00
boot_policy.o \
digest.o \
2024-08-02 23:08:17 -07:00
eval.o \
hooks.o \
2024-08-02 23:08:22 -07:00
fs.o \
2024-08-02 23:08:15 -07:00
ipe.o \
2024-08-02 23:08:16 -07:00
policy.o \
2024-08-02 23:08:22 -07:00
policy_fs.o \
2024-08-02 23:08:16 -07:00
policy_parser.o \
2024-08-02 23:08:23 -07:00
audit.o \
2024-08-02 23:08:31 -07:00
clean-files := boot_policy.c \
2024-08-02 23:08:32 -07:00
obj-$(CONFIG_SECURITY_IPE_KUNIT_TEST) += \
policy_tests.o \