Re: [PATCH 13/16] GFS2: Makefiles and Kconfig

Sam Ravnborg
2006-04-21T21:01:38Z

> --- /dev/null
> +++ b/fs/gfs2/Makefile
> @@ -0,0 +1,42 @@
> +obj-$(CONFIG_GFS2_FS) += gfs2.o
> +gfs2-y := \
> + acl.o \
> + bits.o \
> + bmap.o \
> + daemon.o \
...
+ trans.o \
> + unlinked.o \
> + util.o
A fewer number of lines please.
gfs2-y := acl.o bits.o bmap.o
...
gfs2-y += trans.o unlinked.o util.o

> +
> +obj-$(CONFIG_GFS2_FS_LOCKING_NOLOCK) += locking/nolock/
> +obj-$(CONFIG_GFS2_FS_LOCKING_DLM) += locking/dlm/
Can we get rid f the locking sub-directory - maybe like this:
+obj-$(CONFIG_GFS2_FS_LOCKING_NOLOCK) += no-lock/
+obj-$(CONFIG_GFS2_FS_LOCKING_DLM += dlm-lock/

Sam