aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/Makefile.am2
-rw-r--r--include/sys/crypto/Makefile.am2
-rw-r--r--include/sys/fm/Makefile.am2
-rw-r--r--include/sys/fm/fs/Makefile.am2
-rw-r--r--include/sys/fs/Makefile.am2
-rw-r--r--include/sys/lua/Makefile.am2
-rw-r--r--include/sys/sysevent/Makefile.am2
7 files changed, 14 insertions, 0 deletions
diff --git a/include/sys/Makefile.am b/include/sys/Makefile.am
index 3d7bd191b..ce781aa4c 100644
--- a/include/sys/Makefile.am
+++ b/include/sys/Makefile.am
@@ -139,6 +139,8 @@ libzfs_HEADERS = $(COMMON_H)
endif
if CONFIG_KERNEL
+if BUILD_LINUX
kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys
kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
endif
+endif
diff --git a/include/sys/crypto/Makefile.am b/include/sys/crypto/Makefile.am
index 79a5adfae..eb31f6a45 100644
--- a/include/sys/crypto/Makefile.am
+++ b/include/sys/crypto/Makefile.am
@@ -9,6 +9,8 @@ libzfs_HEADERS = $(COMMON_H)
endif
if CONFIG_KERNEL
+if BUILD_LINUX
kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys/crypto
kernel_HEADERS = $(COMMON_H)
endif
+endif
diff --git a/include/sys/fm/Makefile.am b/include/sys/fm/Makefile.am
index fd735e187..7c6c3d49b 100644
--- a/include/sys/fm/Makefile.am
+++ b/include/sys/fm/Makefile.am
@@ -10,6 +10,8 @@ libzfs_HEADERS = $(COMMON_H)
endif
if CONFIG_KERNEL
+if BUILD_LINUX
kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys/fm
kernel_HEADERS = $(COMMON_H)
endif
+endif
diff --git a/include/sys/fm/fs/Makefile.am b/include/sys/fm/fs/Makefile.am
index 7f33a1532..a662753a9 100644
--- a/include/sys/fm/fs/Makefile.am
+++ b/include/sys/fm/fs/Makefile.am
@@ -7,6 +7,8 @@ libzfs_HEADERS = $(COMMON_H)
endif
if CONFIG_KERNEL
+if BUILD_LINUX
kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys/fm/fs
kernel_HEADERS = $(COMMON_H)
endif
+endif
diff --git a/include/sys/fs/Makefile.am b/include/sys/fs/Makefile.am
index 351745786..6a93053c8 100644
--- a/include/sys/fs/Makefile.am
+++ b/include/sys/fs/Makefile.am
@@ -7,6 +7,8 @@ libzfs_HEADERS = $(COMMON_H)
endif
if CONFIG_KERNEL
+if BUILD_LINUX
kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys/fs
kernel_HEADERS = $(COMMON_H)
endif
+endif
diff --git a/include/sys/lua/Makefile.am b/include/sys/lua/Makefile.am
index e9d1185a4..8b4dafaa8 100644
--- a/include/sys/lua/Makefile.am
+++ b/include/sys/lua/Makefile.am
@@ -10,6 +10,8 @@ libzfs_HEADERS = $(COMMON_H)
endif
if CONFIG_KERNEL
+if BUILD_LINUX
kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys/lua
kernel_HEADERS = $(COMMON_H)
endif
+endif
diff --git a/include/sys/sysevent/Makefile.am b/include/sys/sysevent/Makefile.am
index 18949913e..64e537639 100644
--- a/include/sys/sysevent/Makefile.am
+++ b/include/sys/sysevent/Makefile.am
@@ -8,6 +8,8 @@ libzfs_HEADERS = $(COMMON_H)
endif
if CONFIG_KERNEL
+if BUILD_LINUX
kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys/sysevent
kernel_HEADERS = $(COMMON_H)
endif
+endif