Net: caif: Makefile: Remove deprecated items
authorTracey Dent <tdent48227@gmail.com>
Sun, 21 Nov 2010 15:03:13 +0000 (15:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Nov 2010 16:16:09 +0000 (08:16 -0800)
commita3106d032fb17283c96fa041f8285e6926ae074d
tree9845f21a2469f3377de5c74c55873d40985b2641
parent87217502d4f45a9925c5eda5b2179f1220e87537
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>
net/caif/Makefile