Skip to content

Commit

Permalink
tomoyo: avoid unneeded creation of builtin-policy.h
Browse files Browse the repository at this point in the history
When CONFIG_SECURITY_TOMOYO_INSECURE_BUILTIN_SETTING=y,
builtin-policy.h is unneeded.

Signed-off-by: Masahiro Yamada <[email protected]>
Signed-off-by: Tetsuo Handa <[email protected]>
  • Loading branch information
masahir0y authored and Tetsuo Handa committed Jan 7, 2023
1 parent eaf2213 commit df4840c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions security/tomoyo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ quiet_cmd_policy = POLICY $@
$(obj)/builtin-policy.h: $(wildcard $(obj)/policy/*.conf $(srctree)/$(src)/policy/*.conf.default) FORCE
$(call if_changed,policy)

ifndef CONFIG_SECURITY_TOMOYO_INSECURE_BUILTIN_SETTING
$(obj)/common.o: $(obj)/builtin-policy.h
endif

0 comments on commit df4840c

Please sign in to comment.