From: Geert Uytterhoeven Date: Mon, 23 Feb 2015 16:08:48 +0000 (+0100) Subject: power: Use subdir-ccflags-* to inherit debug flag X-Git-Tag: v4.9.8~4492^2~53 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=213feb51e5f5bc721fb1b2515a7493559c1a5112;p=platform%2Fkernel%2Flinux-rpi3.git 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 Signed-off-by: Sebastian Reichel --- diff --git a/drivers/power/Makefile b/drivers/power/Makefile index 2888bb0..7b604f4 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