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

4.104.11
Last change on this file since ddfaa296 was ddfaa296, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 22, 2008 at 9:50:21 PM

2008-09-22 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, include/bsp.h: Use standardized bsp_cleanup() which can optionally print a message, poll for user to press key, and call bsp_reset(). Using this eliminates the various bsp_cleanup() implementations which had their own implementation and variety of string constants.
  • Property mode set to 100644
File size: 5.6 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_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
9SUBDIRS = . bootloader
10
11include $(top_srcdir)/../../../../automake/compile.am
12include $(top_srcdir)/../../bsp.am
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
20DISTCLEANFILES = include/bspopts.h
21
22noinst_PROGRAMS =
23
24include_bspdir = $(includedir)/bsp
25
26include_HEADERS += ../../powerpc/shared/include/nvram.h
27include_HEADERS += ../../shared/include/coverhd.h
28include_HEADERS += ../../shared/tod.h
29
30EXTRA_DIST = ../../powerpc/shared/start/start.S
31start.$(OBJEXT): ../../powerpc/shared/start/start.S
32        $(CPPASCOMPILE) -o $@ -c $<
33project_lib_DATA = start.$(OBJEXT)
34
35EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
36rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
37        $(CPPASCOMPILE) -o $@ -c $<
38project_lib_DATA += rtems_crti.$(OBJEXT)
39
40EXTRA_DIST += ../../powerpc/shared/start/vectors_entry.S
41vectors_entry.$(OBJEXT): ../../powerpc/shared/start/vectors_entry.S
42        $(CPPASCOMPILE) -o $@ -c $<
43project_lib_DATA += vectors_entry.$(OBJEXT)
44
45dist_project_lib_DATA += ../shared/startup/linkcmds
46
47startup_SOURCES = ../../powerpc/shared/startup/bspstart.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
57tod_SOURCES = ../../shared/tod.c ../../powerpc/shared/tod/todcfg.c
58pclock_SOURCES = ../../powerpc/shared/clock/p_clock.c
59
60include_bsp_HEADERS = ../../powerpc/shared/console/consoleIo.h
61include_bsp_HEADERS += ../../powerpc/shared/console/uart.h
62
63# Needs conditional compilation
64polledIO_CPPFLAGS = -DSTATIC_LOG_ALLOC
65noinst_PROGRAMS += polledIO.rel
66polledIO_rel_SOURCES = ../../powerpc/shared/console/polled_io.c
67polledIO_rel_CPPFLAGS = $(AM_CPPFLAGS) $(polledIO_CPPFLAGS)
68polledIO_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
69
70console_SOURCES = \
71    ../../powerpc/shared/console/uart.c \
72    ../../powerpc/shared/console/console.c \
73    ../../powerpc/shared/console/inch.c \
74    ../../powerpc/shared/console/bspreset.c \
75    ../../powerpc/shared/console/consoleIo.h \
76    ../../powerpc/shared/console/keyboard.h \
77    ../../powerpc/shared/console/uart.h
78
79include_bsp_HEADERS += ../../powerpc/shared/irq/irq.h \
80        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h \
81        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \
82        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h
83
84irq_SOURCES = ../../powerpc/shared/irq/irq_init.c \
85    ../../powerpc/shared/irq/openpic_i8259_irq.c \
86    ../../powerpc/shared/irq/i8259.c ../../powerpc/shared/irq/irq.h
87
88include_bsp_HEADERS += ../../powerpc/shared/motorola/motorola.h
89motorola_SOURCES = ../../powerpc/shared/motorola/motorola.h \
90    ../../powerpc/shared/motorola/motorola.c
91
92include_bsp_HEADERS += ../../powerpc/shared/openpic/openpic.h
93openpic_SOURCES = ../../powerpc/shared/openpic/openpic.h \
94    ../../powerpc/shared/openpic/openpic.c \
95    ../../powerpc/shared/openpic/openpic.h
96
97include_bsp_HEADERS += ../../powerpc/shared/pci/pci.h
98pci_SOURCES = ../../powerpc/shared/pci/pci.c \
99    ../../powerpc/shared/pci/detect_raven_bridge.c \
100    ../../powerpc/shared/pci/generic_clear_hberrs.c \
101    ../../powerpc/shared/pci/pcifinddevice.c ../../powerpc/shared/pci/pci.h
102
103include_bsp_HEADERS += ../../powerpc/shared/residual/residual.h \
104    ../../powerpc/shared/residual/pnp.h
105residual_SOURCES = ../../powerpc/shared/residual/pnp.h \
106    ../../powerpc/shared/residual/residual.h \
107    ../../powerpc/shared/residual/residual.c
108
109include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h \
110    ../../shared/vmeUniverse/vme_am_defs.h \
111    ../../shared/vmeUniverse/VME.h \
112    ../../powerpc/shared/vme/VMEConfig.h \
113    ../../shared/vmeUniverse/vmeUniverseDMA.h\
114    ../../shared/vmeUniverse/bspVmeDmaList.h\
115    ../../shared/vmeUniverse/VMEDMA.h
116vme_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c \
117    ../../shared/vmeUniverse/bspVmeDmaList.c \
118    ../../shared/vmeUniverse/vmeUniverse.h \
119    ../../shared/vmeUniverse/vme_am_defs.h \
120    ../../shared/vmeUniverse/VME.h \
121    ../../powerpc/shared/vme/vmeconfig.c \
122    ../../powerpc/shared/vme/vme_universe.c \
123    ../../powerpc/shared/vme/VMEConfig.h
124
125noinst_LIBRARIES = libbsp.a
126libbsp_a_SOURCES = $(startup_SOURCES) $(pclock_SOURCES) $(console_SOURCES) \
127    $(irq_SOURCES) $(openpic_SOURCES) $(pci_SOURCES) $(residual_SOURCES) \
128    $(motorola_SOURCES) $(tod_SOURCES) $(vme_SOURCES)
129
130libbsp_a_LIBADD = \
131    polledIO.rel \
132    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
133    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
134    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
135    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
136    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
137    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
138    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
139    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
140    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
141
142EXTRA_DIST += BOOTING README.mtx603e README.MVME2100 README.MVME2300 \
143              README.MVME2400 \
144    README.OTHERBOARDS README.mcp750 README.MVME2307 README.dec21140
145EXTRA_DIST += times.mcp750 times.mvme2307
146
147include $(srcdir)/preinstall.am
148include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.