summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/Makefile
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-08-17 17:38:24 -0500
committerMarc Kleine-Budde <mkl@pengutronix.de>2014-08-18 01:03:38 +0200
commit4ade6feb52262eae0c40d6714e3446bfa4d19a5f (patch)
treed00acb17cab71d8e3f264186f93cde6d1eed04f2 /drivers/net/can/Makefile
parentc9d26423e56ce1ab4d786f92aebecf859d419293 (diff)
downloadblackbird-op-linux-4ade6feb52262eae0c40d6714e3446bfa4d19a5f.tar.gz
blackbird-op-linux-4ade6feb52262eae0c40d6714e3446bfa4d19a5f.zip
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: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/Makefile')
-rw-r--r--drivers/net/can/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/Makefile b/drivers/net/can/Makefile
index 1697f22353a9..14b4c2af1e5d 100644
--- a/drivers/net/can/Makefile
+++ b/drivers/net/can/Makefile
@@ -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
OpenPOWER on IntegriCloud