Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ade6feb authored by Wolfram Sang's avatar Wolfram Sang Committed by Marc Kleine-Budde
Browse files

net: can: use kbuild magic to inherit debug settings



No need to manually copy debug settings into subdir Makefiles. kbuild
has a mechanism for inheriting, so let's use it.

Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent c9d26423
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,4 +28,4 @@ obj-$(CONFIG_CAN_GRCAN) += grcan.o
obj-$(CONFIG_CAN_RCAR)		+= rcar_can.o
obj-$(CONFIG_CAN_XILINXCAN)	+= xilinx_can.o

ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG
subdir-ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG
+0 −2
Original line number Diff line number Diff line
@@ -5,5 +5,3 @@
obj-$(CONFIG_CAN_C_CAN) += c_can.o
obj-$(CONFIG_CAN_C_CAN_PLATFORM) += c_can_platform.o
obj-$(CONFIG_CAN_C_CAN_PCI) += c_can_pci.o

ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG
+0 −2
Original line number Diff line number Diff line
@@ -5,5 +5,3 @@
obj-$(CONFIG_CAN_CC770) += cc770.o
obj-$(CONFIG_CAN_CC770_ISA) += cc770_isa.o
obj-$(CONFIG_CAN_CC770_PLATFORM) += cc770_platform.o

ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG
+0 −2
Original line number Diff line number Diff line

obj-$(CONFIG_CAN_MPC5XXX)	+= mscan-mpc5xxx.o
mscan-mpc5xxx-objs		:= mscan.o mpc5xxx_can.o

ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG
+0 −2
Original line number Diff line number Diff line
@@ -12,5 +12,3 @@ obj-$(CONFIG_CAN_PEAK_PCMCIA) += peak_pcmcia.o
obj-$(CONFIG_CAN_PEAK_PCI) += peak_pci.o
obj-$(CONFIG_CAN_PLX_PCI) += plx_pci.o
obj-$(CONFIG_CAN_TSCAN1) += tscan1.o

ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG
Loading