mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 10:21:01 +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
16 lines
267 B
Makefile
16 lines
267 B
Makefile
COMMON_H = \
|
|
eventdefs.h \
|
|
dev.h
|
|
|
|
if CONFIG_USER
|
|
libzfsdir = $(includedir)/libzfs/sys/sysevent
|
|
libzfs_HEADERS = $(COMMON_H)
|
|
endif
|
|
|
|
if CONFIG_KERNEL
|
|
if BUILD_LINUX
|
|
kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys/sysevent
|
|
kernel_HEADERS = $(COMMON_H)
|
|
endif
|
|
endif
|