Re: [rtc-linux] [PATCH 20/24] rtc: change to new flag variable

From: Wan ZongShun
Date: Fri Sep 24 2010 - 21:37:21 EST


2010/9/25 matt mooney <mfm@xxxxxxxxxxxxx>:
> Replace EXTRA_CFLAGS with ccflags-y.

Good idea.

Acked-by: Wan ZongShun <mcuos.com@xxxxxxxxx>

>
> Signed-off-by: matt mooney <mfm@xxxxxxxxxxxxx>
> ---
> Âdrivers/rtc/Makefile | Â Â4 +---
> Â1 files changed, 1 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile
> index 0f207b3..f2d69d5 100644
> --- a/drivers/rtc/Makefile
> +++ b/drivers/rtc/Makefile
> @@ -2,9 +2,7 @@
> Â# Makefile for RTC class/drivers.
> Â#
>
> -ifeq ($(CONFIG_RTC_DEBUG),y)
> - Â Â Â EXTRA_CFLAGS Â Â Â Â Â Â+= -DDEBUG
> -endif
> +ccflags-$(CONFIG_RTC_DEBUG) Â Â:= -DDEBUG
>
> Âobj-$(CONFIG_RTC_LIB) Â Â Â Â Â+= rtc-lib.o
> Âobj-$(CONFIG_RTC_HCTOSYS) Â Â Â+= hctosys.o
> --
> 1.7.2.1
>
> --
> You received this message because you are subscribed to "rtc-linux".
> Membership options at http://groups.google.com/group/rtc-linux .
> Please read http://groups.google.com/group/rtc-linux/web/checklist
> before submitting a driver.



--
*linux-arm-kernel mailing list
mail addr:linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
you can subscribe by:
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

* linux-arm-NUC900 mailing list
mail addr:NUC900@xxxxxxxxxxxxxxxx
main web: https://groups.google.com/group/NUC900
you can subscribe it by sending me mail:
mcuos.com@xxxxxxxxx
--
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/