aboutsummaryrefslogtreecommitdiff
path: root/Make.Rules
diff options
context:
space:
mode:
authorAndrew G Morgan <morgan@kernel.org>2014-01-01 17:56:31 -0800
committerAndrew G Morgan <morgan@kernel.org>2014-01-01 17:56:31 -0800
commitc3290668646b767058e55b29f7b8f4be4af2e660 (patch)
treec27e5e8bf32d3663052b0d2945606bb74ce4c6a9 /Make.Rules
parent762008b1832e511044e7e5963c4650342be7f0fa (diff)
downloadlibcap-c3290668646b767058e55b29f7b8f4be4af2e660.tar.gz
Fix up the uapi/linux include scheme.
In adopting this uapi header file (without kernel internals), I previously messed up on the apparent location of the files. Thanks to Tom Gundersen for the clarification. Also, delete the non-uapi copies of things since they are no longer needed to build the library and tools. Signed-off-by: Andrew G Morgan <morgan@kernel.org>
Diffstat (limited to 'Make.Rules')
-rw-r--r--Make.Rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Make.Rules b/Make.Rules
index 9ca6c89..5b58c59 100644
--- a/Make.Rules
+++ b/Make.Rules
@@ -45,8 +45,8 @@ MINOR=23
# Compilation specifics
-KERNEL_HEADERS := $(topdir)/libcap/include
-IPATH += -fPIC -I$(topdir)/libcap/include -I$(KERNEL_HEADERS)
+KERNEL_HEADERS := $(topdir)/libcap/include/uapi
+IPATH += -fPIC -I$(KERNEL_HEADERS) -I$(topdir)/libcap/include
CC := gcc
CFLAGS := -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64