1 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
2 | EXTRA_DIST = |
---|
3 | |
---|
4 | include $(top_srcdir)/../../../../automake/compile.am |
---|
5 | include $(top_srcdir)/../../bsp.am |
---|
6 | |
---|
7 | dist_project_lib_DATA = startup/bsp_specs |
---|
8 | |
---|
9 | DISTCLEANFILES = include/bspopts.h |
---|
10 | |
---|
11 | |
---|
12 | EXTRA_DIST += start/start.ram start/start.rom |
---|
13 | EXTRA_DIST += start/start.S |
---|
14 | start.$(OBJEXT): start/start.S |
---|
15 | $(CPPASCOMPILE) -o $@ -c $< |
---|
16 | project_lib_DATA = start.$(OBJEXT) |
---|
17 | |
---|
18 | project_lib_DATA += linkcmds |
---|
19 | dist_project_lib_DATA += startup/linkcmds.ram |
---|
20 | dist_project_lib_DATA += startup/linkcmds.rom |
---|
21 | |
---|
22 | noinst_LIBRARIES = libbsp.a |
---|
23 | libbsp_a_SOURCES = |
---|
24 | |
---|
25 | SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen |
---|
26 | |
---|
27 | scitab.c: $(SHGEN) |
---|
28 | $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@ |
---|
29 | BUILT_SOURCES = scitab.c |
---|
30 | CLEANFILES = scitab.c |
---|
31 | |
---|
32 | # startup |
---|
33 | libbsp_a_SOURCES += startup/hw_init.c \ |
---|
34 | ../../shared/bsppredriverhook.c \ |
---|
35 | ../shared/startup/bspstart.c \ |
---|
36 | ../../shared/bspgetworkarea.c ../../shared/sbrk.c ../../shared/bootcard.c \ |
---|
37 | ../../shared/getentropy-cpucounter.c \ |
---|
38 | ../../shared/gnatinstallhandler.c ../../shared/bspclean.c \ |
---|
39 | ../shared/bsphwinit.c |
---|
40 | libbsp_a_SOURCES += ../../shared/bspreset.c |
---|
41 | libbsp_a_SOURCES += clock/ckinit.c |
---|
42 | libbsp_a_SOURCES += startup/cpu_asm.c startup/ispsh7045.c |
---|
43 | libbsp_a_SOURCES += timer/timer.c |
---|
44 | # scitab |
---|
45 | libbsp_a_SOURCES += scitab.c |
---|
46 | # console |
---|
47 | libbsp_a_SOURCES += ../../sh/shared/console.c console/config.c |
---|
48 | libbsp_a_SOURCES += console/sci.c |
---|
49 | libbsp_a_SOURCES += console/sci_termios.c |
---|
50 | # debugio |
---|
51 | libbsp_a_SOURCES += ../../shared/dummy_printk_support.c |
---|
52 | |
---|
53 | # Cache |
---|
54 | libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c |
---|
55 | |
---|
56 | include $(top_srcdir)/../../../../automake/local.am |
---|
57 | include $(srcdir)/../../../../../../bsps/sh/gensh2/headers.am |
---|