forked from Imagelibrary/rtems
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:
@@ -1,4 +1,13 @@
|
|||||||
2001-05-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
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]).
|
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
|
||||||
|
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ RTEMS_CONFIG_BUILD_SUBDIRS(tools)
|
|||||||
|
|
||||||
AC_SUBST(RTEMS_BSP)
|
AC_SUBST(RTEMS_BSP)
|
||||||
|
|
||||||
|
AM_CONFIG_HEADER(include/bspopts.h)
|
||||||
RTEMS_PROJECT_ROOT
|
RTEMS_PROJECT_ROOT
|
||||||
|
|
||||||
# Explicitly list all Makefiles here
|
# Explicitly list all Makefiles here
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ PGM = $(ARCH)/console.rel
|
|||||||
C_FILES = uart.c console.c
|
C_FILES = uart.c console.c
|
||||||
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
|
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
|
||||||
|
|
||||||
H_FILES = uart.h
|
noinst_HEADERS = uart.h
|
||||||
|
|
||||||
console_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.o)
|
console_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.o)
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,7 @@
|
|||||||
Makefile
|
Makefile
|
||||||
Makefile.in
|
Makefile.in
|
||||||
|
coverhd.h
|
||||||
|
bspopts.h
|
||||||
|
bspopts.h.in
|
||||||
|
stamp-h
|
||||||
|
stamp-h.in
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign 1.4
|
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):
|
$(PROJECT_INCLUDE):
|
||||||
$(mkinstalldirs) $@
|
$(mkinstalldirs) $@
|
||||||
@@ -12,11 +12,12 @@ $(PROJECT_INCLUDE):
|
|||||||
$(PROJECT_INCLUDE)/%.h: %.h
|
$(PROJECT_INCLUDE)/%.h: %.h
|
||||||
$(INSTALL_DATA) $< $@
|
$(INSTALL_DATA) $< $@
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h
|
coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h
|
||||||
$(INSTALL_DATA) $< $@
|
cp $< $@
|
||||||
|
CLEANFILES += coverhd.h
|
||||||
|
|
||||||
TMPINSTALL_FILES += $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/bsp.h \
|
TMPINSTALL_FILES += $(PROJECT_INCLUDE) \
|
||||||
$(PROJECT_INCLUDE)/coverhd.h $(PROJECT_INCLUDE)/registers.h
|
$(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
|
||||||
|
|
||||||
all: $(TMPINSTALL_FILES)
|
all: $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,8 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <bspopts.h>
|
||||||
|
|
||||||
#include <rtems.h>
|
#include <rtems.h>
|
||||||
#include <iosupp.h>
|
#include <iosupp.h>
|
||||||
#include <console.h>
|
#include <console.h>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ PGM = $(ARCH)/irq.rel
|
|||||||
|
|
||||||
C_FILES = irq.c irq_init.c bsp_irq_init.c
|
C_FILES = irq.c irq_init.c bsp_irq_init.c
|
||||||
S_FILES = irq_asm.S bsp_irq_asm.S
|
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)
|
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
|
||||||
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
|
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
|
||||||
@@ -23,7 +23,7 @@ $(PROJECT_INCLUDE):
|
|||||||
$(PROJECT_INCLUDE)/%.h: %.h
|
$(PROJECT_INCLUDE)/%.h: %.h
|
||||||
$(INSTALL_DATA) $< $@
|
$(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 $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||||
include $(top_srcdir)/../../../../../../automake/compile.am
|
include $(top_srcdir)/../../../../../../automake/compile.am
|
||||||
|
|||||||
@@ -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>
|
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]).
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
|
|||||||
RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
|
RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
|
||||||
RTEMS_CANONICAL_HOST
|
RTEMS_CANONICAL_HOST
|
||||||
|
|
||||||
|
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,7 @@
|
|||||||
Makefile
|
Makefile
|
||||||
Makefile.in
|
Makefile.in
|
||||||
|
coverhd.h
|
||||||
|
bspopts.h
|
||||||
|
bspopts.h.in
|
||||||
|
stamp-h
|
||||||
|
stamp-h.in
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign 1.4
|
AUTOMAKE_OPTIONS = foreign 1.4
|
||||||
|
|
||||||
H_FILES = bsp.h ../../../shared/include/coverhd.h
|
include_HEADERS = bsp.h coverhd.h bspopts.h
|
||||||
|
|
||||||
$(PROJECT_INCLUDE):
|
$(PROJECT_INCLUDE):
|
||||||
$(mkinstalldirs) $@
|
$(mkinstalldirs) $@
|
||||||
@@ -12,14 +12,12 @@ $(PROJECT_INCLUDE):
|
|||||||
$(PROJECT_INCLUDE)/%.h: %.h
|
$(PROJECT_INCLUDE)/%.h: %.h
|
||||||
$(INSTALL_DATA) $< $@
|
$(INSTALL_DATA) $< $@
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/coverhd.h: ../../../shared/include/coverhd.h
|
coverhd.h: $(top_srcdir)/../../shared/include/coverhd.h
|
||||||
$(INSTALL_DATA) $< $@
|
cp $< $@
|
||||||
|
CLEANFILES += coverhd.h
|
||||||
|
|
||||||
TMPINSTALL_FILES += $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/bsp.h \
|
TMPINSTALL_FILES += $(PROJECT_INCLUDE) $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
|
||||||
$(PROJECT_INCLUDE)/coverhd.h
|
|
||||||
|
|
||||||
all-local: $(TMPINSTALL_FILES)
|
all-local: $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
EXTRA_DIST = bsp.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>
|
||||||
|
|
||||||
#include <rtems.h>
|
#include <rtems.h>
|
||||||
#include <iosupp.h>
|
#include <iosupp.h>
|
||||||
#include <console.h>
|
#include <console.h>
|
||||||
|
|||||||
@@ -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>
|
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]).
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
|
|||||||
RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
|
RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
|
||||||
RTEMS_CANONICAL_HOST
|
RTEMS_CANONICAL_HOST
|
||||||
|
|
||||||
|
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
|
||||||
|
bspopts.h
|
||||||
|
bspopts.h.in
|
||||||
|
stamp-h
|
||||||
|
stamp-h.in
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,13 @@
|
|||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign 1.4
|
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):
|
$(PROJECT_INCLUDE):
|
||||||
$(mkinstalldirs) $@
|
$(mkinstalldirs) $@
|
||||||
@@ -12,14 +18,9 @@ $(PROJECT_INCLUDE):
|
|||||||
$(PROJECT_INCLUDE)/%.h: %.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)/%)
|
||||||
|
|
||||||
TMPINSTALL_FILES += $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/bsp.h \
|
|
||||||
$(PROJECT_INCLUDE)/registers.h $(PROJECT_INCLUDE)/coverhd.h
|
|
||||||
|
|
||||||
all-local: $(TMPINSTALL_FILES)
|
all-local: $(TMPINSTALL_FILES)
|
||||||
|
|
||||||
EXTRA_DIST = bsp.h registers.h
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../../../automake/local.am
|
include $(top_srcdir)/../../../../../../automake/local.am
|
||||||
|
|||||||
@@ -22,6 +22,8 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <bspopts.h>
|
||||||
|
|
||||||
#include <rtems.h>
|
#include <rtems.h>
|
||||||
#include <iosupp.h>
|
#include <iosupp.h>
|
||||||
#include <console.h>
|
#include <console.h>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
|
|||||||
S_FILES = irq_asm.S bsp_irq_asm.S
|
S_FILES = irq_asm.S bsp_irq_asm.S
|
||||||
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
|
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
|
||||||
|
|
||||||
H_FILES = irq.h
|
include_HEADERS = irq.h
|
||||||
|
|
||||||
OBJS = $(C_O_FILES) $(S_O_FILES)
|
OBJS = $(C_O_FILES) $(S_O_FILES)
|
||||||
|
|
||||||
@@ -28,6 +28,14 @@ include $(top_srcdir)/../../../../../../automake/lib.am
|
|||||||
|
|
||||||
AM_CPPFLAGS += -I$(srcdir)
|
AM_CPPFLAGS += -I$(srcdir)
|
||||||
|
|
||||||
|
$(PROJECT_INCLUDE):
|
||||||
|
$(mkinstalldirs) $@
|
||||||
|
|
||||||
|
$(PROJECT_INCLUDE)/%.h: %.h
|
||||||
|
$(INSTALL_DATA) $< $@
|
||||||
|
|
||||||
|
PREINSTALL_FILES += $(PROJECT_INCLUDE) $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
|
||||||
|
|
||||||
$(PGM): $(OBJS)
|
$(PGM): $(OBJS)
|
||||||
$(make-rel)
|
$(make-rel)
|
||||||
|
|
||||||
@@ -37,6 +45,6 @@ all-local: $(ARCH) $(OBJS) $(PGM)
|
|||||||
|
|
||||||
.PRECIOUS: $(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
|
include $(top_srcdir)/../../../../../../automake/local.am
|
||||||
|
|||||||
Reference in New Issue
Block a user