mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-28 11:59:34 +03:00
4a6d8d2c3e
Install the common spl kernel development headers under /usr/src/spl-<version>/ rather than in a kernel specific directory. The kernel specific build products such as spl_config.h and Modules.symvers are left installed under /usr/src/spl-<version>/<kernel>. This was done to be consistent with where dkms expects kernel module source to be packaged. It also allows for a common spl-kmod-devel package which includes the headers, and per-kernel spl-kmod-devel-<kernel> packages. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
29 lines
922 B
Makefile
29 lines
922 B
Makefile
COMMON_H =
|
|
|
|
KERNEL_H = \
|
|
$(top_srcdir)/include/linux/bitops_compat.h \
|
|
$(top_srcdir)/include/linux/compiler_compat.h \
|
|
$(top_srcdir)/include/linux/file_compat.h \
|
|
$(top_srcdir)/include/linux/kallsyms_compat.h \
|
|
$(top_srcdir)/include/linux/list_compat.h \
|
|
$(top_srcdir)/include/linux/math64_compat.h \
|
|
$(top_srcdir)/include/linux/mm_compat.h \
|
|
$(top_srcdir)/include/linux/module_compat.h \
|
|
$(top_srcdir)/include/linux/mutex_compat.h \
|
|
$(top_srcdir)/include/linux/proc_compat.h \
|
|
$(top_srcdir)/include/linux/rwsem_compat.h \
|
|
$(top_srcdir)/include/linux/smp_compat.h \
|
|
$(top_srcdir)/include/linux/sysctl_compat.h \
|
|
$(top_srcdir)/include/linux/time_compat.h \
|
|
$(top_srcdir)/include/linux/uaccess_compat.h \
|
|
$(top_srcdir)/include/linux/zlib_compat.h
|
|
|
|
USER_H =
|
|
|
|
EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
|
|
|
|
if CONFIG_KERNEL
|
|
kerneldir = /usr/src/spl-$(VERSION)/include/linux
|
|
kernel_HEADERS = $(KERNEL_H)
|
|
endif
|