mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 11:29:36 +03:00
94aac9c9bc
In zfs, each module Makefile contains a MODULE variable which contains the name of the module, and the following declarations reference this variable. In spl, there is a MODULES variable which is never used. Rename it to MODULE and use it like in zfs. This improves consistency between the two build systems. Signed-off-by: Prakash Surya <surya1@llnl.gov> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue zfsonlinux/zfs#851
30 lines
1.2 KiB
Makefile
30 lines
1.2 KiB
Makefile
# Makefile.in for spl kernel module
|
|
|
|
MODULE := spl
|
|
EXTRA_CFLAGS = @KERNELCPPFLAGS@
|
|
EXTRA_CFLAGS += -I@abs_top_srcdir@/include
|
|
EXTRA_CFLAGS += -include @abs_top_builddir@/spl_config.h
|
|
|
|
# Solaris porting layer module
|
|
obj-m := $(MODULE).o
|
|
|
|
$(MODULE)-objs += @top_srcdir@/module/spl/spl-debug.o
|
|
$(MODULE)-objs += @top_srcdir@/module/spl/spl-proc.o
|
|
$(MODULE)-objs += @top_srcdir@/module/spl/spl-kmem.o
|
|
$(MODULE)-objs += @top_srcdir@/module/spl/spl-thread.o
|
|
$(MODULE)-objs += @top_srcdir@/module/spl/spl-taskq.o
|
|
$(MODULE)-objs += @top_srcdir@/module/spl/spl-rwlock.o
|
|
$(MODULE)-objs += @top_srcdir@/module/spl/spl-vnode.o
|
|
$(MODULE)-objs += @top_srcdir@/module/spl/spl-err.o
|
|
$(MODULE)-objs += @top_srcdir@/module/spl/spl-time.o
|
|
$(MODULE)-objs += @top_srcdir@/module/spl/spl-kobj.o
|
|
$(MODULE)-objs += @top_srcdir@/module/spl/spl-generic.o
|
|
$(MODULE)-objs += @top_srcdir@/module/spl/spl-atomic.o
|
|
$(MODULE)-objs += @top_srcdir@/module/spl/spl-mutex.o
|
|
$(MODULE)-objs += @top_srcdir@/module/spl/spl-kstat.o
|
|
$(MODULE)-objs += @top_srcdir@/module/spl/spl-condvar.o
|
|
$(MODULE)-objs += @top_srcdir@/module/spl/spl-xdr.o
|
|
$(MODULE)-objs += @top_srcdir@/module/spl/spl-cred.o
|
|
$(MODULE)-objs += @top_srcdir@/module/spl/spl-tsd.o
|
|
$(MODULE)-objs += @top_srcdir@/module/spl/spl-zlib.o
|