mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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:
committed by
Brian Behlendorf
parent
67b1362f04
commit
4d8e68c42f
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user