1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/../../../../automake/compile.am |
---|
8 | include $(top_srcdir)/../../bsp.am |
---|
9 | |
---|
10 | include_bspdir = $(includedir)/bsp |
---|
11 | |
---|
12 | dist_project_lib_DATA = bsp_specs |
---|
13 | |
---|
14 | include_HEADERS = ../gp32/include/bsp.h |
---|
15 | include_HEADERS += ../gp32/smc/smc.h |
---|
16 | include_HEADERS += ../../shared/include/tm27.h |
---|
17 | |
---|
18 | nodist_include_HEADERS = include/bspopts.h |
---|
19 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
20 | DISTCLEANFILES = include/bspopts.h |
---|
21 | nodist_include_HEADERS += ../../shared/include/coverhd.h |
---|
22 | |
---|
23 | EXTRA_DIST = ../gp32/start/start.S |
---|
24 | start.$(OBJEXT): ../gp32/start/start.S |
---|
25 | $(CPPASCOMPILE) -o $@ -c $< |
---|
26 | project_lib_DATA = start.$(OBJEXT) |
---|
27 | |
---|
28 | dist_project_lib_DATA += startup/linkcmds |
---|
29 | |
---|
30 | noinst_LIBRARIES = libbsp.a |
---|
31 | libbsp_a_SOURCES = |
---|
32 | |
---|
33 | # startup |
---|
34 | libbsp_a_SOURCES += ../../shared/bsplibc.c ../../shared/bsppost.c \ |
---|
35 | ../gp32/startup/bspstart.c ../../shared/bspclean.c \ |
---|
36 | ../gp32/startup/bspreset.c startup/memmap.c \ |
---|
37 | ../../shared/bootcard.c ../../shared/sbrk.c \ |
---|
38 | ../../shared/bsppretaskinghook.c \ |
---|
39 | ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \ |
---|
40 | ../../shared/gnatinstallhandler.c |
---|
41 | # console |
---|
42 | libbsp_a_SOURCES += ../gp32/console/uart.c ../../shared/console.c |
---|
43 | # abort |
---|
44 | libbsp_a_SOURCES += ../shared/abort/abort.c |
---|
45 | # smc |
---|
46 | libbsp_a_SOURCES += ../gp32/smc/smc.c ../gp32/smc/smc.h |
---|
47 | |
---|
48 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel \ |
---|
49 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \ |
---|
50 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \ |
---|
51 | ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel |
---|
52 | |
---|
53 | include $(srcdir)/preinstall.am |
---|
54 | include $(top_srcdir)/../../../../automake/local.am |
---|