mirror of https://gitee.com/openkylin/linux.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 <geert+renesas@glider.be> Signed-off-by: Sebastian Reichel <sre@kernel.org>
This commit is contained in:
parent
5cd0c76d69
commit
213feb51e5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue