From 1d4bac927a9ef0fc91f4d370e46ab953c3ace6bf Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 16 Apr 2001 20:32:16 +0000 Subject: 2001-04-16 Joel Sherrill * include/confdefs.h: Fix real-time clock support. --- cpukit/sapi/ChangeLog | 4 ++++ cpukit/sapi/include/confdefs.h | 7 +++++++ 2 files changed, 11 insertions(+) (limited to 'cpukit') diff --git a/cpukit/sapi/ChangeLog b/cpukit/sapi/ChangeLog index fd0543b2cd..fcb3944749 100644 --- a/cpukit/sapi/ChangeLog +++ b/cpukit/sapi/ChangeLog @@ -1,3 +1,7 @@ +2001-04-16 Joel Sherrill + + * include/confdefs.h: Fix real-time clock support. + 2001-02-03 Ralf Corsepius * include/Makefile.am, include/rtems/Makefile.am, diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index fbfdb03732..0dda508462 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -269,6 +269,10 @@ rtems_initialization_tasks_table Initialization_tasks[] = { #include #endif +#ifdef CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER +#include +#endif + #ifdef CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER #include #endif @@ -283,6 +287,9 @@ rtems_driver_address_table Device_drivers[] = { #ifdef CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER CLOCK_DRIVER_TABLE_ENTRY, #endif +#ifdef CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER + RTC_DRIVER_TABLE_ENTRY, +#endif #ifdef CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER DEVNULL_DRIVER_TABLE_ENTRY, #endif -- cgit v1.2.3