* [PATCH resend] power: Use subdir-ccflags-* to inherit debug flag
@ 2015-02-23 16:08 Geert Uytterhoeven
2015-02-25 20:40 ` Sebastian Reichel
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2015-02-23 16:08 UTC (permalink / raw)
To: Sebastian Reichel, Dmitry Eremin-Solenikov, David Woodhouse
Cc: linux-pm, Geert Uytterhoeven
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>
---
drivers/power/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/Makefile b/drivers/power/Makefile
index 36f9e0d10111f3b6..8a8ff95b99c2d11f 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
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH resend] power: Use subdir-ccflags-* to inherit debug flag
2015-02-23 16:08 [PATCH resend] power: Use subdir-ccflags-* to inherit debug flag Geert Uytterhoeven
@ 2015-02-25 20:40 ` Sebastian Reichel
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Reichel @ 2015-02-25 20:40 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Dmitry Eremin-Solenikov, David Woodhouse, linux-pm
[-- Attachment #1: Type: text/plain, Size: 328 bytes --]
Hi Geert,
On Mon, Feb 23, 2015 at 05:08:48PM +0100, Geert Uytterhoeven wrote:
> 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>
Thanks, pulled into battery-2.6.git.
-- Sebastian
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-25 20:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-23 16:08 [PATCH resend] power: Use subdir-ccflags-* to inherit debug flag Geert Uytterhoeven
2015-02-25 20:40 ` Sebastian Reichel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox