projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
power: Use subdir-ccflags-* to inherit debug flag
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
power
/
Makefile
diff --git
a/drivers/power/Makefile
b/drivers/power/Makefile
index 2888bb0acadd16c560765249f94ea98675096ff1..7b604f4926fca5d172fd41f5e6224ba1a45ae1c7 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