summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2014-08-29 11:53:09 -0400
committerBrian Behlendorf <[email protected]>2014-10-28 09:37:06 -0700
commit3cd33ffc3ba1ebbc90eab280d87d6ac096be92f9 (patch)
tree7266ac8315ac1e9b674429e2014175a217872691 /include/linux
parented6e9cc235b47b5c940178926715f871bd36dc5e (diff)
Kernel header installation should respect --prefix
This is the upstream component of work that enables preliminary support for building Gentoo's ZFS packaging on other Linux systems via Gentoo Prefix. Signed-off-by: Richard Yao <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #2641
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/Makefile.am b/include/linux/Makefile.am
index fc2df090e..d00b1c8ad 100644
--- a/include/linux/Makefile.am
+++ b/include/linux/Makefile.am
@@ -17,6 +17,6 @@ libzfs_HEADERS = $(COMMON_H) $(USER_H)
endif
if CONFIG_KERNEL
-kerneldir = /usr/src/zfs-$(VERSION)/include/linux
+kerneldir = @prefix@/src/zfs-$(VERSION)/include/linux
kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
endif