mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-09-04 20:19:47 +08:00 
			
		
		
		
	 e0c2de2b15
			
		
	
	
		e0c2de2b15
		
	
	
	
	
		
			
			The Makefiles in security/ uses a non-standard way to specify sub-directories for building. Fix it up so the normal (and documented) approach is used. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Michal Marek <mmarek@suse.cz> Signed-off-by: James Morris <james.l.morris@oracle.com>
		
			
				
	
	
		
			30 lines
		
	
	
		
			913 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			913 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| #
 | |
| # Makefile for the kernel security code
 | |
| #
 | |
| 
 | |
| obj-$(CONFIG_KEYS)			+= keys/
 | |
| subdir-$(CONFIG_SECURITY_SELINUX)	+= selinux
 | |
| subdir-$(CONFIG_SECURITY_SMACK)		+= smack
 | |
| subdir-$(CONFIG_SECURITY_TOMOYO)        += tomoyo
 | |
| subdir-$(CONFIG_SECURITY_APPARMOR)	+= apparmor
 | |
| subdir-$(CONFIG_SECURITY_YAMA)		+= yama
 | |
| 
 | |
| # always enable default capabilities
 | |
| obj-y					+= commoncap.o
 | |
| obj-$(CONFIG_MMU)			+= min_addr.o
 | |
| 
 | |
| # Object file lists
 | |
| obj-$(CONFIG_SECURITY)			+= security.o capability.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_TOMOYO)		+= tomoyo/
 | |
| obj-$(CONFIG_SECURITY_APPARMOR)		+= apparmor/
 | |
| obj-$(CONFIG_SECURITY_YAMA)		+= yama/
 | |
| obj-$(CONFIG_CGROUP_DEVICE)		+= device_cgroup.o
 | |
| 
 | |
| # Object integrity file lists
 | |
| subdir-$(CONFIG_INTEGRITY)		+= integrity
 | |
| obj-$(CONFIG_INTEGRITY)			+= integrity/
 |