Browse Source

Net: can: Makefile: Remove deprecated kbuild goal definitions

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>
Tracey Dent 14 years ago
parent
commit
bac14e0178
1 changed files with 3 additions and 3 deletions
  1. 3 3
      net/can/Makefile

+ 3 - 3
net/can/Makefile

@@ -3,10 +3,10 @@
 #
 #
 
 
 obj-$(CONFIG_CAN)	+= can.o
 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
 obj-$(CONFIG_CAN_RAW)	+= can-raw.o
-can-raw-objs		:= raw.o
+can-raw-y		:= raw.o
 
 
 obj-$(CONFIG_CAN_BCM)	+= can-bcm.o
 obj-$(CONFIG_CAN_BCM)	+= can-bcm.o
-can-bcm-objs		:= bcm.o
+can-bcm-y		:= bcm.o