diff options
author | Etienne Dechamps <[email protected]> | 2012-07-05 10:23:42 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-07-26 14:53:48 -0700 |
commit | 94aac9c9bcd1a222ac87d7452afa5284c16229bc (patch) | |
tree | ea7eb73191b5735fbf48336a62ff5944c6b08e0a /module/spl/Makefile.in | |
parent | e8267acd25ad566218187716739f0aec5d442e3f (diff) |
Use MODULE variable in module Makefile like zfs.
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 <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Issue zfsonlinux/zfs#851
Diffstat (limited to 'module/spl/Makefile.in')
-rw-r--r-- | module/spl/Makefile.in | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/module/spl/Makefile.in b/module/spl/Makefile.in index 4f54f124f..7e8aac502 100644 --- a/module/spl/Makefile.in +++ b/module/spl/Makefile.in @@ -1,29 +1,29 @@ # Makefile.in for spl kernel module -MODULES := spl +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 := spl.o +obj-m := $(MODULE).o -spl-objs += @top_srcdir@/module/spl/spl-debug.o -spl-objs += @top_srcdir@/module/spl/spl-proc.o -spl-objs += @top_srcdir@/module/spl/spl-kmem.o -spl-objs += @top_srcdir@/module/spl/spl-thread.o -spl-objs += @top_srcdir@/module/spl/spl-taskq.o -spl-objs += @top_srcdir@/module/spl/spl-rwlock.o -spl-objs += @top_srcdir@/module/spl/spl-vnode.o -spl-objs += @top_srcdir@/module/spl/spl-err.o -spl-objs += @top_srcdir@/module/spl/spl-time.o -spl-objs += @top_srcdir@/module/spl/spl-kobj.o -spl-objs += @top_srcdir@/module/spl/spl-generic.o -spl-objs += @top_srcdir@/module/spl/spl-atomic.o -spl-objs += @top_srcdir@/module/spl/spl-mutex.o -spl-objs += @top_srcdir@/module/spl/spl-kstat.o -spl-objs += @top_srcdir@/module/spl/spl-condvar.o -spl-objs += @top_srcdir@/module/spl/spl-xdr.o -spl-objs += @top_srcdir@/module/spl/spl-cred.o -spl-objs += @top_srcdir@/module/spl/spl-tsd.o -spl-objs += @top_srcdir@/module/spl/spl-zlib.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 |