summaryrefslogtreecommitdiffstats
path: root/security/selinux
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2010-08-06 21:37:56 +0200
committerJames Morris <jmorris@namei.org>2010-08-07 00:11:39 +0200
commita7a387cc596278af1516c534b50cc0bee171129d (patch)
tree6b020262150ab47e2aaeb7ccdd57534460df2665 /security/selinux
parentapparmor: depends on NET (diff)
downloadlinux-a7a387cc596278af1516c534b50cc0bee171129d.tar.xz
linux-a7a387cc596278af1516c534b50cc0bee171129d.zip
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: Ralf Baechle <ralf@linux-mips.org> Acked-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux')
-rw-r--r--security/selinux/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/Makefile b/security/selinux/Makefile
index f013982df417..58d80f3bd6f6 100644
--- a/security/selinux/Makefile
+++ b/security/selinux/Makefile
@@ -25,6 +25,6 @@ $(obj)/avc.o: $(obj)/flask.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
-targets += flask.h
+targets += flask.h av_permissions.h
$(obj)/flask.h: $(src)/include/classmap.h FORCE
$(call if_changed,flask)