Commit a7a387cc authored by Ralf Baechle's avatar Ralf Baechle Committed by James Morris

SELINUX: Fix build error.

Fix build error caused by a stale security/selinux/av_permissions.h in the $(src)
directory which will override a more recent version in $(obj) that is it
appears to strike only when building with a separate object directory.
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
Acked-by: default avatarEric Paris <eparis@redhat.com>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent 06c22dad
...@@ -25,6 +25,6 @@ $(obj)/avc.o: $(obj)/flask.h ...@@ -25,6 +25,6 @@ $(obj)/avc.o: $(obj)/flask.h
quiet_cmd_flask = GEN $(obj)/flask.h $(obj)/av_permissions.h quiet_cmd_flask = GEN $(obj)/flask.h $(obj)/av_permissions.h
cmd_flask = scripts/selinux/genheaders/genheaders $(obj)/flask.h $(obj)/av_permissions.h cmd_flask = scripts/selinux/genheaders/genheaders $(obj)/flask.h $(obj)/av_permissions.h
targets += flask.h targets += flask.h av_permissions.h
$(obj)/flask.h: $(src)/include/classmap.h FORCE $(obj)/flask.h: $(src)/include/classmap.h FORCE
$(call if_changed,flask) $(call if_changed,flask)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment