source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am @ f3ce8f41

Last change on this file since f3ce8f41 was f3ce8f41, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 7:00:02 AM

bsps: Include bsp.am in all BSP Makefile.am

Update #3254.

  • Property mode set to 100644
File size: 6.0 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3_SUBDIRS  = .
4_SUBDIRS += bootloader
5if QEMU
6_SUBDIRS += qemu_fakerom
7endif
8
9include $(top_srcdir)/../../../../automake/compile.am
10include $(top_srcdir)/../../bsp.am
11
12include_bspdir = $(includedir)/bsp
13
14dist_project_lib_DATA = bsp_specs
15
16include_HEADERS = include/bsp.h
17include_HEADERS += include/tm27.h
18
19nodist_include_HEADERS = include/bspopts.h
20nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
21DISTCLEANFILES = include/bspopts.h
22
23noinst_PROGRAMS =
24
25include_HEADERS += ../../powerpc/shared/include/nvram.h
26
27noinst_LIBRARIES = libbspstart.a
28libbspstart_a_SOURCES = ../../powerpc/shared/start/start.S
29project_lib_DATA = start.$(OBJEXT)
30
31libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S
32project_lib_DATA += rtems_crti.$(OBJEXT)
33
34libbspstart_a_SOURCES += ../../powerpc/shared/start/vectors_entry.S
35project_lib_DATA += vectors_entry.$(OBJEXT)
36
37dist_project_lib_DATA += ../shared/startup/linkcmds.share
38dist_project_lib_DATA += startup/linkcmds
39
40noinst_LIBRARIES += libbsp.a
41libbsp_a_SOURCES =
42
43# startup
44libbsp_a_SOURCES += ../../powerpc/shared/startup/bspstart.c \
45        ../../powerpc/shared/startup/bspgetworkarea.c \
46        ../../powerpc/shared/showbats.c \
47    ../../powerpc/shared/startup/bsppredriverhook.c \
48        ../../powerpc/shared/startup/zerobss.c \
49    ../../powerpc/shared/startup/pgtbl_setup.c \
50    ../../powerpc/shared/startup/pgtbl_activate.c \
51        ../../powerpc/shared/startup/ppc_idle.c \
52    ../../powerpc/shared/startup/sbrk.c ../../shared/bootcard.c \
53    ../../shared/getentropy-cpucounter.c \
54    ../../shared/bspclean.c \
55    ../../shared/gnatinstallhandler.c \
56    startup/bspreset.c
57
58
59# tod
60libbsp_a_SOURCES += ../../shared/tod.c ../../powerpc/shared/tod/todcfg.c
61# pclock
62libbsp_a_SOURCES += ../../powerpc/shared/clock/p_clock.c
63
64include_bsp_HEADERS = ../../powerpc/shared/console/consoleIo.h
65include_bsp_HEADERS += ../../powerpc/shared/console/uart.h
66
67# Needs conditional compilation
68polledIO_CPPFLAGS = -DSTATIC_LOG_ALLOC
69noinst_PROGRAMS += polledIO.rel
70polledIO_rel_SOURCES = ../../powerpc/shared/console/polled_io.c
71polledIO_rel_CPPFLAGS = $(AM_CPPFLAGS) $(polledIO_CPPFLAGS)
72polledIO_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
73
74# console
75libbsp_a_SOURCES += ../../powerpc/shared/console/uart.c
76libbsp_a_SOURCES += ../../powerpc/shared/console/console.c
77libbsp_a_SOURCES += ../../powerpc/shared/console/consoleIo.h
78libbsp_a_SOURCES += ../../powerpc/shared/console/keyboard.h
79libbsp_a_SOURCES += ../../powerpc/shared/console/uart.h
80
81include_bsp_HEADERS += ../../powerpc/shared/irq/irq.h \
82        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h
83
84# irq
85libbsp_a_SOURCES += ../../powerpc/shared/irq/irq_init.c
86libbsp_a_SOURCES += ../../powerpc/shared/irq/openpic_i8259_irq.c
87libbsp_a_SOURCES += ../../powerpc/shared/irq/i8259.c ../../powerpc/shared/irq/irq.h
88
89include_bsp_HEADERS += ../../powerpc/shared/motorola/motorola.h
90# motorola
91libbsp_a_SOURCES += ../../powerpc/shared/motorola/motorola.h
92libbsp_a_SOURCES += ../../powerpc/shared/motorola/motorola.c
93
94include_bsp_HEADERS += ../../powerpc/shared/openpic/openpic.h
95# openpic
96libbsp_a_SOURCES += ../../powerpc/shared/openpic/openpic.h
97libbsp_a_SOURCES += ../../powerpc/shared/openpic/openpic.c
98libbsp_a_SOURCES += ../../powerpc/shared/openpic/openpic.h
99
100include_bsp_HEADERS += ../../powerpc/shared/pci/pci.h
101# pci
102libbsp_a_SOURCES += ../../powerpc/shared/pci/pci.c
103libbsp_a_SOURCES += ../../powerpc/shared/pci/detect_raven_bridge.c
104libbsp_a_SOURCES += ../../powerpc/shared/pci/generic_clear_hberrs.c
105libbsp_a_SOURCES += ../../powerpc/shared/pci/pcifinddevice.c
106libbsp_a_SOURCES += ../../powerpc/shared/pci/pci.h
107
108include_bsp_HEADERS += ../../powerpc/shared/residual/residual.h \
109    ../../powerpc/shared/residual/pnp.h
110# residual
111libbsp_a_SOURCES += ../../powerpc/shared/residual/pnp.h
112libbsp_a_SOURCES += ../../powerpc/shared/residual/residual.h
113libbsp_a_SOURCES += ../../powerpc/shared/residual/residual.c
114
115include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h \
116    ../../shared/vmeUniverse/vme_am_defs.h \
117    ../../shared/vmeUniverse/VME.h \
118    ../../powerpc/shared/vme/VMEConfig.h \
119    ../../shared/vmeUniverse/vmeUniverseDMA.h\
120    ../../shared/vmeUniverse/bspVmeDmaList.h\
121    ../../shared/vmeUniverse/VMEDMA.h
122# vme
123libbsp_a_SOURCES += ../../shared/vmeUniverse/vmeUniverse.c
124libbsp_a_SOURCES += ../../shared/vmeUniverse/bspVmeDmaList.c
125libbsp_a_SOURCES += ../../shared/vmeUniverse/vmeUniverse.h
126libbsp_a_SOURCES += ../../shared/vmeUniverse/vme_am_defs.h
127libbsp_a_SOURCES += ../../shared/vmeUniverse/VME.h
128libbsp_a_SOURCES += ../../powerpc/shared/vme/vmeconfig.c
129libbsp_a_SOURCES += ../../powerpc/shared/vme/vme_universe.c
130libbsp_a_SOURCES += ../../powerpc/shared/vme/VMEConfig.h
131
132if QEMU
133if HAS_NETWORKING
134nodist_include_HEADERS  += $(srcdir)/../../i386/pc386/include/wd80x3.h
135ne2000_CPPFLAGS          = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
136ne2000_CPPFLAGS         += '-Dbsp_cmdline_arg=rtems_bsp_cmdline_get_param_raw'
137noinst_PROGRAMS         += ne2000.rel
138ne2000_rel_SOURCES       = ../../i386/pc386/ne2000/ne2000.c
139ne2000_rel_CPPFLAGS      = $(AM_CPPFLAGS) $(ne2000_CPPFLAGS)
140ne2000_rel_LDFLAGS       = $(RTEMS_RELLDFLAGS)
141endif
142endif
143
144libbsp_a_LIBADD = \
145    polledIO.rel \
146    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
147    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
148    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
149    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
150    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
151    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
152    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
153    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
154    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel \
155    ../../../libcpu/@RTEMS_CPU@/mpc6xx/altivec.rel
156
157if QEMU
158if HAS_NETWORKING
159libbsp_a_LIBADD+=ne2000.rel
160endif
161endif
162
163EXTRA_DIST = BOOTING README.mtx603e README.MVME2100 README.MVME2300 \
164              README.MVME2400 \
165    README.OTHERBOARDS
166EXTRA_DIST += README.dec21140
167EXTRA_DIST += times.mcp750 times.mvme2307
168
169include $(srcdir)/preinstall.am
170include $(top_srcdir)/../../../../automake/local.am
171include $(top_srcdir)/../../../../automake/subdirs.am
Note: See TracBrowser for help on using the repository browser.