Makefile (96916090f488986a4ebb8e9ffa6a3b50881d5ccd) Makefile (8753f6bec352392b52ed9b5e290afb34379f4612)
1#
2# Makefile for building the SELinux module as part of the kernel tree.
3#
4
5obj-$(CONFIG_SECURITY_SELINUX) := selinux.o ss/
6
7selinux-y := avc.o \
8 hooks.o \

--- 4 unchanged lines hidden (view full) ---

13 netnode.o \
14 netport.o \
15 exports.o
16
17selinux-$(CONFIG_SECURITY_NETWORK_XFRM) += xfrm.o
18
19selinux-$(CONFIG_NETLABEL) += netlabel.o
20
1#
2# Makefile for building the SELinux module as part of the kernel tree.
3#
4
5obj-$(CONFIG_SECURITY_SELINUX) := selinux.o ss/
6
7selinux-y := avc.o \
8 hooks.o \

--- 4 unchanged lines hidden (view full) ---

13 netnode.o \
14 netport.o \
15 exports.o
16
17selinux-$(CONFIG_SECURITY_NETWORK_XFRM) += xfrm.o
18
19selinux-$(CONFIG_NETLABEL) += netlabel.o
20
21EXTRA_CFLAGS += -Isecurity/selinux/include
21EXTRA_CFLAGS += -Isecurity/selinux -Isecurity/selinux/include
22
22
23$(obj)/avc.o: $(obj)/flask.h
24
25quiet_cmd_flask = GEN $(obj)/flask.h $(obj)/av_permissions.h
26 cmd_flask = scripts/selinux/genheaders/genheaders $(obj)/flask.h $(obj)/av_permissions.h
27
28targets += flask.h
29$(obj)/flask.h: $(src)/include/classmap.h FORCE
30 $(call if_changed,flask)