1 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
2 | |
---|
3 | include $(top_srcdir)/../../../../automake/compile.am |
---|
4 | include $(top_srcdir)/../../bsp.am |
---|
5 | |
---|
6 | include_bspdir = $(includedir)/bsp |
---|
7 | |
---|
8 | dist_project_lib_DATA = bsp_specs |
---|
9 | |
---|
10 | include_HEADERS = include/bsp.h |
---|
11 | include_HEADERS += ../../shared/include/tm27.h |
---|
12 | |
---|
13 | nodist_include_HEADERS = include/bspopts.h |
---|
14 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
15 | DISTCLEANFILES = include/bspopts.h |
---|
16 | noinst_PROGRAMS = |
---|
17 | |
---|
18 | EXTRA_DIST = |
---|
19 | |
---|
20 | include_HEADERS += include/bare.h |
---|
21 | include_HEADERS += include/crc.h |
---|
22 | include_HEADERS += include/debugport.h |
---|
23 | include_HEADERS += include/m68302scc.h |
---|
24 | include_HEADERS += include/coverhd.h |
---|
25 | |
---|
26 | # FIXME: Better merge both files into one and use #ifdef GDB_MONITOR_ACTIVE |
---|
27 | if ODS68302_DEBUG |
---|
28 | EXTRA_DIST += start/debugreset.S |
---|
29 | start.$(OBJEXT): start/debugreset.S |
---|
30 | $(CPPASCOMPILE) -o $@ -c $< |
---|
31 | else |
---|
32 | EXTRA_DIST += start/reset.S |
---|
33 | start.$(OBJEXT): start/reset.S |
---|
34 | $(CPPASCOMPILE) -o $@ -c $< |
---|
35 | endif |
---|
36 | |
---|
37 | project_lib_DATA = start.$(OBJEXT) |
---|
38 | |
---|
39 | dist_project_lib_DATA += startup/linkcmds startup/rom startup/debugger |
---|
40 | |
---|
41 | noinst_LIBRARIES = libbsp.a |
---|
42 | libbsp_a_SOURCES = |
---|
43 | |
---|
44 | # startup |
---|
45 | libbsp_a_SOURCES += startup/cpuboot.c startup/crc.c startup/debugport.c \ |
---|
46 | startup/gdb-hooks.c ../../shared/bootcard.c \ |
---|
47 | startup/m68302scc.c startup/m68k-stub.c \ |
---|
48 | ../../shared/bspgetworkarea.c \ |
---|
49 | startup/trace.c ../../shared/gnatinstallhandler.c ../../shared/bsplibc.c \ |
---|
50 | ../../shared/bsppredriverhook.c ../../shared/bsppost.c \ |
---|
51 | ../../shared/bspstart.c ../../shared/bspclean.c ../../shared/sbrk.c \ |
---|
52 | ../../shared/setvec.c |
---|
53 | # clock |
---|
54 | libbsp_a_SOURCES += clock/ckinit.c |
---|
55 | # console |
---|
56 | libbsp_a_SOURCES += console/console.c ../../shared/dummy_printk_support.c |
---|
57 | # timer |
---|
58 | libbsp_a_SOURCES += timer/timer.c timer/timerisr.S |
---|
59 | |
---|
60 | libbsp_a_LIBADD = \ |
---|
61 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
62 | ../../../libcpu/@RTEMS_CPU@/shared/misc.rel |
---|
63 | |
---|
64 | include $(srcdir)/preinstall.am |
---|
65 | include $(top_srcdir)/../../../../automake/local.am |
---|