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

4.104.11
Last change on this file since 7a592dcd was 7a592dcd, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 23, 2008 at 7:52:21 PM

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

  • Makefile.am, configure.ac: Make letting boot_card() handle work area allocation mandatory. Rename RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION to BSP_BOOTCARD_OPTIONS.
  • Property mode set to 100644
File size: 5.7 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/startup/bspgetworkarea.c \
49        ../../powerpc/shared/showbats.c \
50        ../../powerpc/shared/startup/pretaskinghook.c \
51        ../../shared/bsppredriverhook.c \
52        ../../powerpc/shared/startup/zerobss.c \
53    ../../powerpc/shared/startup/pgtbl_setup.c \
54    ../../powerpc/shared/startup/pgtbl_activate.c \
55    ../../powerpc/shared/startup/sbrk.c ../../shared/bootcard.c \
56    ../../shared/bspclean.c ../../shared/bsplibc.c ../../shared/bsppost.c \
57    ../../shared/gnatinstallhandler.c
58tod_SOURCES = ../../shared/tod.c ../../powerpc/shared/tod/todcfg.c
59pclock_SOURCES = ../../powerpc/shared/clock/p_clock.c
60
61include_bsp_HEADERS = ../../powerpc/shared/console/consoleIo.h
62include_bsp_HEADERS += ../../powerpc/shared/console/uart.h
63
64# Needs conditional compilation
65polledIO_CPPFLAGS = -DSTATIC_LOG_ALLOC
66noinst_PROGRAMS += polledIO.rel
67polledIO_rel_SOURCES = ../../powerpc/shared/console/polled_io.c
68polledIO_rel_CPPFLAGS = $(AM_CPPFLAGS) $(polledIO_CPPFLAGS)
69polledIO_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
70
71console_SOURCES = \
72    ../../powerpc/shared/console/uart.c \
73    ../../powerpc/shared/console/console.c \
74    ../../powerpc/shared/console/inch.c \
75    ../../powerpc/shared/console/bspreset.c \
76    ../../powerpc/shared/console/consoleIo.h \
77    ../../powerpc/shared/console/keyboard.h \
78    ../../powerpc/shared/console/uart.h
79
80include_bsp_HEADERS += ../../powerpc/shared/irq/irq.h \
81        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h \
82        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \
83        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h
84
85irq_SOURCES = ../../powerpc/shared/irq/irq_init.c \
86    ../../powerpc/shared/irq/openpic_i8259_irq.c \
87    ../../powerpc/shared/irq/i8259.c ../../powerpc/shared/irq/irq.h
88
89include_bsp_HEADERS += ../../powerpc/shared/motorola/motorola.h
90motorola_SOURCES = ../../powerpc/shared/motorola/motorola.h \
91    ../../powerpc/shared/motorola/motorola.c
92
93include_bsp_HEADERS += ../../powerpc/shared/openpic/openpic.h
94openpic_SOURCES = ../../powerpc/shared/openpic/openpic.h \
95    ../../powerpc/shared/openpic/openpic.c \
96    ../../powerpc/shared/openpic/openpic.h
97
98include_bsp_HEADERS += ../../powerpc/shared/pci/pci.h
99pci_SOURCES = ../../powerpc/shared/pci/pci.c \
100    ../../powerpc/shared/pci/detect_raven_bridge.c \
101    ../../powerpc/shared/pci/generic_clear_hberrs.c \
102    ../../powerpc/shared/pci/pcifinddevice.c ../../powerpc/shared/pci/pci.h
103
104include_bsp_HEADERS += ../../powerpc/shared/residual/residual.h \
105    ../../powerpc/shared/residual/pnp.h
106residual_SOURCES = ../../powerpc/shared/residual/pnp.h \
107    ../../powerpc/shared/residual/residual.h \
108    ../../powerpc/shared/residual/residual.c
109
110include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h \
111    ../../shared/vmeUniverse/vme_am_defs.h \
112    ../../shared/vmeUniverse/VME.h \
113    ../../powerpc/shared/vme/VMEConfig.h \
114    ../../shared/vmeUniverse/vmeUniverseDMA.h\
115    ../../shared/vmeUniverse/bspVmeDmaList.h\
116    ../../shared/vmeUniverse/VMEDMA.h
117vme_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c \
118    ../../shared/vmeUniverse/bspVmeDmaList.c \
119    ../../shared/vmeUniverse/vmeUniverse.h \
120    ../../shared/vmeUniverse/vme_am_defs.h \
121    ../../shared/vmeUniverse/VME.h \
122    ../../powerpc/shared/vme/vmeconfig.c \
123    ../../powerpc/shared/vme/vme_universe.c \
124    ../../powerpc/shared/vme/VMEConfig.h
125
126noinst_LIBRARIES = libbsp.a
127libbsp_a_SOURCES = $(startup_SOURCES) $(pclock_SOURCES) $(console_SOURCES) \
128    $(irq_SOURCES) $(openpic_SOURCES) $(pci_SOURCES) $(residual_SOURCES) \
129    $(motorola_SOURCES) $(tod_SOURCES) $(vme_SOURCES)
130
131libbsp_a_LIBADD = \
132    polledIO.rel \
133    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
134    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
135    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
136    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
137    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
138    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
139    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
140    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
141    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
142
143EXTRA_DIST += BOOTING README.mtx603e README.MVME2100 README.MVME2300 \
144              README.MVME2400 \
145    README.OTHERBOARDS README.mcp750 README.MVME2307 README.dec21140
146EXTRA_DIST += times.mcp750 times.mvme2307
147
148include $(srcdir)/preinstall.am
149include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.