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/sys/Makefile.am | |
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/sys/Makefile.am')
-rw-r--r-- | include/os/freebsd/spl/sys/Makefile.am | 5 |
1 files changed, 1 insertions, 4 deletions
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) |