summaryrefslogtreecommitdiffstats
path: root/net/can/Makefile
diff options
context:
space:
mode:
authorTracey Dent <tdent48227@gmail.com>2010-11-21 15:03:14 +0000
committerDavid S. Miller <davem@davemloft.net>2010-11-22 08:16:09 -0800
commitbac14e017830bd204b3a1bd55f42b0841c02e995 (patch)
tree151cd6db359b9ff716c87a2c6019fb608dca6e6b /net/can/Makefile
parenta3106d032fb17283c96fa041f8285e6926ae074d (diff)
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>
Diffstat (limited to 'net/can/Makefile')
-rw-r--r--net/can/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/can/Makefile b/net/can/Makefile
index 9cd3c4b3abd..2d3894b3274 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