diff options
author | Richard Yao <[email protected]> | 2014-08-29 11:53:09 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-10-28 09:37:06 -0700 |
commit | 3cd33ffc3ba1ebbc90eab280d87d6ac096be92f9 (patch) | |
tree | 7266ac8315ac1e9b674429e2014175a217872691 /include/sys/fm | |
parent | ed6e9cc235b47b5c940178926715f871bd36dc5e (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/sys/fm')
-rw-r--r-- | include/sys/fm/Makefile.am | 2 | ||||
-rw-r--r-- | include/sys/fm/fs/Makefile.am | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/fm/Makefile.am b/include/sys/fm/Makefile.am index 4dc58945d..8bca5d846 100644 --- a/include/sys/fm/Makefile.am +++ b/include/sys/fm/Makefile.am @@ -16,6 +16,6 @@ libzfs_HEADERS = $(COMMON_H) $(USER_H) endif if CONFIG_KERNEL -kerneldir = /usr/src/zfs-$(VERSION)/include/sys/fm +kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys/fm kernel_HEADERS = $(COMMON_H) $(KERNEL_H) endif diff --git a/include/sys/fm/fs/Makefile.am b/include/sys/fm/fs/Makefile.am index 76b525fe6..fdc9eb545 100644 --- a/include/sys/fm/fs/Makefile.am +++ b/include/sys/fm/fs/Makefile.am @@ -13,6 +13,6 @@ libzfs_HEADERS = $(COMMON_H) $(USER_H) endif if CONFIG_KERNEL -kerneldir = /usr/src/zfs-$(VERSION)/include/sys/fm/fs +kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys/fm/fs kernel_HEADERS = $(COMMON_H) $(KERNEL_H) endif |