1 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
2 | |
---|
3 | include $(top_srcdir)/../../../../automake/compile.am |
---|
4 | |
---|
5 | include_bspdir = $(includedir)/bsp |
---|
6 | |
---|
7 | dist_project_lib_DATA = bsp_specs |
---|
8 | |
---|
9 | include_HEADERS = include/bsp.h |
---|
10 | include_HEADERS += ../../shared/include/tm27.h |
---|
11 | |
---|
12 | nodist_include_HEADERS = include/bspopts.h |
---|
13 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
14 | DISTCLEANFILES = include/bspopts.h |
---|
15 | |
---|
16 | include_HEADERS += include/coverhd.h |
---|
17 | |
---|
18 | EXTRA_DIST = start/start.ram start/start.rom |
---|
19 | noinst_LIBRARIES = libbspstart.a |
---|
20 | libbspstart_a_SOURCES = start/start.S |
---|
21 | project_lib_DATA = start.$(OBJEXT) |
---|
22 | |
---|
23 | dist_project_lib_DATA += startup/linkcmds startup/linkcmds.ram \ |
---|
24 | startup/linkcmds.rom |
---|
25 | |
---|
26 | noinst_LIBRARIES += libbsp.a |
---|
27 | libbsp_a_SOURCES = |
---|
28 | |
---|
29 | SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen |
---|
30 | |
---|
31 | scitab.c: $(SHGEN) |
---|
32 | $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@ |
---|
33 | BUILT_SOURCES = scitab.c |
---|
34 | CLEANFILES = scitab.c |
---|
35 | |
---|
36 | # startup |
---|
37 | libbsp_a_SOURCES += startup/hw_init.c ../../shared/bsplibc.c \ |
---|
38 | ../../shared/bsppost.c ../../shared/bsppredriverhook.c \ |
---|
39 | ../shared/startup/bspstart.c \ |
---|
40 | ../../shared/bspgetworkarea.c ../../shared/sbrk.c ../../shared/bootcard.c \ |
---|
41 | ../../shared/gnatinstallhandler.c ../../shared/bspclean.c \ |
---|
42 | ../shared/bsphwinit.c |
---|
43 | # scitab |
---|
44 | libbsp_a_SOURCES += scitab.c |
---|
45 | # console |
---|
46 | libbsp_a_SOURCES += ../../sh/shared/console.c console/config.c |
---|
47 | # debugio |
---|
48 | libbsp_a_SOURCES += ../../shared/dummy_printk_support.c |
---|
49 | |
---|
50 | libbsp_a_LIBADD = \ |
---|
51 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \ |
---|
52 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \ |
---|
53 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/sci.rel \ |
---|
54 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/score.rel \ |
---|
55 | ../../../libcpu/@RTEMS_CPU@/cache.rel |
---|
56 | |
---|
57 | include $(srcdir)/preinstall.am |
---|
58 | include $(top_srcdir)/../../../../automake/local.am |
---|