Prev: [15/36] ath9k: enable serialize_regmode for non-PCIE AR9160
Next: [11/36] e1000e: dont inadvertently re-set INTX_DISABLE
From: Ralf Baechle on 6 Aug 2010 15:40 [...] CC security/selinux/hooks.o /home/ralf/src/linux/linux-mips/security/selinux/hooks.c: In function 'selinux_inode_permission': /home/ralf/src/linux/linux-mips/security/selinux/hooks.c:2644:38: error: 'FILE__AUDIT_ACCESS' undeclared (first use in this function) /home/ralf/src/linux/linux-mips/security/selinux/hooks.c:2644:38: note: each undeclared identifier is reported only once for each function it appears in make[4]: *** [security/selinux/hooks.o] Error 1 make[3]: *** [security/selinux] Error 2 make[2]: *** [security] Error 2 make[1]: *** [sub-make] Error 2 make: *** [all] Error 2 This is cause 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(a)linux-mips.org> security/selinux/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/security/selinux/Makefile b/security/selinux/Makefile index f013982..58d80f3 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) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |