Commit a3106d032fb17283c96fa041f8285e6926ae074d
Committed by
David S. Miller
1 parent
87217502d4
Exists in
master
and in
4 other branches
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>
Showing 1 changed file with 3 additions and 5 deletions Side-by-side Diff
net/caif/Makefile
1 | -ifeq ($(CONFIG_CAIF_DEBUG),y) | |
2 | -EXTRA_CFLAGS += -DDEBUG | |
3 | -endif | |
1 | +ccflags-$(CONFIG_CAIF_DEBUG) := -DDEBUG | |
4 | 2 | |
5 | -caif-objs := caif_dev.o \ | |
3 | +caif-y := caif_dev.o \ | |
6 | 4 | cfcnfg.o cfmuxl.o cfctrl.o \ |
7 | 5 | cffrml.o cfveil.o cfdbgl.o\ |
8 | 6 | cfserl.o cfdgml.o \ |
... | ... | @@ -13,5 +11,5 @@ |
13 | 11 | obj-$(CONFIG_CAIF_NETDEV) += chnl_net.o |
14 | 12 | obj-$(CONFIG_CAIF) += caif_socket.o |
15 | 13 | |
16 | -export-objs := caif.o | |
14 | +export-y := caif.o |