forked from luck/tmp_suning_uos_patched
selinux: use absolute path to include directory
Compiler warns us a lot that it can't find include folder because it's provided in relative form. CC security/selinux/netlabel.o cc1: warning: security/selinux/include: No such file or directory cc1: warning: security/selinux/include: No such file or directory cc1: warning: security/selinux/include: No such file or directory cc1: warning: security/selinux/include: No such file or directory Add $(srctree) prefix to the path. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> [PM: minor description edits to fit under 80char width] Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
parent
76319946f3
commit
9090a2d5e3
|
@ -13,7 +13,7 @@ selinux-$(CONFIG_SECURITY_NETWORK_XFRM) += xfrm.o
|
|||
|
||||
selinux-$(CONFIG_NETLABEL) += netlabel.o
|
||||
|
||||
ccflags-y := -Isecurity/selinux -Isecurity/selinux/include
|
||||
ccflags-y := -I$(srctree)/security/selinux -I$(srctree)/security/selinux/include
|
||||
|
||||
$(addprefix $(obj)/,$(selinux-y)): $(obj)/flask.h
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user