[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMuHMdVBT8UHixD24HL=-qE6isH7hx8BH__R8LDNuSUh4GcSsw@mail.gmail.com>
Date: Thu, 29 Jan 2015 15:27:25 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: Sebastian Reichel <sre@...nel.org>,
Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
David Woodhouse <dwmw2@...radead.org>,
Linux PM list <linux-pm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] power: Use subdir-ccflags-* to inherit debug flag
ping?
On Thu, Dec 4, 2014 at 4:34 PM, Geert Uytterhoeven
<geert+renesas@...der.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@...der.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@...ux-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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists