diff options
author | Tracey Dent <tdent48227@gmail.com> | 2010-11-21 10:03:13 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-22 11:16:09 -0500 |
commit | a3106d032fb17283c96fa041f8285e6926ae074d (patch) | |
tree | 9845f21a2469f3377de5c74c55873d40985b2641 /net/caif/Makefile | |
parent | 87217502d4f45a9925c5eda5b2179f1220e87537 (diff) |
Net: caif: Makefile: Remove deprecated items
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif/Makefile')
-rw-r--r-- | net/caif/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/net/caif/Makefile b/net/caif/Makefile index f87481fb0e65..9d38e406e4a4 100644 --- a/net/caif/Makefile +++ b/net/caif/Makefile | |||
@@ -1,8 +1,6 @@ | |||
1 | ifeq ($(CONFIG_CAIF_DEBUG),y) | 1 | ccflags-$(CONFIG_CAIF_DEBUG) := -DDEBUG |
2 | EXTRA_CFLAGS += -DDEBUG | ||
3 | endif | ||
4 | 2 | ||
5 | caif-objs := caif_dev.o \ | 3 | caif-y := caif_dev.o \ |
6 | cfcnfg.o cfmuxl.o cfctrl.o \ | 4 | cfcnfg.o cfmuxl.o cfctrl.o \ |
7 | cffrml.o cfveil.o cfdbgl.o\ | 5 | cffrml.o cfveil.o cfdbgl.o\ |
8 | cfserl.o cfdgml.o \ | 6 | cfserl.o cfdgml.o \ |
@@ -13,4 +11,4 @@ obj-$(CONFIG_CAIF) += caif.o | |||
13 | obj-$(CONFIG_CAIF_NETDEV) += chnl_net.o | 11 | obj-$(CONFIG_CAIF_NETDEV) += chnl_net.o |
14 | obj-$(CONFIG_CAIF) += caif_socket.o | 12 | obj-$(CONFIG_CAIF) += caif_socket.o |
15 | 13 | ||
16 | export-objs := caif.o | 14 | export-y := caif.o |