diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2016-01-28 15:59:16 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2016-01-28 18:37:15 +0300 |
commit | 9090a2d5e3e6f1f1f1aabd44f9335ff873239b60 (patch) | |
tree | 21f21cd40b132e34e3ff640c22f418c6130fdb00 /security | |
parent | 76319946f321e30872dd72af7de867cb26e7a373 (diff) | |
download | linux-9090a2d5e3e6f1f1f1aabd44f9335ff873239b60.tar.xz |
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>
Diffstat (limited to 'security')
-rw-r--r-- | security/selinux/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/Makefile b/security/selinux/Makefile index ad5cd76ec231..3411c33e2a44 100644 --- a/security/selinux/Makefile +++ b/security/selinux/Makefile @@ -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 |