diff options
author | David Brownell <david-b@pacbell.net> | 2006-10-01 02:28:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-01 03:39:25 -0400 |
commit | 9e86ecb659f11b36b5e189214b19cb31ef5dfd72 (patch) | |
tree | 4442ea511c962765fa06c2ae65b301caaa65d542 /drivers/rtc/Makefile | |
parent | 0847062ad57e6d2d77875104d66f413a89769809 (diff) |
[PATCH] RTC class: Kconfig improvements
Small updates to make the RTC class Kconfig text be more informative. This
should help folk used to the drivers/char/rtc.c support, or a single RTC, be
slightly less surprised by the differences.
Also, adds a new RTC_DEBUG option to predefine DEBUG in the framework and its
drivers, while debugging. That's getting to be a standard idiom, and it's
pretty useful.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Acked-by: Oleg Verych <olecom@flower.upol.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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 |