netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tracey Dent <tdent48227@gmail.com>
To: davem@davemloft.net
Cc: marcel@holtmann.org, padovan@profusion.mobi,
	linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org,
	sjur.brandeland@stericsson.com, socketcan@hartkopp.net,
	urs.thuermann@volkswagen.de, socketcan-core@lists.berlios.de,
	sage@newdream.net, ceph-devel@vger.kernel.org,
	wang840925@gmail.com, jlayton@redhat.com, kaber@trash.net,
	pekkas@netcore.fi, linux-kernel@vger.kernel.org,
	netfilter-devel@vger.kernel.org, netfilter@vger.kernel.org,
	samuel@sortiz.org, Tracey Dent <tdent48227@gmail.com>
Subject: [PATCH 14/17] Net: rds: Makefile: Remove deprecated items
Date: Sun, 21 Nov 2010 20:03:25 -0500	[thread overview]
Message-ID: <1290387808-2239-15-git-send-email-tdent48227@gmail.com> (raw)
In-Reply-To: <1290387808-2239-1-git-send-email-tdent48227@gmail.com>

Changed Makefile to use <modules>-y instead of <modules>-objs
because -objs is deprecated and not mentioned in
Documentation/kbuild/makefiles.txt.

Also, use the ccflags-$ flag instead of EXTRA_CFLAGS because EXTRA_CFLAGS is
deprecated and should now be switched.

Last but not least, took out if-conditionals.

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

diff --git a/net/rds/Makefile b/net/rds/Makefile
index b46eca1..56d3f60 100644
--- a/net/rds/Makefile
+++ b/net/rds/Makefile
@@ -4,7 +4,7 @@ rds-y :=	af_rds.o bind.o cong.o connection.o info.o message.o   \
 			loop.o page.o rdma.o
 
 obj-$(CONFIG_RDS_RDMA) += rds_rdma.o
-rds_rdma-objs :=	rdma_transport.o \
+rds_rdma-y :=	rdma_transport.o \
 			ib.o ib_cm.o ib_recv.o ib_ring.o ib_send.o ib_stats.o \
 			ib_sysctl.o ib_rdma.o \
 			iw.o iw_cm.o iw_recv.o iw_ring.o iw_send.o iw_stats.o \
@@ -12,10 +12,8 @@ rds_rdma-objs :=	rdma_transport.o \
 
 
 obj-$(CONFIG_RDS_TCP) += rds_tcp.o
-rds_tcp-objs :=		tcp.o tcp_connect.o tcp_listen.o tcp_recv.o \
+rds_tcp-y :=		tcp.o tcp_connect.o tcp_listen.o tcp_recv.o \
 			tcp_send.o tcp_stats.o
 
-ifeq ($(CONFIG_RDS_DEBUG), y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_RDS_DEBUG)	:=	-DDEBUG
 
-- 
1.7.3.2.245.g03276


  parent reply	other threads:[~2010-11-22  1:04 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-22  1:03 [PATCH 00/00] Remove deprecated items from Makefiles Tracey Dent
2010-11-22  1:03 ` [PATCH 02/17] Net: caif: Makefile: Remove deprecated items Tracey Dent
2010-11-22  1:03 ` [PATCH 03/17] Net: can: Makefile: Remove deprecated kbuild goal definitions Tracey Dent
2010-11-22  1:03 ` [PATCH 04/17] Net: ceph: Makefile: remove " Tracey Dent
2010-11-22  1:03 ` [PATCH 05/17] Net: dns_resolver: Makefile: Remove " Tracey Dent
2010-11-22  1:03 ` [PATCH 06/17] Net: econet: " Tracey Dent
2010-11-22  1:03 ` [PATCH 07/17] Net: ipv4: netfilter: " Tracey Dent
2010-11-22  1:03 ` [PATCH 08/17] Net: ipv6: netfiliter: " Tracey Dent
2010-11-22  1:03 ` [PATCH 09/17] Net: irda: ircomm: Makefile: Remove deprecated kbuild goal defintions Tracey Dent
2010-11-22  1:03 ` [PATCH 10/17] Net: irda: irlan: Makefile: Remove deprecated kbuild goal definitions Tracey Dent
2010-11-22  1:03 ` [PATCH 11/17] Net: irda: irnet: " Tracey Dent
2010-11-22  1:03 ` [PATCH 12/17] Net: lapb: " Tracey Dent
2010-11-22  1:03 ` [PATCH 13/17] Net: phonet: " Tracey Dent
2010-11-22  1:03 ` Tracey Dent [this message]
2010-11-22  1:03 ` [PATCH 15/17] Net: rxrpc: " Tracey Dent
     [not found] ` <1290387808-2239-1-git-send-email-tdent48227-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-11-22  1:03   ` [PATCH 01/17] Net: bluetooth: " Tracey Dent
2010-11-22  1:03   ` [PATCH 16/17] Net: sunrpc: auth_gss: " Tracey Dent
2010-11-22  1:03 ` [PATCH 17/17] Net: wanrouter: " Tracey Dent
2010-11-22 16:17 ` [PATCH 00/00] Remove deprecated items from Makefiles David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1290387808-2239-15-git-send-email-tdent48227@gmail.com \
    --to=tdent48227@gmail.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=davem@davemloft.net \
    --cc=jlayton@redhat.com \
    --cc=kaber@trash.net \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcel@holtmann.org \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=netfilter@vger.kernel.org \
    --cc=padovan@profusion.mobi \
    --cc=pekkas@netcore.fi \
    --cc=sage@newdream.net \
    --cc=samuel@sortiz.org \
    --cc=sjur.brandeland@stericsson.com \
    --cc=socketcan-core@lists.berlios.de \
    --cc=socketcan@hartkopp.net \
    --cc=urs.thuermann@volkswagen.de \
    --cc=wang840925@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).