1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
6 | |
---|
7 | # wrapup is the one that actually builds and installs the library |
---|
8 | # from the individual .rel files built in other directories |
---|
9 | SUBDIRS = . bootloader |
---|
10 | |
---|
11 | include $(top_srcdir)/../../../../automake/compile.am |
---|
12 | |
---|
13 | include_bspdir = $(includedir)/bsp |
---|
14 | |
---|
15 | dist_project_lib_DATA = bsp_specs |
---|
16 | |
---|
17 | include_HEADERS = include/bsp.h |
---|
18 | include_HEADERS += include/tm27.h |
---|
19 | |
---|
20 | nodist_include_HEADERS = include/bspopts.h |
---|
21 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
22 | DISTCLEANFILES = include/bspopts.h |
---|
23 | |
---|
24 | noinst_PROGRAMS = |
---|
25 | |
---|
26 | include_HEADERS += ../../powerpc/shared/include/nvram.h |
---|
27 | include_HEADERS += ../../shared/include/coverhd.h |
---|
28 | include_HEADERS += ../../shared/tod.h |
---|
29 | |
---|
30 | noinst_LIBRARIES = libbspstart.a |
---|
31 | libbspstart_a_SOURCES = ../../powerpc/shared/start/start.S |
---|
32 | project_lib_DATA = start.$(OBJEXT) |
---|
33 | |
---|
34 | libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S |
---|
35 | project_lib_DATA += rtems_crti.$(OBJEXT) |
---|
36 | |
---|
37 | libbspstart_a_SOURCES += ../../powerpc/shared/start/vectors_entry.S |
---|
38 | project_lib_DATA += vectors_entry.$(OBJEXT) |
---|
39 | |
---|
40 | dist_project_lib_DATA += ../shared/startup/linkcmds |
---|
41 | |
---|
42 | noinst_LIBRARIES += libbsp.a |
---|
43 | libbsp_a_SOURCES = |
---|
44 | |
---|
45 | # startup |
---|
46 | libbsp_a_SOURCES += ../../powerpc/shared/startup/bspstart.c \ |
---|
47 | ../../powerpc/shared/startup/bspgetworkarea.c \ |
---|
48 | ../../powerpc/shared/showbats.c \ |
---|
49 | ../../powerpc/shared/startup/pretaskinghook.c \ |
---|
50 | ../../shared/bsppredriverhook.c \ |
---|
51 | ../../powerpc/shared/startup/zerobss.c \ |
---|
52 | ../../powerpc/shared/startup/pgtbl_setup.c \ |
---|
53 | ../../powerpc/shared/startup/pgtbl_activate.c \ |
---|
54 | ../../powerpc/shared/startup/sbrk.c ../../shared/bootcard.c \ |
---|
55 | ../../shared/bspclean.c ../../shared/bsplibc.c ../../shared/bsppost.c \ |
---|
56 | ../../shared/gnatinstallhandler.c |
---|
57 | # tod |
---|
58 | libbsp_a_SOURCES += ../../shared/tod.c ../../powerpc/shared/tod/todcfg.c |
---|
59 | # pclock |
---|
60 | libbsp_a_SOURCES += ../../powerpc/shared/clock/p_clock.c |
---|
61 | |
---|
62 | include_bsp_HEADERS = ../../powerpc/shared/console/consoleIo.h |
---|
63 | include_bsp_HEADERS += ../../powerpc/shared/console/uart.h |
---|
64 | |
---|
65 | # Needs conditional compilation |
---|
66 | polledIO_CPPFLAGS = -DSTATIC_LOG_ALLOC |
---|
67 | noinst_PROGRAMS += polledIO.rel |
---|
68 | polledIO_rel_SOURCES = ../../powerpc/shared/console/polled_io.c |
---|
69 | polledIO_rel_CPPFLAGS = $(AM_CPPFLAGS) $(polledIO_CPPFLAGS) |
---|
70 | polledIO_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
71 | |
---|
72 | # console |
---|
73 | libbsp_a_SOURCES += \ |
---|
74 | ../../powerpc/shared/console/uart.c \ |
---|
75 | ../../powerpc/shared/console/console.c \ |
---|
76 | ../../powerpc/shared/console/inch.c \ |
---|
77 | ../../powerpc/shared/console/bspreset.c \ |
---|
78 | ../../powerpc/shared/console/consoleIo.h \ |
---|
79 | ../../powerpc/shared/console/keyboard.h \ |
---|
80 | ../../powerpc/shared/console/uart.h |
---|
81 | |
---|
82 | include_bsp_HEADERS += ../../powerpc/shared/irq/irq.h \ |
---|
83 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h \ |
---|
84 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \ |
---|
85 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h |
---|
86 | |
---|
87 | # irq |
---|
88 | libbsp_a_SOURCES += ../../powerpc/shared/irq/irq_init.c \ |
---|
89 | ../../powerpc/shared/irq/openpic_i8259_irq.c \ |
---|
90 | ../../powerpc/shared/irq/i8259.c ../../powerpc/shared/irq/irq.h |
---|
91 | |
---|
92 | include_bsp_HEADERS += ../../powerpc/shared/motorola/motorola.h |
---|
93 | # motorola |
---|
94 | libbsp_a_SOURCES += ../../powerpc/shared/motorola/motorola.h \ |
---|
95 | ../../powerpc/shared/motorola/motorola.c |
---|
96 | |
---|
97 | include_bsp_HEADERS += ../../powerpc/shared/openpic/openpic.h |
---|
98 | # openpic |
---|
99 | libbsp_a_SOURCES += ../../powerpc/shared/openpic/openpic.h \ |
---|
100 | ../../powerpc/shared/openpic/openpic.c \ |
---|
101 | ../../powerpc/shared/openpic/openpic.h |
---|
102 | |
---|
103 | include_bsp_HEADERS += ../../powerpc/shared/pci/pci.h |
---|
104 | # pci |
---|
105 | libbsp_a_SOURCES += ../../powerpc/shared/pci/pci.c \ |
---|
106 | ../../powerpc/shared/pci/detect_raven_bridge.c \ |
---|
107 | ../../powerpc/shared/pci/generic_clear_hberrs.c \ |
---|
108 | ../../powerpc/shared/pci/pcifinddevice.c ../../powerpc/shared/pci/pci.h |
---|
109 | |
---|
110 | include_bsp_HEADERS += ../../powerpc/shared/residual/residual.h \ |
---|
111 | ../../powerpc/shared/residual/pnp.h |
---|
112 | # residual |
---|
113 | libbsp_a_SOURCES += ../../powerpc/shared/residual/pnp.h \ |
---|
114 | ../../powerpc/shared/residual/residual.h \ |
---|
115 | ../../powerpc/shared/residual/residual.c |
---|
116 | |
---|
117 | include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h \ |
---|
118 | ../../shared/vmeUniverse/vme_am_defs.h \ |
---|
119 | ../../shared/vmeUniverse/VME.h \ |
---|
120 | ../../powerpc/shared/vme/VMEConfig.h \ |
---|
121 | ../../shared/vmeUniverse/vmeUniverseDMA.h\ |
---|
122 | ../../shared/vmeUniverse/bspVmeDmaList.h\ |
---|
123 | ../../shared/vmeUniverse/VMEDMA.h |
---|
124 | # vme |
---|
125 | libbsp_a_SOURCES += ../../shared/vmeUniverse/vmeUniverse.c \ |
---|
126 | ../../shared/vmeUniverse/bspVmeDmaList.c \ |
---|
127 | ../../shared/vmeUniverse/vmeUniverse.h \ |
---|
128 | ../../shared/vmeUniverse/vme_am_defs.h \ |
---|
129 | ../../shared/vmeUniverse/VME.h \ |
---|
130 | ../../powerpc/shared/vme/vmeconfig.c \ |
---|
131 | ../../powerpc/shared/vme/vme_universe.c \ |
---|
132 | ../../powerpc/shared/vme/VMEConfig.h |
---|
133 | |
---|
134 | libbsp_a_LIBADD = \ |
---|
135 | polledIO.rel \ |
---|
136 | ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
137 | ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \ |
---|
138 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
139 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \ |
---|
140 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \ |
---|
141 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \ |
---|
142 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \ |
---|
143 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \ |
---|
144 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel |
---|
145 | |
---|
146 | EXTRA_DIST = BOOTING README.mtx603e README.MVME2100 README.MVME2300 \ |
---|
147 | README.MVME2400 \ |
---|
148 | README.OTHERBOARDS README.mcp750 README.MVME2307 README.dec21140 |
---|
149 | EXTRA_DIST += times.mcp750 times.mvme2307 |
---|
150 | |
---|
151 | include $(srcdir)/preinstall.am |
---|
152 | include $(top_srcdir)/../../../../automake/local.am |
---|