Skip to content

Commit df4840c

Browse files
masahir0yTetsuo Handa
authored andcommitted
tomoyo: avoid unneeded creation of builtin-policy.h
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]>
1 parent eaf2213 commit df4840c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

security/tomoyo/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@ quiet_cmd_policy = POLICY $@
1313
$(obj)/builtin-policy.h: $(wildcard $(obj)/policy/*.conf $(srctree)/$(src)/policy/*.conf.default) FORCE
1414
$(call if_changed,policy)
1515

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

0 commit comments

Comments
 (0)