diff options
author | matt mooney <mfm@muteddisk.com> | 2011-01-14 15:12:48 +0100 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-03-17 14:05:35 +0100 |
commit | 76aea3e9fe1e6b74e8f7c75324fde940701346d4 (patch) | |
tree | 21ef278afa3d9597215a062dde1138ee305d5886 /drivers/rtc | |
parent | rapidio: change to new flag variable (diff) | |
download | linux-76aea3e9fe1e6b74e8f7c75324fde940701346d4.tar.xz linux-76aea3e9fe1e6b74e8f7c75324fde940701346d4.zip |
rtc: change to new flag variable
Replace EXTRA_CFLAGS with ccflags-y.
Signed-off-by: matt mooney <mfm@muteddisk.com>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile index 2afdaf3ff986..5f6c3838dcf6 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 |