mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 07:01:57 +00:00
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
@ -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 New Issue
Block a user