projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cd0c76
)
power: Use subdir-ccflags-* to inherit debug flag
author
Geert Uytterhoeven
<geert+renesas@glider.be>
Mon, 23 Feb 2015 16:08:48 +0000
(17:08 +0100)
committer
Sebastian Reichel
<sre@kernel.org>
Wed, 25 Feb 2015 20:38:22 +0000
(21:38 +0100)
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>
drivers/power/Makefile
patch
|
blob
|
history
diff --git
a/drivers/power/Makefile
b/drivers/power/Makefile
index
2888bb0
..
7b604f4
100644
(file)
--- 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