All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/00] Remove deprecated items from Makefiles
@ 2010-11-22  1:03 Tracey Dent
  2010-11-22  1:03   ` Tracey Dent
                   ` (17 more replies)
  0 siblings, 18 replies; 21+ messages in thread
From: Tracey Dent @ 2010-11-22  1:03 UTC (permalink / raw)
  To: davem
  Cc: marcel, padovan, linux-bluetooth, netdev, sjur.brandeland,
	socketcan, urs.thuermann, socketcan-core, sage, ceph-devel,
	wang840925, jlayton, kaber, pekkas, linux-kernel,
	netfilter-devel, netfilter, samuel

I changed Makefiles to use <modules>-y instead of <modules>-objs because -objs
is deprecated and not even mentioned in Documentation/kbuild/makefiles.txt.

Also, remove some if-conditional statments because I used the ccflags-$ flag 
instead of EXTRA_CFLAGS because EXTRA_CFLAGS.

regards,

Tracey Dent


^ permalink raw reply	[flat|nested] 21+ messages in thread

* [PATCH 01/17] Net: bluetooth: Makefile: Remove deprecated kbuild goal definitions
@ 2010-11-22  1:03   ` Tracey Dent
  0 siblings, 0 replies; 21+ messages in thread
From: Tracey Dent @ 2010-11-22  1:03 UTC (permalink / raw)
  To: davem
  Cc: marcel, padovan, linux-bluetooth, netdev, sjur.brandeland,
	socketcan, urs.thuermann, socketcan-core, sage, ceph-devel,
	wang840925, jlayton, kaber, pekkas, linux-kernel,
	netfilter-devel, netfilter, samuel, Tracey Dent

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/bluetooth/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/bluetooth/Makefile b/net/bluetooth/Makefile
index d1e433f..7ca1f46 100644
--- a/net/bluetooth/Makefile
+++ b/net/bluetooth/Makefile
@@ -10,4 +10,4 @@ obj-$(CONFIG_BT_BNEP)	+= bnep/
 obj-$(CONFIG_BT_CMTP)	+= cmtp/
 obj-$(CONFIG_BT_HIDP)	+= hidp/
 
-bluetooth-objs := af_bluetooth.o hci_core.o hci_conn.o hci_event.o hci_sock.o hci_sysfs.o lib.o
+bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o hci_sock.o hci_sysfs.o lib.o
-- 
1.7.3.2.245.g03276


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 01/17] Net: bluetooth: Makefile: Remove deprecated kbuild goal definitions
@ 2010-11-22  1:03   ` Tracey Dent
  0 siblings, 0 replies; 21+ messages in thread
From: Tracey Dent @ 2010-11-22  1:03 UTC (permalink / raw)
  To: davem-fT/PcQaiUtIeIZ0/mPfg9Q
  Cc: marcel-kz+m5ild9QBg9hUCZPvPmw, padovan-Y3ZbgMPKUGA34EUeqzHoZw,
	linux-bluetooth-u79uwXL29TY76Z2rM5mHXA,
	netdev-u79uwXL29TY76Z2rM5mHXA,
	sjur.brandeland-0IS4wlFg1OjSUeElwK9/Pw,
	socketcan-fJ+pQTUTwRTk1uMJSBkQmQ,
	urs.thuermann-l29pVbxQd1IUtdQbppsyvg,
	socketcan-core-0fE9KPoRgkgATYTw5x5z8w,
	sage-BnTBU8nroG7k1uMJSBkQmQ, ceph-devel-u79uwXL29TY76Z2rM5mHXA,
	wang840925-Re5JQEeQqe8AvxtiuMwx3w,
	jlayton-H+wXaHxf7aLQT0dZR+AlfA, kaber-dcUjhNyLwpNeoWH0uzbU5w,
	pekkas-UjJjq++bwZ7HOG6cAo2yLw,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	netfilter-devel-u79uwXL29TY76Z2rM5mHXA,
	netfilter-u79uwXL29TY76Z2rM5mHXA, samuel-jcdQHdrhKHMdnm+yROfE0A,
	Tracey Dent

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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 net/bluetooth/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/bluetooth/Makefile b/net/bluetooth/Makefile
index d1e433f..7ca1f46 100644
--- a/net/bluetooth/Makefile
+++ b/net/bluetooth/Makefile
@@ -10,4 +10,4 @@ obj-$(CONFIG_BT_BNEP)	+= bnep/
 obj-$(CONFIG_BT_CMTP)	+= cmtp/
 obj-$(CONFIG_BT_HIDP)	+= hidp/
 
-bluetooth-objs := af_bluetooth.o hci_core.o hci_conn.o hci_event.o hci_sock.o hci_sysfs.o lib.o
+bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o hci_sock.o hci_sysfs.o lib.o
-- 
1.7.3.2.245.g03276

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 02/17] Net: caif: Makefile: Remove deprecated items
  2010-11-22  1:03 [PATCH 00/00] Remove deprecated items from Makefiles Tracey Dent
  2010-11-22  1:03   ` Tracey Dent
@ 2010-11-22  1:03 ` Tracey Dent
  2010-11-22  1:03 ` [PATCH 03/17] Net: can: Makefile: Remove deprecated kbuild goal definitions Tracey Dent
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: Tracey Dent @ 2010-11-22  1:03 UTC (permalink / raw)
  To: davem
  Cc: marcel, padovan, linux-bluetooth, netdev, sjur.brandeland,
	socketcan, urs.thuermann, socketcan-core, sage, ceph-devel,
	wang840925, jlayton, kaber, pekkas, linux-kernel,
	netfilter-devel, netfilter, samuel, Tracey Dent

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/caif/Makefile |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/net/caif/Makefile b/net/caif/Makefile
index f87481f..9d38e40 100644
--- a/net/caif/Makefile
+++ b/net/caif/Makefile
@@ -1,8 +1,6 @@
-ifeq ($(CONFIG_CAIF_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_CAIF_DEBUG)     :=      -DDEBUG
 
-caif-objs := caif_dev.o \
+caif-y := caif_dev.o \
 	cfcnfg.o cfmuxl.o cfctrl.o  \
 	cffrml.o cfveil.o cfdbgl.o\
 	cfserl.o cfdgml.o  \
@@ -13,4 +11,4 @@ obj-$(CONFIG_CAIF) += caif.o
 obj-$(CONFIG_CAIF_NETDEV) += chnl_net.o
 obj-$(CONFIG_CAIF) += caif_socket.o
 
-export-objs := caif.o
+export-y := caif.o
-- 
1.7.3.2.245.g03276


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 03/17] Net: can: Makefile: Remove deprecated kbuild goal definitions
  2010-11-22  1:03 [PATCH 00/00] Remove deprecated items from Makefiles Tracey Dent
  2010-11-22  1:03   ` Tracey Dent
  2010-11-22  1:03 ` [PATCH 02/17] Net: caif: Makefile: Remove deprecated items Tracey Dent
@ 2010-11-22  1:03 ` Tracey Dent
  2010-11-22  1:03 ` [PATCH 04/17] Net: ceph: Makefile: remove " Tracey Dent
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: Tracey Dent @ 2010-11-22  1:03 UTC (permalink / raw)
  To: davem
  Cc: marcel, padovan, linux-bluetooth, netdev, sjur.brandeland,
	socketcan, urs.thuermann, socketcan-core, sage, ceph-devel,
	wang840925, jlayton, kaber, pekkas, linux-kernel,
	netfilter-devel, netfilter, samuel, Tracey Dent

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/can/Makefile |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net/can/Makefile b/net/can/Makefile
index 9cd3c4b..2d3894b 100644
--- a/net/can/Makefile
+++ b/net/can/Makefile
@@ -3,10 +3,10 @@
 #
 
 obj-$(CONFIG_CAN)	+= can.o
-can-objs		:= af_can.o proc.o
+can-y			:= af_can.o proc.o
 
 obj-$(CONFIG_CAN_RAW)	+= can-raw.o
-can-raw-objs		:= raw.o
+can-raw-y		:= raw.o
 
 obj-$(CONFIG_CAN_BCM)	+= can-bcm.o
-can-bcm-objs		:= bcm.o
+can-bcm-y		:= bcm.o
-- 
1.7.3.2.245.g03276


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 04/17] Net: ceph: Makefile: remove deprecated kbuild goal definitions
  2010-11-22  1:03 [PATCH 00/00] Remove deprecated items from Makefiles Tracey Dent
                   ` (2 preceding siblings ...)
  2010-11-22  1:03 ` [PATCH 03/17] Net: can: Makefile: Remove deprecated kbuild goal definitions Tracey Dent
@ 2010-11-22  1:03 ` Tracey Dent
  2010-11-22  1:03 ` [PATCH 05/17] Net: dns_resolver: Makefile: Remove " Tracey Dent
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: Tracey Dent @ 2010-11-22  1:03 UTC (permalink / raw)
  To: davem
  Cc: marcel, padovan, linux-bluetooth, netdev, sjur.brandeland,
	socketcan, urs.thuermann, socketcan-core, sage, ceph-devel,
	wang840925, jlayton, kaber, pekkas, linux-kernel,
	netfilter-devel, netfilter, samuel, Tracey Dent

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(-)

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 \
-- 
1.7.3.2.245.g03276


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 05/17] Net: dns_resolver: Makefile: Remove deprecated kbuild goal definitions
  2010-11-22  1:03 [PATCH 00/00] Remove deprecated items from Makefiles Tracey Dent
                   ` (3 preceding siblings ...)
  2010-11-22  1:03 ` [PATCH 04/17] Net: ceph: Makefile: remove " Tracey Dent
@ 2010-11-22  1:03 ` Tracey Dent
  2010-11-22  1:03 ` [PATCH 06/17] Net: econet: " Tracey Dent
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: Tracey Dent @ 2010-11-22  1:03 UTC (permalink / raw)
  To: davem
  Cc: marcel, padovan, linux-bluetooth, netdev, sjur.brandeland,
	socketcan, urs.thuermann, socketcan-core, sage, ceph-devel,
	wang840925, jlayton, kaber, pekkas, linux-kernel,
	netfilter-devel, netfilter, samuel, Tracey Dent

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/dns_resolver/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/dns_resolver/Makefile b/net/dns_resolver/Makefile
index c0ef4e7..d5c13c2 100644
--- a/net/dns_resolver/Makefile
+++ b/net/dns_resolver/Makefile
@@ -4,4 +4,4 @@
 
 obj-$(CONFIG_DNS_RESOLVER) += dns_resolver.o
 
-dns_resolver-objs :=  dns_key.o dns_query.o
+dns_resolver-y :=  dns_key.o dns_query.o
-- 
1.7.3.2.245.g03276


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 06/17] Net: econet: Makefile: Remove deprecated kbuild goal definitions
  2010-11-22  1:03 [PATCH 00/00] Remove deprecated items from Makefiles Tracey Dent
                   ` (4 preceding siblings ...)
  2010-11-22  1:03 ` [PATCH 05/17] Net: dns_resolver: Makefile: Remove " Tracey Dent
@ 2010-11-22  1:03 ` Tracey Dent
  2010-11-22  1:03 ` [PATCH 07/17] Net: ipv4: netfilter: " Tracey Dent
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: Tracey Dent @ 2010-11-22  1:03 UTC (permalink / raw)
  To: davem
  Cc: marcel, padovan, linux-bluetooth, netdev, sjur.brandeland,
	socketcan, urs.thuermann, socketcan-core, sage, ceph-devel,
	wang840925, jlayton, kaber, pekkas, linux-kernel,
	netfilter-devel, netfilter, samuel, Tracey Dent

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/econet/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/econet/Makefile b/net/econet/Makefile
index 39f0a77..05fae8b 100644
--- a/net/econet/Makefile
+++ b/net/econet/Makefile
@@ -4,4 +4,4 @@
 
 obj-$(CONFIG_ECONET) += econet.o
 
-econet-objs := af_econet.o
+econet-y := af_econet.o
-- 
1.7.3.2.245.g03276


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 07/17] Net: ipv4: netfilter: Makefile: Remove deprecated kbuild goal  definitions
  2010-11-22  1:03 [PATCH 00/00] Remove deprecated items from Makefiles Tracey Dent
                   ` (5 preceding siblings ...)
  2010-11-22  1:03 ` [PATCH 06/17] Net: econet: " Tracey Dent
@ 2010-11-22  1:03 ` Tracey Dent
  2010-11-22  1:03 ` [PATCH 08/17] Net: ipv6: netfiliter: " Tracey Dent
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: Tracey Dent @ 2010-11-22  1:03 UTC (permalink / raw)
  To: davem
  Cc: marcel, padovan, linux-bluetooth, netdev, sjur.brandeland,
	socketcan, urs.thuermann, socketcan-core, sage, ceph-devel,
	wang840925, jlayton, kaber, pekkas, linux-kernel,
	netfilter-devel, netfilter, samuel, Tracey Dent

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/ipv4/netfilter/Makefile |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net/ipv4/netfilter/Makefile b/net/ipv4/netfilter/Makefile
index 4811159..19eb59d 100644
--- a/net/ipv4/netfilter/Makefile
+++ b/net/ipv4/netfilter/Makefile
@@ -3,15 +3,15 @@
 #
 
 # objects for l3 independent conntrack
-nf_conntrack_ipv4-objs  :=  nf_conntrack_l3proto_ipv4.o nf_conntrack_proto_icmp.o
+nf_conntrack_ipv4-y	:=  nf_conntrack_l3proto_ipv4.o nf_conntrack_proto_icmp.o
 ifeq ($(CONFIG_NF_CONNTRACK_PROC_COMPAT),y)
 ifeq ($(CONFIG_PROC_FS),y)
 nf_conntrack_ipv4-objs	+= nf_conntrack_l3proto_ipv4_compat.o
 endif
 endif
 
-nf_nat-objs		:= nf_nat_core.o nf_nat_helper.o nf_nat_proto_unknown.o nf_nat_proto_common.o nf_nat_proto_tcp.o nf_nat_proto_udp.o nf_nat_proto_icmp.o
-iptable_nat-objs	:= nf_nat_rule.o nf_nat_standalone.o
+nf_nat-y		:= nf_nat_core.o nf_nat_helper.o nf_nat_proto_unknown.o nf_nat_proto_common.o nf_nat_proto_tcp.o nf_nat_proto_udp.o nf_nat_proto_icmp.o
+iptable_nat-y	:= nf_nat_rule.o nf_nat_standalone.o
 
 # connection tracking
 obj-$(CONFIG_NF_CONNTRACK_IPV4) += nf_conntrack_ipv4.o
-- 
1.7.3.2.245.g03276


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 08/17] Net: ipv6: netfiliter: Makefile: Remove deprecated kbuild goal definitions
  2010-11-22  1:03 [PATCH 00/00] Remove deprecated items from Makefiles Tracey Dent
                   ` (6 preceding siblings ...)
  2010-11-22  1:03 ` [PATCH 07/17] Net: ipv4: netfilter: " Tracey Dent
@ 2010-11-22  1:03 ` Tracey Dent
  2010-11-22  1:03 ` [PATCH 09/17] Net: irda: ircomm: Makefile: Remove deprecated kbuild goal defintions Tracey Dent
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: Tracey Dent @ 2010-11-22  1:03 UTC (permalink / raw)
  To: davem
  Cc: marcel, padovan, linux-bluetooth, netdev, sjur.brandeland,
	socketcan, urs.thuermann, socketcan-core, sage, ceph-devel,
	wang840925, jlayton, kaber, pekkas, linux-kernel,
	netfilter-devel, netfilter, samuel, Tracey Dent

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/ipv6/netfilter/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/ipv6/netfilter/Makefile b/net/ipv6/netfilter/Makefile
index 0a432c9..abfee91 100644
--- a/net/ipv6/netfilter/Makefile
+++ b/net/ipv6/netfilter/Makefile
@@ -11,13 +11,13 @@ obj-$(CONFIG_IP6_NF_RAW) += ip6table_raw.o
 obj-$(CONFIG_IP6_NF_SECURITY) += ip6table_security.o
 
 # objects for l3 independent conntrack
-nf_conntrack_ipv6-objs  :=  nf_conntrack_l3proto_ipv6.o nf_conntrack_proto_icmpv6.o
+nf_conntrack_ipv6-y  :=  nf_conntrack_l3proto_ipv6.o nf_conntrack_proto_icmpv6.o
 
 # l3 independent conntrack
 obj-$(CONFIG_NF_CONNTRACK_IPV6) += nf_conntrack_ipv6.o nf_defrag_ipv6.o
 
 # defrag
-nf_defrag_ipv6-objs := nf_defrag_ipv6_hooks.o nf_conntrack_reasm.o
+nf_defrag_ipv6-y := nf_defrag_ipv6_hooks.o nf_conntrack_reasm.o
 obj-$(CONFIG_NF_DEFRAG_IPV6) += nf_defrag_ipv6.o
 
 # matches
-- 
1.7.3.2.245.g03276


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 09/17] Net: irda: ircomm: Makefile: Remove deprecated kbuild goal defintions
  2010-11-22  1:03 [PATCH 00/00] Remove deprecated items from Makefiles Tracey Dent
                   ` (7 preceding siblings ...)
  2010-11-22  1:03 ` [PATCH 08/17] Net: ipv6: netfiliter: " Tracey Dent
@ 2010-11-22  1:03 ` Tracey Dent
  2010-11-22  1:03 ` [PATCH 10/17] Net: irda: irlan: Makefile: Remove deprecated kbuild goal definitions Tracey Dent
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: Tracey Dent @ 2010-11-22  1:03 UTC (permalink / raw)
  To: davem
  Cc: marcel, padovan, linux-bluetooth, netdev, sjur.brandeland,
	socketcan, urs.thuermann, socketcan-core, sage, ceph-devel,
	wang840925, jlayton, kaber, pekkas, linux-kernel,
	netfilter-devel, netfilter, samuel, Tracey Dent

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/irda/ircomm/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/irda/ircomm/Makefile b/net/irda/ircomm/Makefile
index 4868945..ab23b5b 100644
--- a/net/irda/ircomm/Makefile
+++ b/net/irda/ircomm/Makefile
@@ -4,5 +4,5 @@
 
 obj-$(CONFIG_IRCOMM) += ircomm.o ircomm-tty.o
 
-ircomm-objs := ircomm_core.o ircomm_event.o ircomm_lmp.o ircomm_ttp.o
-ircomm-tty-objs := ircomm_tty.o ircomm_tty_attach.o ircomm_tty_ioctl.o ircomm_param.o
+ircomm-y := ircomm_core.o ircomm_event.o ircomm_lmp.o ircomm_ttp.o
+ircomm-tty-y := ircomm_tty.o ircomm_tty_attach.o ircomm_tty_ioctl.o ircomm_param.o
-- 
1.7.3.2.245.g03276


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 10/17] Net: irda: irlan: Makefile: Remove deprecated kbuild goal definitions
  2010-11-22  1:03 [PATCH 00/00] Remove deprecated items from Makefiles Tracey Dent
                   ` (8 preceding siblings ...)
  2010-11-22  1:03 ` [PATCH 09/17] Net: irda: ircomm: Makefile: Remove deprecated kbuild goal defintions Tracey Dent
@ 2010-11-22  1:03 ` Tracey Dent
  2010-11-22  1:03 ` [PATCH 11/17] Net: irda: irnet: " Tracey Dent
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: Tracey Dent @ 2010-11-22  1:03 UTC (permalink / raw)
  To: davem
  Cc: marcel, padovan, linux-bluetooth, netdev, sjur.brandeland,
	socketcan, urs.thuermann, socketcan-core, sage, ceph-devel,
	wang840925, jlayton, kaber, pekkas, linux-kernel,
	netfilter-devel, netfilter, samuel, Tracey Dent

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/irda/irlan/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/irda/irlan/Makefile b/net/irda/irlan/Makefile
index 77549bc..94eefbc 100644
--- a/net/irda/irlan/Makefile
+++ b/net/irda/irlan/Makefile
@@ -4,4 +4,4 @@
 
 obj-$(CONFIG_IRLAN) += irlan.o
 
-irlan-objs := irlan_common.o irlan_eth.o irlan_event.o irlan_client.o irlan_provider.o irlan_filter.o irlan_provider_event.o irlan_client_event.o
+irlan-y := irlan_common.o irlan_eth.o irlan_event.o irlan_client.o irlan_provider.o irlan_filter.o irlan_provider_event.o irlan_client_event.o
-- 
1.7.3.2.245.g03276


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 11/17] Net: irda: irnet: Makefile: Remove deprecated kbuild goal definitions
  2010-11-22  1:03 [PATCH 00/00] Remove deprecated items from Makefiles Tracey Dent
                   ` (9 preceding siblings ...)
  2010-11-22  1:03 ` [PATCH 10/17] Net: irda: irlan: Makefile: Remove deprecated kbuild goal definitions Tracey Dent
@ 2010-11-22  1:03 ` Tracey Dent
  2010-11-22  1:03 ` [PATCH 12/17] Net: lapb: " Tracey Dent
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: Tracey Dent @ 2010-11-22  1:03 UTC (permalink / raw)
  To: davem
  Cc: marcel, padovan, linux-bluetooth, netdev, sjur.brandeland,
	socketcan, urs.thuermann, socketcan-core, sage, ceph-devel,
	wang840925, jlayton, kaber, pekkas, linux-kernel,
	netfilter-devel, netfilter, samuel, Tracey Dent

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/irda/irnet/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/irda/irnet/Makefile b/net/irda/irnet/Makefile
index b3ee01e..61c365c 100644
--- a/net/irda/irnet/Makefile
+++ b/net/irda/irnet/Makefile
@@ -4,4 +4,4 @@
 
 obj-$(CONFIG_IRNET) += irnet.o
 
-irnet-objs := irnet_ppp.o irnet_irda.o
+irnet-y := irnet_ppp.o irnet_irda.o
-- 
1.7.3.2.245.g03276


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 12/17] Net: lapb: Makefile: Remove deprecated kbuild goal definitions
  2010-11-22  1:03 [PATCH 00/00] Remove deprecated items from Makefiles Tracey Dent
                   ` (10 preceding siblings ...)
  2010-11-22  1:03 ` [PATCH 11/17] Net: irda: irnet: " Tracey Dent
@ 2010-11-22  1:03 ` Tracey Dent
  2010-11-22  1:03 ` [PATCH 13/17] Net: phonet: " Tracey Dent
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: Tracey Dent @ 2010-11-22  1:03 UTC (permalink / raw)
  To: davem
  Cc: marcel, padovan, linux-bluetooth, netdev, sjur.brandeland,
	socketcan, urs.thuermann, socketcan-core, sage, ceph-devel,
	wang840925, jlayton, kaber, pekkas, linux-kernel,
	netfilter-devel, netfilter, samuel, Tracey Dent

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/lapb/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/lapb/Makefile b/net/lapb/Makefile
index 53f7c90..fff797d 100644
--- a/net/lapb/Makefile
+++ b/net/lapb/Makefile
@@ -4,4 +4,4 @@
 
 obj-$(CONFIG_LAPB) += lapb.o
 
-lapb-objs := lapb_in.o lapb_out.o lapb_subr.o lapb_timer.o lapb_iface.o
+lapb-y := lapb_in.o lapb_out.o lapb_subr.o lapb_timer.o lapb_iface.o
-- 
1.7.3.2.245.g03276


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 13/17] Net: phonet: Makefile: Remove deprecated kbuild goal definitions
  2010-11-22  1:03 [PATCH 00/00] Remove deprecated items from Makefiles Tracey Dent
                   ` (11 preceding siblings ...)
  2010-11-22  1:03 ` [PATCH 12/17] Net: lapb: " Tracey Dent
@ 2010-11-22  1:03 ` Tracey Dent
  2010-11-22  1:03 ` [PATCH 14/17] Net: rds: Makefile: Remove deprecated items Tracey Dent
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: Tracey Dent @ 2010-11-22  1:03 UTC (permalink / raw)
  To: davem
  Cc: marcel, padovan, linux-bluetooth, netdev, sjur.brandeland,
	socketcan, urs.thuermann, socketcan-core, sage, ceph-devel,
	wang840925, jlayton, kaber, pekkas, linux-kernel,
	netfilter-devel, netfilter, samuel, Tracey Dent

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/phonet/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/phonet/Makefile b/net/phonet/Makefile
index d62bbba..e10b1b1 100644
--- a/net/phonet/Makefile
+++ b/net/phonet/Makefile
@@ -1,6 +1,6 @@
 obj-$(CONFIG_PHONET) += phonet.o pn_pep.o
 
-phonet-objs := \
+phonet-y := \
 	pn_dev.o \
 	pn_netlink.o \
 	socket.o \
@@ -8,4 +8,4 @@ phonet-objs := \
 	sysctl.o \
 	af_phonet.o
 
-pn_pep-objs := pep.o pep-gprs.o
+pn_pep-y := pep.o pep-gprs.o
-- 
1.7.3.2.245.g03276


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 14/17] Net: rds: Makefile: Remove deprecated items
  2010-11-22  1:03 [PATCH 00/00] Remove deprecated items from Makefiles Tracey Dent
                   ` (12 preceding siblings ...)
  2010-11-22  1:03 ` [PATCH 13/17] Net: phonet: " Tracey Dent
@ 2010-11-22  1:03 ` Tracey Dent
  2010-11-22  1:03 ` [PATCH 15/17] Net: rxrpc: Makefile: Remove deprecated kbuild goal definitions Tracey Dent
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: Tracey Dent @ 2010-11-22  1:03 UTC (permalink / raw)
  To: davem
  Cc: marcel, padovan, linux-bluetooth, netdev, sjur.brandeland,
	socketcan, urs.thuermann, socketcan-core, sage, ceph-devel,
	wang840925, jlayton, kaber, pekkas, linux-kernel,
	netfilter-devel, netfilter, samuel, Tracey Dent

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


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 15/17] Net: rxrpc: Makefile: Remove deprecated kbuild goal definitions
  2010-11-22  1:03 [PATCH 00/00] Remove deprecated items from Makefiles Tracey Dent
                   ` (13 preceding siblings ...)
  2010-11-22  1:03 ` [PATCH 14/17] Net: rds: Makefile: Remove deprecated items Tracey Dent
@ 2010-11-22  1:03 ` Tracey Dent
  2010-11-22  1:03   ` Tracey Dent
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: Tracey Dent @ 2010-11-22  1:03 UTC (permalink / raw)
  To: davem
  Cc: marcel, padovan, linux-bluetooth, netdev, sjur.brandeland,
	socketcan, urs.thuermann, socketcan-core, sage, ceph-devel,
	wang840925, jlayton, kaber, pekkas, linux-kernel,
	netfilter-devel, netfilter, samuel, Tracey Dent

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/rxrpc/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/rxrpc/Makefile b/net/rxrpc/Makefile
index c46867c..d1c3429 100644
--- a/net/rxrpc/Makefile
+++ b/net/rxrpc/Makefile
@@ -2,7 +2,7 @@
 # Makefile for Linux kernel RxRPC
 #
 
-af-rxrpc-objs := \
+af-rxrpc-y := \
 	af_rxrpc.o \
 	ar-accept.o \
 	ar-ack.o \
@@ -21,7 +21,7 @@ af-rxrpc-objs := \
 	ar-transport.o
 
 ifeq ($(CONFIG_PROC_FS),y)
-af-rxrpc-objs += ar-proc.o
+af-rxrpc-y += ar-proc.o
 endif
 
 obj-$(CONFIG_AF_RXRPC) += af-rxrpc.o
-- 
1.7.3.2.245.g03276


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 16/17] Net: sunrpc: auth_gss: Makefile: Remove deprecated kbuild goal definitions
@ 2010-11-22  1:03   ` Tracey Dent
  0 siblings, 0 replies; 21+ messages in thread
From: Tracey Dent @ 2010-11-22  1:03 UTC (permalink / raw)
  To: davem
  Cc: marcel, padovan, linux-bluetooth, netdev, sjur.brandeland,
	socketcan, urs.thuermann, socketcan-core, sage, ceph-devel,
	wang840925, jlayton, kaber, pekkas, linux-kernel,
	netfilter-devel, netfilter, samuel, Tracey Dent

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/sunrpc/auth_gss/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/sunrpc/auth_gss/Makefile b/net/sunrpc/auth_gss/Makefile
index 7350d86..9e4cb59 100644
--- a/net/sunrpc/auth_gss/Makefile
+++ b/net/sunrpc/auth_gss/Makefile
@@ -4,10 +4,10 @@
 
 obj-$(CONFIG_SUNRPC_GSS) += auth_rpcgss.o
 
-auth_rpcgss-objs := auth_gss.o gss_generic_token.o \
+auth_rpcgss-y := auth_gss.o gss_generic_token.o \
 	gss_mech_switch.o svcauth_gss.o
 
 obj-$(CONFIG_RPCSEC_GSS_KRB5) += rpcsec_gss_krb5.o
 
-rpcsec_gss_krb5-objs := gss_krb5_mech.o gss_krb5_seal.o gss_krb5_unseal.o \
+rpcsec_gss_krb5-y := gss_krb5_mech.o gss_krb5_seal.o gss_krb5_unseal.o \
 	gss_krb5_seqnum.o gss_krb5_wrap.o gss_krb5_crypto.o gss_krb5_keys.o
-- 
1.7.3.2.245.g03276


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 16/17] Net: sunrpc: auth_gss: Makefile: Remove deprecated kbuild goal definitions
@ 2010-11-22  1:03   ` Tracey Dent
  0 siblings, 0 replies; 21+ messages in thread
From: Tracey Dent @ 2010-11-22  1:03 UTC (permalink / raw)
  To: davem-fT/PcQaiUtIeIZ0/mPfg9Q
  Cc: marcel-kz+m5ild9QBg9hUCZPvPmw, padovan-Y3ZbgMPKUGA34EUeqzHoZw,
	linux-bluetooth-u79uwXL29TY76Z2rM5mHXA,
	netdev-u79uwXL29TY76Z2rM5mHXA,
	sjur.brandeland-0IS4wlFg1OjSUeElwK9/Pw,
	socketcan-fJ+pQTUTwRTk1uMJSBkQmQ,
	urs.thuermann-l29pVbxQd1IUtdQbppsyvg,
	socketcan-core-0fE9KPoRgkgATYTw5x5z8w,
	sage-BnTBU8nroG7k1uMJSBkQmQ, ceph-devel-u79uwXL29TY76Z2rM5mHXA,
	wang840925-Re5JQEeQqe8AvxtiuMwx3w,
	jlayton-H+wXaHxf7aLQT0dZR+AlfA, kaber-dcUjhNyLwpNeoWH0uzbU5w,
	pekkas-UjJjq++bwZ7HOG6cAo2yLw,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	netfilter-devel-u79uwXL29TY76Z2rM5mHXA,
	netfilter-u79uwXL29TY76Z2rM5mHXA, samuel-jcdQHdrhKHMdnm+yROfE0A,
	Tracey Dent

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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 net/sunrpc/auth_gss/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/sunrpc/auth_gss/Makefile b/net/sunrpc/auth_gss/Makefile
index 7350d86..9e4cb59 100644
--- a/net/sunrpc/auth_gss/Makefile
+++ b/net/sunrpc/auth_gss/Makefile
@@ -4,10 +4,10 @@
 
 obj-$(CONFIG_SUNRPC_GSS) += auth_rpcgss.o
 
-auth_rpcgss-objs := auth_gss.o gss_generic_token.o \
+auth_rpcgss-y := auth_gss.o gss_generic_token.o \
 	gss_mech_switch.o svcauth_gss.o
 
 obj-$(CONFIG_RPCSEC_GSS_KRB5) += rpcsec_gss_krb5.o
 
-rpcsec_gss_krb5-objs := gss_krb5_mech.o gss_krb5_seal.o gss_krb5_unseal.o \
+rpcsec_gss_krb5-y := gss_krb5_mech.o gss_krb5_seal.o gss_krb5_unseal.o \
 	gss_krb5_seqnum.o gss_krb5_wrap.o gss_krb5_crypto.o gss_krb5_keys.o
-- 
1.7.3.2.245.g03276

^ permalink raw reply related	[flat|nested] 21+ messages in thread

* [PATCH 17/17] Net: wanrouter: Makefile: Remove deprecated kbuild goal definitions
  2010-11-22  1:03 [PATCH 00/00] Remove deprecated items from Makefiles Tracey Dent
                   ` (15 preceding siblings ...)
  2010-11-22  1:03   ` Tracey Dent
@ 2010-11-22  1:03 ` Tracey Dent
  2010-11-22 16:17 ` [PATCH 00/00] Remove deprecated items from Makefiles David Miller
  17 siblings, 0 replies; 21+ messages in thread
From: Tracey Dent @ 2010-11-22  1:03 UTC (permalink / raw)
  To: davem
  Cc: marcel, padovan, linux-bluetooth, netdev, sjur.brandeland,
	socketcan, urs.thuermann, socketcan-core, sage, ceph-devel,
	wang840925, jlayton, kaber, pekkas, linux-kernel,
	netfilter-devel, netfilter, samuel, Tracey Dent

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/wanrouter/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/wanrouter/Makefile b/net/wanrouter/Makefile
index 9f188ab..4da14bc 100644
--- a/net/wanrouter/Makefile
+++ b/net/wanrouter/Makefile
@@ -4,4 +4,4 @@
 
 obj-$(CONFIG_WAN_ROUTER) += wanrouter.o
 
-wanrouter-objs :=  wanproc.o wanmain.o
+wanrouter-y :=  wanproc.o wanmain.o
-- 
1.7.3.2.245.g03276


^ permalink raw reply related	[flat|nested] 21+ messages in thread

* Re: [PATCH 00/00] Remove deprecated items from Makefiles
  2010-11-22  1:03 [PATCH 00/00] Remove deprecated items from Makefiles Tracey Dent
                   ` (16 preceding siblings ...)
  2010-11-22  1:03 ` [PATCH 17/17] Net: wanrouter: " Tracey Dent
@ 2010-11-22 16:17 ` David Miller
  17 siblings, 0 replies; 21+ messages in thread
From: David Miller @ 2010-11-22 16:17 UTC (permalink / raw)
  To: tdent48227
  Cc: marcel, padovan, linux-bluetooth, netdev, sjur.brandeland,
	socketcan, urs.thuermann, socketcan-core, sage, ceph-devel,
	wang840925, jlayton, kaber, pekkas, linux-kernel,
	netfilter-devel, netfilter, samuel

From: Tracey Dent <tdent48227@gmail.com>
Date: Sun, 21 Nov 2010 20:03:11 -0500

> I changed Makefiles to use <modules>-y instead of <modules>-objs because -objs
> is deprecated and not even mentioned in Documentation/kbuild/makefiles.txt.
> 
> Also, remove some if-conditional statments because I used the ccflags-$ flag 
> instead of EXTRA_CFLAGS because EXTRA_CFLAGS.

All applied, thanks Tracey.

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2010-11-22 16:17 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-22  1:03 [PATCH 00/00] Remove deprecated items from Makefiles Tracey Dent
2010-11-22  1:03 ` [PATCH 01/17] Net: bluetooth: Makefile: Remove deprecated kbuild goal definitions Tracey Dent
2010-11-22  1:03   ` 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 ` [PATCH 14/17] Net: rds: Makefile: Remove deprecated items Tracey Dent
2010-11-22  1:03 ` [PATCH 15/17] Net: rxrpc: Makefile: Remove deprecated kbuild goal definitions Tracey Dent
2010-11-22  1:03 ` [PATCH 16/17] Net: sunrpc: auth_gss: " Tracey Dent
2010-11-22  1:03   ` 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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.