source: rtems/c/src/lib/libbsp/powerpc/ep1a/Makefile.am @ fb557a9

4.9
Last change on this file since fb557a9 was fb557a9, checked in by Joel Sherrill <joel.sherrill@…>, on 10/16/09 at 16:42:03

2009-10-16 Jennifer Averett <jennifer@…>

  • Makefile.am, configure.ac, preinstall.am, console/alloc360.c, console/config.c, console/console.c, console/m68360.h, console/mc68360_scc.c, console/rsPMCQ1.c, console/rsPMCQ1.h, include/bsp.h, irq/irq_init.c, irq/openpic_xxx_irq.c, start/start.S, startup/bspstart.c, startup/linkcmds, vme/VMEConfig.h: Updated and tested against RTEMS 4.9. Updated README file to latest source status. Modified to use the shared irq source code. Turned off debugging, cleaned up warnings, removed unused code. Tested with two PMCQ1 serial cards. Tested MC68360 serial ports and VME using external tests.
  • README, irq/irq.h, vme/vmeconfig.c: New files.
  • Property mode set to 100644
File size: 3.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
10dist_project_lib_DATA = bsp_specs
11
12include_HEADERS = include/bsp.h
13include_HEADERS += include/tm27.h
14
15nodist_include_HEADERS = include/bspopts.h
16DISTCLEANFILES = include/bspopts.h
17nodist_include_HEADERS += ../../shared/include/coverhd.h
18
19include_bspdir = $(includedir)/bsp
20
21###
22dist_project_lib_DATA += startup/linkcmds
23
24startup_SOURCES = startup/bspstart.c ../../shared/bootcard.c \
25    ../../shared/bspclean.c ../../shared/bsplibc.c \
26    ../../shared/sbrk.c \
27    ../../shared/gnatinstallhandler.c \
28    ../../powerpc/shared/showbats.c  \
29    ../../shared/bsppost.c ../../shared/bsppredriverhook.c
30
31
32pclock_SOURCES = ../../powerpc/shared/clock/p_clock.c
33console_SOURCES = console/console.c console/ns16550cfg.c \
34    console/mc68360_scc.c console/rsPMCQ1.c console/alloc360.c \
35    console/init68360.c
36
37include_bsp_HEADERS = ../../powerpc/shared/pci/pci.h \
38    ../../powerpc/shared/motorola/motorola.h \
39     ../../powerpc/shared/residual/residual.h \
40    ../../powerpc/shared/residual/pnp.h \
41    ../../powerpc/shared/console/consoleIo.h console/rsPMCQ1.h
42
43pci_SOURCES = pci/no_host_bridge.c ../../powerpc/shared/pci/pci.c \
44        ../../powerpc/shared/pci/pcifinddevice.c
45
46include_bsp_HEADERS += irq/irq.h \
47        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h \
48        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \
49        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h
50
51irq_SOURCES =  irq/irq.h  irq/irq_init.c irq/openpic_xxx_irq.c \
52    ../../powerpc/shared/irq/i8259.c
53   
54include_bsp_HEADERS += ../../powerpc/shared/openpic/openpic.h
55
56openpic_SOURCES = ../../powerpc/shared/openpic/openpic.c
57
58include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h \
59    vme/VMEConfig.h \
60    ../../shared/vmeUniverse/vme_am_defs.h \
61    ../../shared/vmeUniverse/VME.h \
62    ../../shared/vmeUniverse/vmeUniverseDMA.h\
63    ../../shared/vmeUniverse/bspVmeDmaList.h\
64    ../../shared/vmeUniverse/VMEDMA.h
65
66vme_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c \
67    ../../shared/vmeUniverse/bspVmeDmaList.c \
68    vme/vmeconfig.c \
69    ../shared/vme/vme_universe.c \
70    ../../shared/vmeUniverse/vme_am_defs.h
71
72EXTRA_DIST = start/start.S
73start.$(OBJEXT): start/start.S
74        $(CPPASCOMPILE) -o $@ -c $<
75project_lib_DATA = start.$(OBJEXT)
76
77EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
78rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
79        $(CPPASCOMPILE) -o $@ -c $<
80project_lib_DATA += rtems_crti.$(OBJEXT)
81
82EXTRA_DIST += README
83
84noinst_LIBRARIES = libbsp.a
85libbsp_a_SOURCES =  $(pclock_SOURCES) $(console_SOURCES) $(irq_SOURCES) \
86    $(pci_SOURCES) $(vectors_SOURCES) $(startup_SOURCES) \
87    $(openpic_SOURCES) $(vme_SOURCES)
88
89libbsp_a_LIBADD = \
90    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
91    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
92    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
93    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
94    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
95    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
96    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
97    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
98    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
99
100include $(srcdir)/preinstall.am
101include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.