Re: [PATCH 13/24] misc: change to new flag variable

From: Michał Mirosław
Date: Tue Sep 28 2010 - 09:02:21 EST


On Fri, Sep 24, 2010 at 12:17:23PM -0700, matt mooney wrote:
> Replace EXTRA_CFLAGS with ccflags-y.
>
> Signed-off-by: matt mooney <mfm@xxxxxxxxxxxxx>
> ---
> drivers/misc/cb710/Makefile | 4 +---
> drivers/misc/sgi-gru/Makefile | 4 +---
> 2 files changed, 2 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/misc/cb710/Makefile b/drivers/misc/cb710/Makefile
> index 7b80cbf..467c8e9 100644
> --- a/drivers/misc/cb710/Makefile
> +++ b/drivers/misc/cb710/Makefile
> @@ -1,6 +1,4 @@
> -ifeq ($(CONFIG_CB710_DEBUG),y)
> - EXTRA_CFLAGS += -DDEBUG
> -endif
> +ccflags-$(CONFIG_CB710_DEBUG) := -DDEBUG
>
> obj-$(CONFIG_CB710_CORE) += cb710.o
>

In case you need it:

Acked-by: Michał Mirosław <mirq-linux@xxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/