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

* configure.in: Add include/bspopts.h.
	* console/Makefile.am: Use *_HEADERS instead of *H_FILES.
	* irq/Makefile.am: Use *_HEADER instead of *H_FILES.
	* include/.cvsignore: Add bspopts.h*, coverhd.h, stamp-h*
	* include/Makefile.am: Add bspopts.h, Use *_HEADER instead of *H_FILES.
	* include/bsp.h: Add bspopts.h.
This commit is contained in:
Joel Sherrill
2001-05-24 20:07:01 +00:00
parent b1a2ae922a
commit e86adc797d
18 changed files with 85 additions and 26 deletions

View File

@@ -1,3 +1,12 @@
2001-05-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add include/bspopts.h.
* console/Makefile.am: Use *_HEADERS instead of *H_FILES.
* irq/Makefile.am: Use *_HEADER instead of *H_FILES.
* include/.cvsignore: Add bspopts.h*, coverhd.h, stamp-h*
* include/Makefile.am: Add bspopts.h, Use *_HEADER instead of *H_FILES.
* include/bsp.h: 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

@@ -30,6 +30,7 @@ RTEMS_CONFIG_BUILD_SUBDIRS(tools)
AC_SUBST(RTEMS_BSP)
AM_CONFIG_HEADER(include/bspopts.h)
RTEMS_PROJECT_ROOT
# Explicitly list all Makefiles here

View File

@@ -11,7 +11,7 @@ PGM = $(ARCH)/console.rel
C_FILES = uart.c console.c
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
H_FILES = uart.h
noinst_HEADERS = uart.h
console_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.o)

View File

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

View File

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

View File

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

View File

@@ -10,7 +10,7 @@ PGM = $(ARCH)/irq.rel
C_FILES = irq.c irq_init.c bsp_irq_init.c
S_FILES = irq_asm.S bsp_irq_asm.S
H_FILES = irq.h
include_HEADERS = irq.h
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
@@ -23,7 +23,7 @@ $(PROJECT_INCLUDE):
$(PROJECT_INCLUDE)/%.h: %.h
$(INSTALL_DATA) $< $@
PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%.h=$(PROJECT_INCLUDE)/%.h)
PREINSTALL_FILES += $(PROJECT_INCLUDE) $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../../../../automake/compile.am

View File

@@ -1,3 +1,12 @@
2001-05-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add include/bspopts.h.
* console/Makefile.am: Use *_HEADERS instead of *H_FILES.
* irq/Makefile.am: Use *_HEADER instead of *H_FILES.
* include/.cvsignore: Add bspopts.h*, coverhd.h, stamp-h*.
* include/Makefile.am: Add bspopts.h, Use *_HEADER instead of *H_FILES.
* include/bsp.h: 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

@@ -1,2 +1,7 @@
Makefile
Makefile.in
coverhd.h
bspopts.h
bspopts.h.in
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
$(INSTALL_DATA) $< $@
coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h
cp $< $@
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

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

View File

@@ -1,3 +1,11 @@
2001-05-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add include/bspopts.h.
* irq/Makefile.am: Use *_HEADERS instead of *H_FILES.
* include/.cvsignore: Add bspopts.h*, coverhd.h, stamp-h*.
* include/Makefile.am: Add bspopts.h, Use *_HEADER instead of *H_FILES.
* include/bsp.h: 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

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

View File

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

View File

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

View File

@@ -14,7 +14,7 @@ C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
S_FILES = irq_asm.S bsp_irq_asm.S
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
H_FILES = irq.h
include_HEADERS = irq.h
OBJS = $(C_O_FILES) $(S_O_FILES)
@@ -28,6 +28,14 @@ include $(top_srcdir)/../../../../../../automake/lib.am
AM_CPPFLAGS += -I$(srcdir)
$(PROJECT_INCLUDE):
$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/%.h: %.h
$(INSTALL_DATA) $< $@
PREINSTALL_FILES += $(PROJECT_INCLUDE) $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
$(PGM): $(OBJS)
$(make-rel)
@@ -37,6 +45,6 @@ all-local: $(ARCH) $(OBJS) $(PGM)
.PRECIOUS: $(PGM)
EXTRA_DIST = bsp_irq_asm.S bsp_irq_init.c irq.c irq.h
EXTRA_DIST = bsp_irq_asm.S bsp_irq_init.c irq.c
include $(top_srcdir)/../../../../../../automake/local.am