Commit 76aea3e9 authored by matt mooney's avatar matt mooney Committed by Michal Marek

rtc: change to new flag variable

Replace EXTRA_CFLAGS with ccflags-y.
Signed-off-by: default avatarmatt mooney <mfm@muteddisk.com>
Acked-by: default avatarWANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 4ebdd58f
...@@ -2,9 +2,7 @@ ...@@ -2,9 +2,7 @@
# Makefile for RTC class/drivers. # Makefile for RTC class/drivers.
# #
ifeq ($(CONFIG_RTC_DEBUG),y) ccflags-$(CONFIG_RTC_DEBUG) := -DDEBUG
EXTRA_CFLAGS += -DDEBUG
endif
obj-$(CONFIG_RTC_LIB) += rtc-lib.o obj-$(CONFIG_RTC_LIB) += rtc-lib.o
obj-$(CONFIG_RTC_HCTOSYS) += hctosys.o obj-$(CONFIG_RTC_HCTOSYS) += hctosys.o
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment