2001-05-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* include/Makefile.am: Use *_HEADERS instead of *H_FILES, add
	bspopts.h.
	* include/.cvsignore: Add bspopts.h.
	* include/bsp.h: Add bspopts.h.
	* console/Makefile.am: Use *_HEADERS instead of H_FILES.
	* configure.in: Add bspopts.h.
This commit is contained in:
Joel Sherrill
2001-05-25 16:45:24 +00:00
parent e32fdfa442
commit e182fd183a
6 changed files with 28 additions and 9 deletions

View File

@@ -1,3 +1,12 @@
2001-05-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/Makefile.am: Use *_HEADERS instead of *H_FILES, add
bspopts.h.
* include/.cvsignore: Add bspopts.h.
* include/bsp.h: Add bspopts.h.
* console/Makefile.am: Use *_HEADERS instead of H_FILES.
* configure.in: Add bspopts.h.
2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).

View File

@@ -19,6 +19,7 @@ RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
RTEMS_CANONICAL_HOST
AM_CONFIG_HEADER(include/bspopts.h)
RTEMS_PROJECT_ROOT
# Explicitly list all Makefiles here

View File

@@ -9,7 +9,8 @@ PGM = $(ARCH)/console.rel
C_FILES = console.c serial.c
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
H_FILES = concntl.h
include_HEADERS = concntl.h
noinst_HEADERS = serial.h
OBJS = $(C_O_FILES)
@@ -24,11 +25,14 @@ include $(top_srcdir)/../../../../../../automake/lib.am
$(PGM): $(OBJS)
$(make-rel)
$(PROJECT_INCLUDE)/concntl.h: concntl.h
$(PROJECT_INCLUDE):
$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/%.h: %.h
$(INSTALL_DATA) $< $@
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
TMPINSTALL_FILES += $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/concntl.h
TMPINSTALL_FILES += $(PROJECT_INCLUDE) $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)

View File

@@ -1,2 +1,7 @@
Makefile
Makefile.in
bspopts.h
bspopts.h.in
coverhd.h
stamp-h
stamp-h.in

View File

@@ -4,7 +4,7 @@
AUTOMAKE_OPTIONS = foreign 1.4
H_FILES = bsp.h ../../../shared/include/coverhd.h
include_HEADERS = bsp.h coverhd.h bspopts.h
$(PROJECT_INCLUDE):
$(mkinstalldirs) $@
@@ -12,14 +12,12 @@ $(PROJECT_INCLUDE):
$(PROJECT_INCLUDE)/%.h: %.h
$(INSTALL_DATA) $< $@
$(PROJECT_INCLUDE)/coverhd.h: ../../../shared/include/coverhd.h
coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h
$(INSTALL_DATA) $< $@
CLEANFILES += coverhd.h
TMPINSTALL_FILES += $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/bsp.h \
$(PROJECT_INCLUDE)/coverhd.h
TMPINSTALL_FILES += $(PROJECT_INCLUDE) $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
all-local: $(TMPINSTALL_FILES)
EXTRA_DIST = bsp.h
include $(top_srcdir)/../../../../../../automake/local.am

View File

@@ -21,6 +21,8 @@
extern "C" {
#endif
#include <bspopts.h>
#include <rtems.h>
#include <console.h>
#include <clockdrv.h>