summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-02-23 19:08:48 +0300
committerSebastian Reichel <sre@kernel.org>2015-02-25 23:38:22 +0300
commit213feb51e5f5bc721fb1b2515a7493559c1a5112 (patch)
tree3131b69327cdeabc3d495d65ae82acd30329acac /drivers
parent5cd0c76d69a1a4bef3a84c3177216b227a4d2448 (diff)
downloadlinux-213feb51e5f5bc721fb1b2515a7493559c1a5112.tar.xz
power: Use subdir-ccflags-* to inherit debug flag
Use subdir-ccflags-* instead of ccflags-* to inherit the debug settings from Kconfig when traversing subdirectories. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/power/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/Makefile b/drivers/power/Makefile
index 2888bb0acadd..7b604f4926fc 100644
--- a/drivers/power/Makefile
+++ b/drivers/power/Makefile
@@ -1,4 +1,4 @@
-ccflags-$(CONFIG_POWER_SUPPLY_DEBUG) := -DDEBUG
+subdir-ccflags-$(CONFIG_POWER_SUPPLY_DEBUG) := -DDEBUG
power_supply-y := power_supply_core.o
power_supply-$(CONFIG_SYSFS) += power_supply_sysfs.o