HomeFreeBSD

Use MODULE variable in module Makefile like zfs.

Description

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 <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue zfsonlinux/zfs#851

Details

Provenance
Etienne Dechamps <etienne.dechamps@ovh.net>Authored on Jul 5 2012, 8:23 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jul 26 2012, 9:53 PM
Parents
rGe8267acd25ad: 32-bit compat, hostid_read()
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG94aac9c9bcd1: Use MODULE variable in module Makefile like zfs. (authored by Etienne Dechamps <etienne.dechamps@ovh.net>).Jul 26 2012, 9:53 PM