From: bk0121.shin Date: Fri, 24 Jul 2015 12:16:30 +0000 (+0900) Subject: security: support extension build X-Git-Tag: submit/tizen/20160422.055611~1^2~25^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e61a141fffa4135948896ad5996e6a30c1eccd9;p=sdk%2Femulator%2Femulator-kernel.git security: support extension build Change-Id: I0f05f0d6f0a74c97d6703185297201b931b97cea Signed-off-by: bk0121.shin --- diff --git a/security/Makefile b/security/Makefile index a5918e01a4f7..a60d14b05d15 100644 --- a/security/Makefile +++ b/security/Makefile @@ -14,10 +14,12 @@ obj-y += commoncap.o obj-$(CONFIG_MMU) += min_addr.o # Object file lists +ifndef CONFIG_MARU_EXTENSION_SOURCE obj-$(CONFIG_SECURITY) += security.o capability.o +obj-$(CONFIG_SECURITY_SMACK) += smack/built-in.o +endif obj-$(CONFIG_SECURITYFS) += inode.o obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o -obj-$(CONFIG_SECURITY_SMACK) += smack/built-in.o obj-$(CONFIG_AUDIT) += lsm_audit.o obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/built-in.o obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/built-in.o diff --git a/security/smack/Makefile b/security/smack/Makefile index 67a63aaec827..6a1931efd46a 100644 --- a/security/smack/Makefile +++ b/security/smack/Makefile @@ -2,6 +2,8 @@ # Makefile for the SMACK LSM # +ifndef CONFIG_MARU_EXTENSION_SOURCE obj-$(CONFIG_SECURITY_SMACK) := smack.o smack-y := smack_lsm.o smack_access.o smackfs.o +endif