diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-06-29 23:00:48 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-06-29 23:00:48 +0000 |
commit | 5532553209555c0a5a3c11206ff16192dd465160 (patch) | |
tree | 82b8bea30e32fb1928cb4e26f5d5415ff84ea42a /cpukit/score/cpu/h8300/Makefile.am | |
parent | Using RPM names for versions now. (diff) | |
download | rtems-5532553209555c0a5a3c11206ff16192dd465160.tar.bz2 |
This is the initial addition of the port of RTEMS to the
Hitachi H8 family. This port was done by Philip Quaife
<philip@qs.co.nz> of Q Solutions and sponsored by
Comnet Technologies Ltd. The port was done based on RTEMS 3.5.1
to a Hitach H8300H. The port was updated to RTEMS 4.5 style
Makefiles/configure by Joel Sherrill <joel@OARcorp.com>.
While doing this Joel added support for the h8300-rtems to
binutils, gcc, newlib, and gdb.
NOTE: Philip submitted a BSP for a Hitachi evaluation board
which is being merged as a separate entity.
Diffstat (limited to 'cpukit/score/cpu/h8300/Makefile.am')
-rw-r--r-- | cpukit/score/cpu/h8300/Makefile.am | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/cpukit/score/cpu/h8300/Makefile.am b/cpukit/score/cpu/h8300/Makefile.am new file mode 100644 index 0000000000..06d3dd0cbf --- /dev/null +++ b/cpukit/score/cpu/h8300/Makefile.am @@ -0,0 +1,49 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 +ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal + +SUBDIRS = rtems + +C_FILES = cpu.c rtems.c +C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) + +H_FILES = asm.h + +S_FILES = cpu_asm.S +S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o) + +REL = $(ARCH)/rtems-cpu.rel + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../../../../../../automake/lib.am + +rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES) + +$(PROJECT_INCLUDE): + $(mkinstalldirs) $@ + +$(PROJECT_INCLUDE)/%.h: %.h + $(INSTALL_DATA) $< $@ + +$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o + $(INSTALL_DATA) $< $@ + +$(REL): $(rtems_cpu_rel_OBJECTS) + $(make-rel) + +PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%) + +TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o + +all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) \ + $(TMPINSTALL_FILES) + +.PRECIOUS: $(REL) + +EXTRA_DIST = asm.h cpu.c cpu_asm.S rtems.c + +include $(top_srcdir)/../../../../../../automake/subdirs.am +include $(top_srcdir)/../../../../../../automake/local.am |