mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2001-05-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add bspopts.h, AC_DEFINE CONSOLE_USE_INTERRUPTS, CONSOLE_USE_POLLED, HAS_RTC. * include/.cvsignore: Add bspopts.h*, stamp-h*, coverhd.h, tod.h. * include/Makefile.am: Use *_HEADERS instead of *H_FILES, New treatment of tod.h, coverhd.h. * include/bsp.h: Add include bspopts.h.
This commit is contained in:
@@ -1,3 +1,12 @@
|
|||||||
|
2001-05-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* configure.in: Add bspopts.h, AC_DEFINE CONSOLE_USE_INTERRUPTS,
|
||||||
|
CONSOLE_USE_POLLED, HAS_RTC.
|
||||||
|
* include/.cvsignore: Add bspopts.h*, stamp-h*, coverhd.h, tod.h.
|
||||||
|
* include/Makefile.am: Use *_HEADERS instead of *H_FILES, New
|
||||||
|
treatment of tod.h, coverhd.h.
|
||||||
|
* include/bsp.h: Add include bspopts.h.
|
||||||
|
|
||||||
2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
|
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
|
||||||
|
|||||||
@@ -23,6 +23,25 @@ RTEMS_CANONICAL_HOST
|
|||||||
|
|
||||||
AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
|
AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
|
||||||
|
|
||||||
|
## bsp-specific options
|
||||||
|
CONSOLE_USE_INTERRUPTS=${CONSOLE_USE_INTERRUPTS-0}
|
||||||
|
AC_DEFINE_UNQUOTED([CONSOLE_USE_INTERRUPTS],
|
||||||
|
[$CONSOLE_USE_INTERRUPTS],
|
||||||
|
[whether using console interrupts])
|
||||||
|
|
||||||
|
## FIXME: this is redundant to CONSOLE_USE_INTERRUPTS
|
||||||
|
CONSOLE_USE_POLLED="!CONSOLE_USE_INTERRUPTS"
|
||||||
|
AC_DEFINE_UNQUOTED([CONSOLE_USE_POLLED],
|
||||||
|
[$CONSOLE_USE_POLLED],
|
||||||
|
[whether using polled console])
|
||||||
|
|
||||||
|
## FIXME: This is not used anywhere
|
||||||
|
HAS_RTC=${HAS_RTC-yes}
|
||||||
|
AC_DEFINE_UNQUOTED([HAS_RTC],
|
||||||
|
[$HAS_RTC],
|
||||||
|
[whether this BSP has an RTC])
|
||||||
|
|
||||||
|
AM_CONFIG_HEADER(include/bspopts.h)
|
||||||
RTEMS_PROJECT_ROOT
|
RTEMS_PROJECT_ROOT
|
||||||
|
|
||||||
# Explicitly list all Makefiles here
|
# Explicitly list all Makefiles here
|
||||||
|
|||||||
@@ -1,2 +1,8 @@
|
|||||||
Makefile
|
Makefile
|
||||||
Makefile.in
|
Makefile.in
|
||||||
|
coverhd.h
|
||||||
|
tod.h
|
||||||
|
bspopts.h
|
||||||
|
bspopts.h.in
|
||||||
|
stamp-h
|
||||||
|
stamp-h.in
|
||||||
|
|||||||
@@ -4,30 +4,23 @@
|
|||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign 1.4
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
H_FILES = bsp.h ../../../shared/include/coverhd.h dmv170.h \
|
include_HEADERS = bsp.h coverhd.h dmv170.h tod.h bspopts.h
|
||||||
../../../shared/tod.h
|
|
||||||
|
tod.h: $(top_srcdir)/../../shared/tod.h
|
||||||
|
cp $< $@
|
||||||
|
coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h
|
||||||
|
cp $< $@
|
||||||
|
CLEANFILES += tod.h coverhd.h
|
||||||
|
|
||||||
$(PROJECT_INCLUDE):
|
$(PROJECT_INCLUDE):
|
||||||
$(mkinstalldirs) $@
|
$(mkinstalldirs) $@
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/bsp.h: bsp.h
|
$(PROJECT_INCLUDE)/%.h: %.h
|
||||||
$(INSTALL_DATA) $< $@
|
$(INSTALL_DATA) $< $@
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/coverhd.h: ../../../shared/include/coverhd.h
|
TMPINSTALL_FILES += $(PROJECT_INCLUDE) \
|
||||||
$(INSTALL_DATA) $< $@
|
$(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/dmv170.h: dmv170.h
|
|
||||||
$(INSTALL_DATA) $< $@
|
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/tod.h: ../../../shared/tod.h
|
|
||||||
$(INSTALL_DATA) $< $@
|
|
||||||
|
|
||||||
TMPINSTALL_FILES += $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/bsp.h \
|
|
||||||
$(PROJECT_INCLUDE)/coverhd.h $(PROJECT_INCLUDE)/dmv170.h \
|
|
||||||
$(PROJECT_INCLUDE)/tod.h
|
|
||||||
|
|
||||||
all-local: $(TMPINSTALL_FILES)
|
all-local: $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
EXTRA_DIST = bsp.h dmv170.h
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../../../automake/local.am
|
include $(top_srcdir)/../../../../../../automake/local.am
|
||||||
|
|||||||
@@ -20,6 +20,8 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <bspopts.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* confdefs.h overrides for this BSP:
|
* confdefs.h overrides for this BSP:
|
||||||
* - termios serial ports (defaults to 1)
|
* - termios serial ports (defaults to 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user