summaryrefslogtreecommitdiffstats
path: root/fs/lockd/Makefile
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-05-08 18:19:38 +0300
committerChuck Lever <chuck.lever@oracle.com>2024-07-08 14:10:03 -0400
commite5d85ec52b1158ea6ea4834e5372bd7ba5862ffa (patch)
treedd9897d6edab92e2d4f85dc5d6a0fe76f7cfd7bf /fs/lockd/Makefile
parent18a5450684c312e98eb2253f0acf88b3f780af20 (diff)
downloadlinux-e5d85ec52b1158ea6ea4834e5372bd7ba5862ffa.tar.gz
linux-e5d85ec52b1158ea6ea4834e5372bd7ba5862ffa.tar.bz2
linux-e5d85ec52b1158ea6ea4834e5372bd7ba5862ffa.zip
lockd: Use *-y instead of *-objs in Makefile
*-objs suffix is reserved rather for (user-space) host programs while usually *-y suffix is used for kernel drivers (although *-objs works for that purpose for now). Let's correct the old usages of *-objs in Makefiles. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Benjamin Coddington <bcodding@redhat.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/lockd/Makefile')
-rw-r--r--fs/lockd/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/fs/lockd/Makefile b/fs/lockd/Makefile
index ac9f9d84510e..fe3e23dd29c3 100644
--- a/fs/lockd/Makefile
+++ b/fs/lockd/Makefile
@@ -7,8 +7,7 @@ ccflags-y += -I$(src) # needed for trace events
obj-$(CONFIG_LOCKD) += lockd.o
-lockd-objs-y += clntlock.o clntproc.o clntxdr.o host.o svc.o svclock.o \
- svcshare.o svcproc.o svcsubs.o mon.o trace.o xdr.o
-lockd-objs-$(CONFIG_LOCKD_V4) += clnt4xdr.o xdr4.o svc4proc.o
-lockd-objs-$(CONFIG_PROC_FS) += procfs.o
-lockd-objs := $(lockd-objs-y)
+lockd-y := clntlock.o clntproc.o clntxdr.o host.o svc.o svclock.o \
+ svcshare.o svcproc.o svcsubs.o mon.o trace.o xdr.o
+lockd-$(CONFIG_LOCKD_V4) += clnt4xdr.o xdr4.o svc4proc.o
+lockd-$(CONFIG_PROC_FS) += procfs.o