1 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
2 | EXTRA_DIST = |
---|
3 | |
---|
4 | include $(top_srcdir)/../../../../automake/compile.am |
---|
5 | include $(top_srcdir)/../../bsp.am |
---|
6 | |
---|
7 | include_shdir = $(includedir)/sh |
---|
8 | include_rtems_scoredir = $(includedir)/rtems/score |
---|
9 | include_bspdir = $(includedir)/bsp |
---|
10 | |
---|
11 | dist_project_lib_DATA = bsp_specs |
---|
12 | |
---|
13 | include_HEADERS = include/bsp.h |
---|
14 | include_HEADERS += include/tm27.h |
---|
15 | |
---|
16 | include_sh_HEADERS = include/sh/io_types.h |
---|
17 | include_sh_HEADERS += include/sh/sci.h |
---|
18 | include_sh_HEADERS += include/sh/sh7_pfc.h |
---|
19 | include_sh_HEADERS += include/sh/sh7_sci.h |
---|
20 | include_sh_HEADERS += include/sh/sci_termios.h |
---|
21 | |
---|
22 | include_rtems_score_HEADERS = include/rtems/score/ispsh7045.h |
---|
23 | include_rtems_score_HEADERS += include/rtems/score/iosh7045.h |
---|
24 | |
---|
25 | nodist_include_HEADERS = include/bspopts.h |
---|
26 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
27 | DISTCLEANFILES = include/bspopts.h |
---|
28 | |
---|
29 | |
---|
30 | EXTRA_DIST += start/start.ram start/start.rom |
---|
31 | EXTRA_DIST += start/start.S |
---|
32 | start.$(OBJEXT): start/start.S |
---|
33 | $(CPPASCOMPILE) -o $@ -c $< |
---|
34 | project_lib_DATA = start.$(OBJEXT) |
---|
35 | |
---|
36 | dist_project_lib_DATA += startup/linkcmds startup/linkcmds.ram \ |
---|
37 | startup/linkcmds.rom |
---|
38 | |
---|
39 | noinst_LIBRARIES = libbsp.a |
---|
40 | libbsp_a_SOURCES = |
---|
41 | |
---|
42 | SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen |
---|
43 | |
---|
44 | scitab.c: $(SHGEN) |
---|
45 | $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@ |
---|
46 | BUILT_SOURCES = scitab.c |
---|
47 | CLEANFILES = scitab.c |
---|
48 | |
---|
49 | # startup |
---|
50 | libbsp_a_SOURCES += startup/hw_init.c \ |
---|
51 | ../../shared/bsppredriverhook.c \ |
---|
52 | ../shared/startup/bspstart.c \ |
---|
53 | ../../shared/bspgetworkarea.c ../../shared/sbrk.c ../../shared/bootcard.c \ |
---|
54 | ../../shared/getentropy-cpucounter.c \ |
---|
55 | ../../shared/gnatinstallhandler.c ../../shared/bspclean.c \ |
---|
56 | ../shared/bsphwinit.c |
---|
57 | libbsp_a_SOURCES += ../../shared/bspreset.c |
---|
58 | libbsp_a_SOURCES += clock/ckinit.c |
---|
59 | libbsp_a_SOURCES += startup/cpu_asm.c startup/ispsh7045.c |
---|
60 | libbsp_a_SOURCES += timer/timer.c |
---|
61 | # scitab |
---|
62 | libbsp_a_SOURCES += scitab.c |
---|
63 | # console |
---|
64 | libbsp_a_SOURCES += ../../sh/shared/console.c console/config.c |
---|
65 | libbsp_a_SOURCES += console/sci.c |
---|
66 | libbsp_a_SOURCES += console/sci_termios.c |
---|
67 | # debugio |
---|
68 | libbsp_a_SOURCES += ../../shared/dummy_printk_support.c |
---|
69 | |
---|
70 | # Cache |
---|
71 | libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c |
---|
72 | libbsp_a_SOURCES += ../../shared/include/cache_.h |
---|
73 | libbsp_a_CPPFLAGS = -I$(srcdir)/../../shared/include |
---|
74 | |
---|
75 | include $(srcdir)/preinstall.am |
---|
76 | include $(top_srcdir)/../../../../automake/local.am |
---|