mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-23 16:36:35 +03:00
4d8e68c42f
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
23 lines
381 B
Makefile
23 lines
381 B
Makefile
KERNEL_H = \
|
|
dcache_compat.h \
|
|
xattr_compat.h \
|
|
vfs_compat.h \
|
|
blkdev_compat.h \
|
|
utsname_compat.h \
|
|
kmap_compat.h \
|
|
percpu_compat.h \
|
|
simd.h \
|
|
simd_x86.h \
|
|
simd_aarch64.h \
|
|
simd_powerpc.h \
|
|
mod_compat.h \
|
|
page_compat.h \
|
|
compiler_compat.h
|
|
|
|
if CONFIG_KERNEL
|
|
if BUILD_LINUX
|
|
kerneldir = @prefix@/src/zfs-$(VERSION)/include/linux
|
|
kernel_HEADERS = $(KERNEL_H)
|
|
endif
|
|
endif
|