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