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 <richard.yao@clusterhq.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #2641
This commit is contained in:
Richard Yao
2014-08-29 11:53:09 -04:00
committed by Brian Behlendorf
parent ed6e9cc235
commit 3cd33ffc3b
7 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -12,10 +12,10 @@ endif
if CONFIG_KERNEL
SUBDIRS += module
extradir = /usr/src/zfs-$(VERSION)
extradir = @prefix@/src/zfs-$(VERSION)
extra_HEADERS = zfs.release.in zfs_config.h.in
kerneldir = /usr/src/zfs-$(VERSION)/$(LINUX_VERSION)
kerneldir = @prefix@/src/zfs-$(VERSION)/$(LINUX_VERSION)
nodist_kernel_HEADERS = zfs.release zfs_config.h module/$(LINUX_SYMBOLS)
endif