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 += include/mmu_405.h |
---|
11 | include_HEADERS += ../../shared/include/tm27.h |
---|
12 | |
---|
13 | nodist_include_HEADERS = include/bspopts.h |
---|
14 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
15 | DISTCLEANFILES = include/bspopts.h |
---|
16 | |
---|
17 | include_HEADERS += include/coverhd.h |
---|
18 | |
---|
19 | noinst_LIBRARIES = libbspstart.a |
---|
20 | libbspstart_a_SOURCES = ../../powerpc/shared/start/rtems_crti.S |
---|
21 | project_lib_DATA = rtems_crti.$(OBJEXT) |
---|
22 | |
---|
23 | dist_project_lib_DATA += startup/linkcmds |
---|
24 | |
---|
25 | noinst_LIBRARIES += libbsp.a |
---|
26 | libbsp_a_SOURCES = |
---|
27 | |
---|
28 | # startup |
---|
29 | libbsp_a_SOURCES += ../../shared/bspclean.c \ |
---|
30 | ../../shared/bspreset_loop.c \ |
---|
31 | startup/bspstart.c ../../shared/bootcard.c \ |
---|
32 | ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \ |
---|
33 | ../../shared/sbrk.c \ |
---|
34 | ../../shared/gnatinstallhandler.c mmu/mmu_405.c mmu/mmu_405asm.S |
---|
35 | |
---|
36 | # dlentry |
---|
37 | libbsp_a_SOURCES += dlentry/dlentry.S |
---|
38 | |
---|
39 | include_bsp_HEADERS = ../../powerpc/shared/console/uart.h \ |
---|
40 | ../../powerpc/shared/console/consoleIo.h |
---|
41 | # console |
---|
42 | libbsp_a_SOURCES += ../../powerpc/shared/console/uart.c \ |
---|
43 | ../../powerpc/shared/console/console.c |
---|
44 | |
---|
45 | include_bsp_HEADERS += irq/irq.h \ |
---|
46 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h |
---|
47 | |
---|
48 | # irq |
---|
49 | libbsp_a_SOURCES += irq/irq_init.c irq/irq.c |
---|
50 | |
---|
51 | if HAS_NETWORKING |
---|
52 | network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
53 | noinst_PROGRAMS = network.rel |
---|
54 | network_rel_SOURCES = network/network.c |
---|
55 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS) |
---|
56 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
57 | endif |
---|
58 | |
---|
59 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
60 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \ |
---|
61 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \ |
---|
62 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
63 | ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
64 | ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel \ |
---|
65 | ../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel |
---|
66 | |
---|
67 | if HAS_NETWORKING |
---|
68 | libbsp_a_LIBADD += network.rel |
---|
69 | endif |
---|
70 | |
---|
71 | include $(srcdir)/preinstall.am |
---|
72 | include $(top_srcdir)/../../../../automake/local.am |
---|