Patchwork [04/17] Net: ceph: Makefile: remove deprecated kbuild goal definitions

login
register
mail settings
Submitter Tracey Dent
Date Nov. 22, 2010, 1:03 a.m.
Message ID <1290387808-2239-5-git-send-email-tdent48227@gmail.com>
Download mbox | patch
Permalink /patch/72473/
State Accepted
Delegated to: David Miller
Headers show

Comments

Tracey Dent - Nov. 22, 2010, 1:03 a.m.
Changed Makefile to use <modules>-y instead of <modules>-objs
because -objs is deprecated and not mentioned in
Documentation/kbuild/makefiles.txt.

Signed-off-by: Tracey Dent <tdent48227@gmail.com>
---
 net/ceph/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/net/ceph/Makefile b/net/ceph/Makefile
index aab1cab..153bdec 100644
--- a/net/ceph/Makefile
+++ b/net/ceph/Makefile
@@ -6,7 +6,7 @@  ifneq ($(KERNELRELEASE),)
 
 obj-$(CONFIG_CEPH_LIB) += libceph.o
 
-libceph-objs := ceph_common.o messenger.o msgpool.o buffer.o pagelist.o \
+libceph-y := ceph_common.o messenger.o msgpool.o buffer.o pagelist.o \
 	mon_client.o \
 	osd_client.o osdmap.o crush/crush.o crush/mapper.o crush/hash.o \
 	debugfs.o \