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 <behlendorf1@llnl.gov>
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Closes #10506
This commit is contained in:
Arvind Sankar
2020-06-26 17:20:30 -04:00
committed by Brian Behlendorf
parent 67b1362f04
commit 4d8e68c42f
14 changed files with 23 additions and 20 deletions
+1 -4
View File
@@ -11,7 +11,4 @@ KERNEL_H = \
zfs_znode_impl.h \
zpl.h
if CONFIG_KERNEL
kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys
kernel_HEADERS = $(KERNEL_H)
endif
noinst_HEADERS = $(KERNEL_H)