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>
Closes #384
This commit is contained in:
Richard Yao
2014-08-29 11:12:47 -04:00
committed by Brian Behlendorf
parent ad9863e80b
commit fd05dde75d
12 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -8,6 +8,6 @@ USER_H =
EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
if CONFIG_KERNEL
kerneldir = /usr/src/spl-$(VERSION)/include/sys/sysevent
kerneldir = @prefix@/src/spl-$(VERSION)/include/sys/sysevent
kernel_HEADERS = $(KERNEL_H)
endif