aboutsummaryrefslogtreecommitdiffstats
path: root/include/os/freebsd/spl
diff options
context:
space:
mode:
Diffstat (limited to 'include/os/freebsd/spl')
-rw-r--r--include/os/freebsd/spl/acl/Makefile.am5
-rw-r--r--include/os/freebsd/spl/rpc/Makefile.am5
-rw-r--r--include/os/freebsd/spl/sys/Makefile.am5
3 files changed, 3 insertions, 12 deletions
diff --git a/include/os/freebsd/spl/acl/Makefile.am b/include/os/freebsd/spl/acl/Makefile.am
index 3028ebabe..5c0698d02 100644
--- a/include/os/freebsd/spl/acl/Makefile.am
+++ b/include/os/freebsd/spl/acl/Makefile.am
@@ -1,7 +1,4 @@
KERNEL_H = \
acl_common.h
-if CONFIG_KERNEL
-kerneldir = @prefix@/src/zfs-$(VERSION)/include/spl/acl
-kernel_HEADERS = $(KERNEL_H)
-endif
+noinst_HEADERS = $(KERNEL_H)
diff --git a/include/os/freebsd/spl/rpc/Makefile.am b/include/os/freebsd/spl/rpc/Makefile.am
index 13d804fce..f6faf4b18 100644
--- a/include/os/freebsd/spl/rpc/Makefile.am
+++ b/include/os/freebsd/spl/rpc/Makefile.am
@@ -1,7 +1,4 @@
KERNEL_H = \
xdr.h
-if CONFIG_KERNEL
-kerneldir = @prefix@/src/zfs-$(VERSION)/include/spl/rpc
-kernel_HEADERS = $(KERNEL_H)
-endif
+noinst_HEADERS = $(KERNEL_H)
diff --git a/include/os/freebsd/spl/sys/Makefile.am b/include/os/freebsd/spl/sys/Makefile.am
index c95c9d65a..7803d1af3 100644
--- a/include/os/freebsd/spl/sys/Makefile.am
+++ b/include/os/freebsd/spl/sys/Makefile.am
@@ -69,7 +69,4 @@ KERNEL_H = \
zmod.h \
zone.h
-if CONFIG_KERNEL
-kerneldir = @prefix@/src/zfs-$(VERSION)/include/spl/sys
-kernel_HEADERS = $(KERNEL_H)
-endif
+noinst_HEADERS = $(KERNEL_H)