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 | include_bsp_HEADERS = |
---|
13 | |
---|
14 | nodist_include_HEADERS = include/bspopts.h |
---|
15 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
16 | DISTCLEANFILES = include/bspopts.h |
---|
17 | noinst_PROGRAMS = |
---|
18 | |
---|
19 | include_HEADERS += include/ep7312.h |
---|
20 | nodist_include_HEADERS += ../../shared/include/coverhd.h |
---|
21 | |
---|
22 | noinst_LIBRARIES = libbspstart.a |
---|
23 | libbspstart_a_SOURCES = start/start.S |
---|
24 | project_lib_DATA = start.$(OBJEXT) |
---|
25 | |
---|
26 | dist_project_lib_DATA += startup/linkcmds |
---|
27 | |
---|
28 | noinst_LIBRARIES += libbsp.a |
---|
29 | libbsp_a_SOURCES = |
---|
30 | |
---|
31 | include_HEADERS += ../../arm/shared/comm/uart.h |
---|
32 | # startup |
---|
33 | libbsp_a_SOURCES += ../../shared/bsppost.c ../../shared/bsplibc.c \ |
---|
34 | ../../shared/bspgetworkarea.c ../../shared/bsppretaskinghook.c \ |
---|
35 | ../../shared/bsppredriverhook.c startup/bspstart.c \ |
---|
36 | ../../shared/bspclean.c ../../shared/bootcard.c ../../shared/sbrk.c \ |
---|
37 | startup/bspreset.c ../../shared/gnatinstallhandler.c |
---|
38 | |
---|
39 | # clock |
---|
40 | libbsp_a_SOURCES += clock/clockdrv.c |
---|
41 | libbsp_a_SOURCES += ../../shared/clockdrv_shell.h |
---|
42 | # console |
---|
43 | libbsp_a_SOURCES += console/uart.c ../../shared/console.c \ |
---|
44 | ../../shared/console_select.c ../../shared/console_control.c \ |
---|
45 | ../../shared/console_read.c ../../shared/console_write.c |
---|
46 | # timer |
---|
47 | libbsp_a_SOURCES += timer/timer.c |
---|
48 | # abort |
---|
49 | libbsp_a_SOURCES += ../shared/abort/abort.c |
---|
50 | |
---|
51 | # irq |
---|
52 | include_bsp_HEADERS += ../../shared/include/irq-generic.h \ |
---|
53 | ../../shared/include/irq-info.h \ |
---|
54 | irq/irq.h |
---|
55 | libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c |
---|
56 | libbsp_a_SOURCES += ../../shared/src/irq-generic.c |
---|
57 | libbsp_a_SOURCES += ../../shared/src/irq-info.c |
---|
58 | libbsp_a_SOURCES += ../../shared/src/irq-legacy.c |
---|
59 | libbsp_a_SOURCES += ../../shared/src/irq-server.c |
---|
60 | libbsp_a_SOURCES += ../../shared/src/irq-shell.c |
---|
61 | libbsp_a_SOURCES += irq/irq.c |
---|
62 | libbsp_a_SOURCES += irq/bsp_irq_asm.S |
---|
63 | |
---|
64 | if HAS_NETWORKING |
---|
65 | network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
66 | noinst_PROGRAMS += network.rel |
---|
67 | network_rel_SOURCES = network/network.c |
---|
68 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS) |
---|
69 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
70 | endif |
---|
71 | |
---|
72 | # libcpu libraries could go here |
---|
73 | libbsp_a_LIBADD = |
---|
74 | if HAS_NETWORKING |
---|
75 | libbsp_a_LIBADD += network.rel |
---|
76 | endif |
---|
77 | |
---|
78 | include $(srcdir)/preinstall.am |
---|
79 | include $(top_srcdir)/../../../../automake/local.am |
---|