Skip to content

Commit b01c939

Browse files
t-8chpcmoore
authored andcommitted
selinux: add generated av_permissions.h to targets
av_permissions.h was not declared as a target and therefore not cleaned up automatically by kbuild. Suggested-by: Masahiro Yamada <[email protected]> Link: https://lore.kernel.org/lkml/CAK7LNATUnCPt03BRFSKh1EH=+Sy0Q48wE4ER0BZdJqOb_44L8w@mail.gmail.com/ Signed-off-by: Thomas Weißschuh <[email protected]> Reviewed-by: Masahiro Yamada <[email protected]> Signed-off-by: Paul Moore <[email protected]>
1 parent 40384c8 commit b01c939

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

security/selinux/Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,10 @@ $(addprefix $(obj)/,$(selinux-y)): $(obj)/flask.h
3333
quiet_cmd_genhdrs = GEN $(addprefix $(obj)/,$(genhdrs))
3434
cmd_genhdrs = $< $(addprefix $(obj)/,$(genhdrs))
3535

36-
# see the note above, replace the $targets and 'flask.h' rule with the lines
37-
# below:
38-
# targets += $(genhdrs)
36+
targets += $(genhdrs)
37+
38+
# see the note above, replace the 'flask.h' rule with the line below:
3939
# $(addprefix $(obj)/,$(genhdrs)) &: $(obj)/genheaders FORCE
40-
targets += flask.h
4140
$(obj)/flask.h: $(obj)/genheaders FORCE
4241
$(call if_changed,genhdrs)
4342

0 commit comments

Comments
 (0)