Index: b/security/Makefile =================================================================== --- a/security/Makefile +++ b/security/Makefile @@ -4,6 +4,7 @@ obj-$(CONFIG_KEYS) += keys/ subdir-$(CONFIG_SECURITY_SELINUX) += selinux +obj-$(CONFIG_SECURITY_APPARMOR) += commoncap.o apparmor/ # if we don't select a security model, use the default capabilities ifneq ($(CONFIG_SECURITY),y) Index: b/security/Kconfig =================================================================== --- a/security/Kconfig +++ b/security/Kconfig @@ -100,6 +100,7 @@ config SECURITY_SECLVL If you are unsure how to answer this question, answer N. source security/selinux/Kconfig +source security/apparmor/Kconfig endmenu