LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] power: Use subdir-ccflags-* to inherit debug flag
@ 2014-12-04 15:34 Geert Uytterhoeven
  2015-01-29 14:27 ` Geert Uytterhoeven
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2014-12-04 15:34 UTC (permalink / raw)
  To: Sebastian Reichel, Dmitry Eremin-Solenikov, David Woodhouse
  Cc: linux-pm, linux-kernel, 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 dfa89427392636ed..845e2e25b016f04e 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	[flat|nested] 2+ messages in thread

* Re: [PATCH] power: Use subdir-ccflags-* to inherit debug flag
  2014-12-04 15:34 [PATCH] power: Use subdir-ccflags-* to inherit debug flag Geert Uytterhoeven
@ 2015-01-29 14:27 ` Geert Uytterhoeven
  0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2015-01-29 14:27 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Sebastian Reichel, Dmitry Eremin-Solenikov, David Woodhouse,
	Linux PM list, linux-kernel

ping?

On Thu, Dec 4, 2014 at 4:34 PM, Geert Uytterhoeven
<geert+renesas@glider.be> 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>
> ---
>  drivers/power/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/power/Makefile b/drivers/power/Makefile
> index dfa89427392636ed..845e2e25b016f04e 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

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-29 14:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-04 15:34 [PATCH] power: Use subdir-ccflags-* to inherit debug flag Geert Uytterhoeven
2015-01-29 14:27 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).