source: rtems/cpukit/score/cpu/h8300/Makefile.am @ 5532553

4.104.114.84.95
Last change on this file since 5532553 was 5532553, checked in by Joel Sherrill <joel.sherrill@…>, on 06/29/00 at 23:00:48

This is the initial addition of the port of RTEMS to the
Hitachi H8 family. This port was done by Philip Quaife
<philip@…> 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@…>.
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.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
7
8SUBDIRS = rtems
9
10C_FILES = cpu.c rtems.c
11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
12
13H_FILES = asm.h
14
15S_FILES = cpu_asm.S
16S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
17
18REL = $(ARCH)/rtems-cpu.rel
19
20include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
21include $(top_srcdir)/../../../../../../automake/lib.am
22
23rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
24
25$(PROJECT_INCLUDE):
26        $(mkinstalldirs) $@
27
28$(PROJECT_INCLUDE)/%.h: %.h
29        $(INSTALL_DATA) $< $@
30
31$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
32        $(INSTALL_DATA) $< $@
33
34$(REL): $(rtems_cpu_rel_OBJECTS)
35        $(make-rel)
36
37PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%)
38
39TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
40
41all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) \
42    $(TMPINSTALL_FILES)
43
44.PRECIOUS: $(REL)
45
46EXTRA_DIST = asm.h cpu.c cpu_asm.S rtems.c
47
48include $(top_srcdir)/../../../../../../automake/subdirs.am
49include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.