diff options
author | Arvind Sankar <[email protected]> | 2020-06-26 17:20:30 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2020-06-27 17:40:14 -0700 |
commit | 4d8e68c42fb0bd5518f61670720af690fca302e0 (patch) | |
tree | 2398eee35e741d5ef16eb2a59579af7c17259600 /include/os/freebsd/spl | |
parent | 67b1362f0492dc398b842d17d8aab59aa2272802 (diff) |
Avoid installing kernel headers on FreeBSD
The kernel headers are installed for DKMS on linux, so don't install
them unless we're building on linux.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Arvind Sankar <[email protected]>
Closes #10506
Diffstat (limited to 'include/os/freebsd/spl')
-rw-r--r-- | include/os/freebsd/spl/acl/Makefile.am | 5 | ||||
-rw-r--r-- | include/os/freebsd/spl/rpc/Makefile.am | 5 | ||||
-rw-r--r-- | include/os/freebsd/spl/sys/Makefile.am | 5 |
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) |