security: only build lsm_audit if CONFIG_SECURITY=y
[sfrench/cifs-2.6.git] / security / Makefile
index be1dd9d2cb2fb90d3969902e456144b6ecc3ea89..74643849902950fd7c0dd286aec84e2b57ce4be3 100644 (file)
@@ -22,7 +22,7 @@ obj-$(CONFIG_SECURITY)                        += security.o
 obj-$(CONFIG_SECURITYFS)               += inode.o
 obj-$(CONFIG_SECURITY_SELINUX)         += selinux/
 obj-$(CONFIG_SECURITY_SMACK)           += smack/
-obj-$(CONFIG_AUDIT)                    += lsm_audit.o
+obj-$(CONFIG_SECURITY)                 += lsm_audit.o
 obj-$(CONFIG_SECURITY_TOMOYO)          += tomoyo/
 obj-$(CONFIG_SECURITY_APPARMOR)                += apparmor/
 obj-$(CONFIG_SECURITY_YAMA)            += yama/