diff options
Diffstat (limited to 'drivers/rtc/Makefile')
-rw-r--r-- | drivers/rtc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile index e72d467ab214..3ba5ff6e6800 100644 --- a/drivers/rtc/Makefile +++ b/drivers/rtc/Makefile | |||
@@ -2,6 +2,10 @@ | |||
2 | # Makefile for RTC class/drivers. | 2 | # Makefile for RTC class/drivers. |
3 | # | 3 | # |
4 | 4 | ||
5 | ifeq ($(CONFIG_RTC_DEBUG),y) | ||
6 | EXTRA_CFLAGS += -DDEBUG | ||
7 | endif | ||
8 | |||
5 | obj-$(CONFIG_RTC_LIB) += rtc-lib.o | 9 | obj-$(CONFIG_RTC_LIB) += rtc-lib.o |
6 | obj-$(CONFIG_RTC_HCTOSYS) += hctosys.o | 10 | obj-$(CONFIG_RTC_HCTOSYS) += hctosys.o |
7 | obj-$(CONFIG_RTC_CLASS) += rtc-core.o | 11 | obj-$(CONFIG_RTC_CLASS) += rtc-core.o |