mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-02-19 13:43:30 +03:00

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
15 lines
246 B
Makefile
15 lines
246 B
Makefile
COMMON_H = \
|
|
zfs.h
|
|
|
|
if CONFIG_USER
|
|
libzfsdir = $(includedir)/libzfs/sys/fm/fs
|
|
libzfs_HEADERS = $(COMMON_H)
|
|
endif
|
|
|
|
if CONFIG_KERNEL
|
|
if BUILD_LINUX
|
|
kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys/fm/fs
|
|
kernel_HEADERS = $(COMMON_H)
|
|
endif
|
|
endif
|