source: rtems/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am @ 5734337

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

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

  • Makefile.am, README.booting, include/bsp.h, startup/bspclean.c, vectors/exceptionhandler.c: 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.
  • startup/bspreset.c: New file.
  • startup/reboot.c: Removed.
  • Property mode set to 100644
File size: 4.4 KB
Line 
1##
2## Makefile.am,v 1.8.4.1 2003/02/20 21:55:34 joel Exp
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../bsp.am
9
10#prevent the compiler from generating FP instructions
11AM_CFLAGS      += -msoft-float
12
13dist_project_lib_DATA = bsp_specs
14
15include_HEADERS = include/bsp.h
16include_HEADERS += include/tm27.h
17
18nodist_include_HEADERS = include/bspopts.h
19DISTCLEANFILES = include/bspopts.h
20nodist_include_HEADERS += ../../shared/include/coverhd.h
21
22noinst_PROGRAMS =
23
24include_bspdir = $(includedir)/bsp
25
26###
27dist_project_lib_DATA += ../shared/startup/linkcmds
28
29# UNUSED
30EXTRA_DIST = startup/bootpstuff.c
31
32startup_SOURCES = startup/bspstart.c \
33    ../../powerpc/shared/startup/pgtbl_setup.c startup/pgtbl_activate.c \
34    ../../powerpc/shared/startup/pretaskinghook.c \
35    ../../powerpc/shared/startup/bspgetworkarea.c \
36    ../../powerpc/shared/startup/sbrk.c ../../shared/bootcard.c \
37    ../../shared/bsppredriverhook.c startup/bspclean.c \
38    ../../shared/bsplibc.c ../../shared/bsppost.c \
39    ../../shared/gnatinstallhandler.c startup/bspreset.c
40pclock_SOURCES = ../../powerpc/shared/clock/p_clock.c
41
42include_bsp_HEADERS = ../../powerpc/shared/console/uart.h
43include_bsp_HEADERS += ../../powerpc/shared/console/consoleIo.h
44console_SOURCES = ../../powerpc/shared/console/uart.c \
45    ../../powerpc/shared/console/console.c
46
47include_bsp_HEADERS += pci/gtpcireg.h pci/pci.h
48pci_SOURCES = pci/pci.c pci/pci_interface.c pci/detect_host_bridge.c \
49    pci/pcifinddevice.c
50
51include_bsp_HEADERS += irq/irq.h
52irq_SOURCES = irq/irq_init.c irq/irq.c
53
54nodist_include_HEADERS += ../../shared/tod.h
55tod_SOURCES = ../../shared/tod.c tod/todcfg.c
56
57include_bsp_HEADERS += vectors/bspException.h
58include_bsp_HEADERS += \
59        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \
60        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h \
61        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h
62
63vectors_SOURCES = vectors/exceptionhandler.c \
64    ../../powerpc/shared/start/vectors_entry.S 
65
66include_bsp_HEADERS += GT64260/bspMvme5500.h GT64260/gtreg.h \
67    GT64260/GT64260TWSI.h GT64260/VPD.h
68GT64260_SOURCES = GT64260/GT64260TWSI.c GT64260/MVME5500I2C.c
69
70include_bsp_HEADERS += ../../shared/vmeUniverse/VME.h vme/VMEConfig.h \
71        ../../shared/vmeUniverse/vmeUniverse.h \
72        ../../shared/vmeUniverse/vmeUniverseDMA.h\
73        ../../shared/vmeUniverse/bspVmeDmaList.h\
74        ../../shared/vmeUniverse/VMEDMA.h \
75        ../../shared/vmeUniverse/vme_am_defs.h
76vme_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c\
77        ../shared/vme/vmeconfig.c ../../shared/vmeUniverse/bspVmeDmaList.c\
78        ../shared/vme/vme_universe.c
79
80if HAS_NETWORKING
81include_bsp_HEADERS += network/if_100MHz/GT64260eth.h \
82    network/if_100MHz/GT64260ethreg.h network/if_1GHz/if_wmreg.h \
83    network/if_1GHz/pcireg.h
84
85network_CPPFLAGS = -D_KERNEL
86noinst_PROGRAMS += network.rel
87network_rel_SOURCES = network/if_100MHz/GT64260eth.c \
88    network/if_1GHz/if_wm.c network/if_1GHz/pci_map.c
89network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
90network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
91endif
92
93EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
94rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
95        $(CPPASCOMPILE) -o $@ -c $<
96project_lib_DATA = rtems_crti.$(OBJEXT)
97
98noinst_PROGRAMS += mvme5500start.$(OBJEXT)
99mvme5500start___OBJEXT__SOURCES = ../shared/start/preload.S start/start.S
100mvme5500start___OBJEXT__CPPFLAGS = $(AM_CPPFLAGS)
101mvme5500start___OBJEXT__LDFLAGS = $(RTEMS_RELLDFLAGS)
102
103project_lib_DATA += mvme5500start.$(OBJEXT)
104
105noinst_LIBRARIES = libbsp.a
106libbsp_a_SOURCES = $(pclock_SOURCES) $(console_SOURCES) $(irq_SOURCES) \
107    $(pci_SOURCES) $(startup_SOURCES) $(tod_SOURCES) $(vectors_SOURCES) \
108    $(GT64260_SOURCES) $(vme_SOURCES)
109
110libbsp_a_LIBADD = \
111    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
112    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
113    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
114    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
115    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
116    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
117    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
118    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
119    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
120    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
121if HAS_NETWORKING
122libbsp_a_LIBADD += network.rel
123endif
124
125include $(srcdir)/preinstall.am
126include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.