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>
This commit is contained in:
parent
4ebdd58f46
commit
76aea3e9fe
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue