xref: /kernel/linux/linux-5.10/security/tomoyo/Makefile
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/security/tomoyo/
18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ciobj-y = audit.o common.o condition.o domain.o environ.o file.o gc.o group.o load_policy.o memory.o mount.o network.o realpath.o securityfs_if.o tomoyo.o util.o
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_citargets += builtin-policy.h
58c2ecf20Sopenharmony_cidefine do_policy
68c2ecf20Sopenharmony_ciecho "static char tomoyo_builtin_$(1)[] __initdata ="; \
78c2ecf20Sopenharmony_ci$(objtree)/scripts/bin2c <$(firstword $(wildcard $(obj)/policy/$(1).conf $(srctree)/$(src)/policy/$(1).conf.default) /dev/null); \
88c2ecf20Sopenharmony_ciecho ";"
98c2ecf20Sopenharmony_ciendef
108c2ecf20Sopenharmony_ciquiet_cmd_policy  = POLICY  $@
118c2ecf20Sopenharmony_ci      cmd_policy  = ($(call do_policy,profile); $(call do_policy,exception_policy); $(call do_policy,domain_policy); $(call do_policy,manager); $(call do_policy,stat)) >$@
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci$(obj)/builtin-policy.h: $(wildcard $(obj)/policy/*.conf $(srctree)/$(src)/policy/*.conf.default) FORCE
148c2ecf20Sopenharmony_ci	$(call if_changed,policy)
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci$(obj)/common.o: $(obj)/builtin-policy.h
17

Indexes created Thu Nov 07 10:32:03 CST 2024