Net: can: Makefile: Remove deprecated kbuild goal definitions
authorTracey Dent <tdent48227@gmail.com>
Sun, 21 Nov 2010 15:03:14 +0000 (15:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Nov 2010 16:16:09 +0000 (08:16 -0800)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/can/Makefile

index 9cd3c4b3abda884901aad20640215c2b50fc01ea..2d3894b327429fa0bb01f640c944b5ce5ab1d53e 100644 (file)
@@ -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