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

Last change on this file since 33a2faa was 33a2faa, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 7:04:06 AM

bsps: Add EXTRA_DIST to all BSP Makefile.am

This makes it possible to easily use

EXTRA_DIST += foobar

in fragments.

Update #3254.

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