Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 213feb51 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Sebastian Reichel
Browse files

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: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 5cd0c76d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
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