source: rtems/c/src/lib/libbsp/sparc/leon2/Makefile.am @ 64a04ac

4.115
Last change on this file since 64a04ac was 64a04ac, checked in by Sebastian Huber <sebastian.huber@…>, on May 12, 2014 at 6:53:11 AM

bsps: Use standard file name for BSP support

  • Property mode set to 100644
File size: 5.8 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4
5include_bspdir = $(includedir)/bsp
6
7dist_project_lib_DATA = bsp_specs
8
9include_HEADERS = include/bsp.h
10include_HEADERS += include/tm27.h
11include_HEADERS += include/rasta.h
12include_HEADERS += include/cchip.h
13include_HEADERS += ../../sparc/shared/include/grspw.h
14include_HEADERS += ../../sparc/shared/include/grspw_pci.h
15include_HEADERS += ../../sparc/shared/include/grspw_rasta.h
16include_HEADERS += ../../sparc/shared/include/occan.h
17include_HEADERS += ../../sparc/shared/include/occan_pci.h
18include_HEADERS += ../../sparc/shared/include/grcan.h
19include_HEADERS += ../../sparc/shared/include/grcan_rasta.h
20include_HEADERS += ../../sparc/shared/include/apbuart.h
21include_HEADERS += ../../sparc/shared/include/apbuart_pci.h
22include_HEADERS += ../../sparc/shared/include/apbuart_rasta.h
23include_HEADERS += ../../sparc/shared/include/b1553brm.h
24include_HEADERS += ../../sparc/shared/include/b1553brm_pci.h
25include_HEADERS += ../../sparc/shared/include/b1553brm_rasta.h
26include_HEADERS += ../../sparc/shared/include/debug_defs.h
27include_HEADERS += ../../sparc/shared/include/pci.h
28
29nodist_include_HEADERS = include/bspopts.h
30nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
31DISTCLEANFILES = include/bspopts.h
32
33noinst_PROGRAMS =
34
35include_HEADERS += include/leon.h
36include_HEADERS += ../../shared/include/coverhd.h
37
38noinst_LIBRARIES = libbspstart.a
39libbspstart_a_SOURCES = ../../sparc/shared/start/start.S
40project_lib_DATA = start.$(OBJEXT)
41
42dist_project_lib_DATA += startup/linkcmds ../shared/startup/linkcmds.base
43
44noinst_LIBRARIES += libbsp.a
45libbsp_a_SOURCES =
46
47# startup
48libbsp_a_SOURCES += ../../shared/bspclean.c
49libbsp_a_SOURCES += ../../shared/bsplibc.c
50libbsp_a_SOURCES += ../../shared/bsppost.c
51libbsp_a_SOURCES += startup/bsppredriver.c
52libbsp_a_SOURCES += startup/bspstart.c
53libbsp_a_SOURCES += ../../sparc/shared/bsppretaskinghook.c
54libbsp_a_SOURCES += ../../sparc/shared/startup/bspgetworkarea.c
55libbsp_a_SOURCES += ../../shared/bootcard.c
56libbsp_a_SOURCES += ../../shared/sbrk.c
57libbsp_a_SOURCES += startup/setvec.c
58libbsp_a_SOURCES += startup/spurious.c
59libbsp_a_SOURCES += startup/bspidle.c
60libbsp_a_SOURCES += ../../shared/bspinit.c
61libbsp_a_SOURCES += startup/bspdelay.c
62libbsp_a_SOURCES += ../../sparc/shared/startup/early_malloc.c
63
64# ISR Handler
65libbsp_a_SOURCES += ../../sparc/shared/irq_asm.S
66# gnatsupp
67libbsp_a_SOURCES += gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
68include_bsp_HEADERS = ../shared/include/gnatcommon.h
69# console
70libbsp_a_SOURCES += console/console.c console/debugputs.c
71# clock
72libbsp_a_SOURCES += clock/ckinit.c
73libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
74# IRQ
75include_bsp_HEADERS += \
76    ../../shared/include/irq-generic.h \
77    ../../shared/include/irq-info.h \
78    include/bsp/irq.h
79libbsp_a_SOURCES += \
80    ../../sparc/shared/irq/irq-shared.c \
81    ../../shared/src/irq-default-handler.c \
82    ../../shared/src/irq-generic.c \
83    ../../shared/src/irq-info.c \
84    ../../shared/src/irq-legacy.c \
85    ../../shared/src/irq-server.c \
86    ../../shared/src/irq-shell.c
87
88# AMBA bus
89include_HEADERS += ../../sparc/shared/include/ambapp.h
90include_HEADERS += ../../sparc/shared/include/ambapp_ids.h
91include_HEADERS += ../../sparc/shared/include/grlib.h
92libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp.c
93libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_alloc.c
94libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_count.c
95libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_depth.c
96libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_find_by_idx.c
97libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_freq.c
98libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_parent.c
99libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_old.c
100libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_names.c
101libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_show.c
102# PCI
103libbsp_a_SOURCES += pci/pci.c ../../sparc/shared/pci/pcifinddevice.c
104# RASTA Kit
105libbsp_a_SOURCES += rasta/rasta.c
106# Companion Chip Kit
107libbsp_a_SOURCES += cchip/cchip.c
108# B1553BRM
109libbsp_a_SOURCES += ../../sparc/shared/1553/b1553brm.c \
110    ../../sparc/shared/1553/b1553brm_pci.c \
111    ../../sparc/shared/1553/b1553brm_rasta.c
112# CAN
113libbsp_a_SOURCES += ../../sparc/shared/can/occan.c \
114    ../../sparc/shared/can/occan_pci.c \
115    ../../sparc/shared/can/grcan.c \
116    ../../sparc/shared/can/grcan_rasta.c
117# SpaceWire
118libbsp_a_SOURCES += ../../sparc/shared/spw/grspw.c \
119    ../../sparc/shared/spw/grspw_pci.c ../../sparc/shared/spw/grspw_rasta.c
120# UART (RAW)
121libbsp_a_SOURCES += ../../sparc/shared/uart/apbuart.c \
122    ../../sparc/shared/uart/apbuart_pci.c \
123    ../../sparc/shared/uart/apbuart_rasta.c
124# I2CMST
125include_HEADERS += ../../sparc/shared/include/i2cmst.h
126libbsp_a_SOURCES += ../../sparc/shared/i2c/i2cmst.c
127
128# timer
129libbsp_a_SOURCES += timer/timer.c
130
131if HAS_SMP
132libbsp_a_SOURCES += ../../shared/bspsmp.c
133libbsp_a_SOURCES += ../../shared/bspsmpgetcurrentprocessor.c
134endif
135
136if HAS_NETWORKING
137noinst_PROGRAMS += leon_smc91111.rel
138leon_smc91111_rel_SOURCES = leon_smc91111/leon_smc91111.c
139leon_smc91111_rel_CPPFLAGS = $(AM_CPPFLAGS)
140leon_smc91111_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
141leon_smc91111_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
142endif
143
144if HAS_NETWORKING
145noinst_PROGRAMS += leon_open_eth.rel
146leon_open_eth_rel_SOURCES = leon_open_eth/leon_open_eth.c
147leon_open_eth_rel_CPPFLAGS = $(AM_CPPFLAGS)
148leon_open_eth_rel_CPPFLAGS +=  -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
149leon_open_eth_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
150endif
151
152libbsp_a_LIBADD = \
153    ../../../libcpu/@RTEMS_CPU@/access.rel \
154    ../../../libcpu/@RTEMS_CPU@/cache.rel \
155    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
156    ../../../libcpu/@RTEMS_CPU@/syscall.rel
157
158if HAS_NETWORKING
159libbsp_a_LIBADD += leon_open_eth.rel
160libbsp_a_LIBADD += leon_smc91111.rel
161endif
162
163EXTRA_DIST = times
164
165include $(srcdir)/preinstall.am
166include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.