mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-29 20:39:35 +03:00
3a92530563
When the SPL was originally written it was designed to use the device_create() and device_destroy() functions. Unfortunately, these functions changed considerably over the years making them difficult to rely on. As it turns out a better choice would have been to use the misc_register()/misc_deregister() functions. This interface for registering character devices has remained stable, is simple, and provides everything we need. Therefore the code has been reworked to use this interface. The higher level ZFS code has always depended on these same interfaces so this is also as a step towards minimizing our kernel dependencies. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
21 lines
437 B
Makefile
21 lines
437 B
Makefile
SUBDIRS = fs linux rpc sharefs sys util vm
|
|
|
|
COMMON_H =
|
|
|
|
KERNEL_H = \
|
|
$(top_srcdir)/include/splat-ctl.h \
|
|
$(top_srcdir)/include/spl-ctl.h \
|
|
$(top_srcdir)/include/spl-debug.h \
|
|
$(top_srcdir)/include/spl-trace.h \
|
|
$(top_srcdir)/include/strings.h \
|
|
$(top_srcdir)/include/unistd.h
|
|
|
|
USER_H =
|
|
|
|
EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
|
|
|
|
if CONFIG_KERNEL
|
|
kerneldir = /usr/src/spl-$(VERSION)/include
|
|
kernel_HEADERS = $(KERNEL_H)
|
|
endif
|