mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 02:20:59 +03:00
c167aadb27
This commit introduces a "copy-builtin" script designed to prepare a kernel source tree for building SPL as a builtin module. The script makes a full copy of all needed files, thus making the kernel source tree fully independent of the spl source package. To achieve that, some compilation flags (-include, -I) have been moved to module/Makefile. This Makefile is only used when compiling external modules; when compiling builtin modules, a Kbuild file generated by the configure-builtin script is used instead. This makes sure Makefiles inside the kernel source tree does not contain references to the spl source package. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue zfsonlinux/zfs#851
26 lines
1.1 KiB
Makefile
26 lines
1.1 KiB
Makefile
# Makefile.in for splat kernel module
|
|
|
|
MODULE := splat
|
|
EXTRA_CFLAGS = $(SPL_MODULE_CFLAGS) @KERNELCPPFLAGS@
|
|
|
|
# Solaris Porting LAyer Tests
|
|
obj-$(CONFIG_SPL) := $(MODULE).o
|
|
|
|
$(MODULE)-objs += @top_srcdir@/module/splat/splat-ctl.o
|
|
$(MODULE)-objs += @top_srcdir@/module/splat/splat-kmem.o
|
|
$(MODULE)-objs += @top_srcdir@/module/splat/splat-taskq.o
|
|
$(MODULE)-objs += @top_srcdir@/module/splat/splat-random.o
|
|
$(MODULE)-objs += @top_srcdir@/module/splat/splat-mutex.o
|
|
$(MODULE)-objs += @top_srcdir@/module/splat/splat-condvar.o
|
|
$(MODULE)-objs += @top_srcdir@/module/splat/splat-thread.o
|
|
$(MODULE)-objs += @top_srcdir@/module/splat/splat-rwlock.o
|
|
$(MODULE)-objs += @top_srcdir@/module/splat/splat-time.o
|
|
$(MODULE)-objs += @top_srcdir@/module/splat/splat-vnode.o
|
|
$(MODULE)-objs += @top_srcdir@/module/splat/splat-kobj.o
|
|
$(MODULE)-objs += @top_srcdir@/module/splat/splat-atomic.o
|
|
$(MODULE)-objs += @top_srcdir@/module/splat/splat-list.o
|
|
$(MODULE)-objs += @top_srcdir@/module/splat/splat-generic.o
|
|
$(MODULE)-objs += @top_srcdir@/module/splat/splat-cred.o
|
|
$(MODULE)-objs += @top_srcdir@/module/splat/splat-zlib.o
|
|
$(MODULE)-objs += @top_srcdir@/module/splat/splat-linux.o
|