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

5
Last change on this file since 010bf86 was 010bf86, checked in by Chris Johns <chrisj@…>, on Jan 4, 2018 at 7:54:29 AM

bsps/powerpc: Use public include path

Update #3254.

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