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

4.115
Last change on this file since dc1c997b was dc1c997b, checked in by Jennifer Averett <Jennifer.Averett@…>, on 05/25/11 at 14:38:45

2011-05-25 Jennifer Averett <Jennifer.Averett@…>

PR 1792/bsps

  • src/lib/libbsp/i386/pc386/Makefile.am, src/lib/libbsp/sparc/erc32/Makefile.am, src/lib/libbsp/sparc/leon2/Makefile.am, src/lib/libbsp/sparc/leon3/Makefile.am: Added a generic smp wait method to sparc and i386 bsps.
  • src/lib/libbsp/shared/smp/bspsmp_wait_for.c: New file.
  • Property mode set to 100644
File size: 4.6 KB
Line 
1##
2## $Id: Makefile.am,v 1.26 2011/03/16 20:05:24 joel Exp
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8
9include_bspdir = $(includedir)/bsp
10
11dist_project_lib_DATA = bsp_specs
12
13include_HEADERS = include/bsp.h
14include_HEADERS += include/tm27.h
15include_HEADERS += include/rasta.h
16include_HEADERS += include/cchip.h
17include_HEADERS += ../../sparc/shared/include/ambapp.h
18include_HEADERS += ../../sparc/shared/include/grspw.h
19include_HEADERS += ../../sparc/shared/include/grspw_pci.h
20include_HEADERS += ../../sparc/shared/include/grspw_rasta.h
21include_HEADERS += ../../sparc/shared/include/occan.h
22include_HEADERS += ../../sparc/shared/include/occan_pci.h
23include_HEADERS += ../../sparc/shared/include/grcan.h
24include_HEADERS += ../../sparc/shared/include/grcan_rasta.h
25include_HEADERS += ../../sparc/shared/include/apbuart.h
26include_HEADERS += ../../sparc/shared/include/apbuart_pci.h
27include_HEADERS += ../../sparc/shared/include/apbuart_rasta.h
28include_HEADERS += ../../sparc/shared/include/b1553brm.h
29include_HEADERS += ../../sparc/shared/include/b1553brm_pci.h
30include_HEADERS += ../../sparc/shared/include/b1553brm_rasta.h
31include_HEADERS += ../../sparc/shared/include/debug_defs.h
32include_HEADERS += ../../sparc/shared/include/pci.h
33
34nodist_include_HEADERS = include/bspopts.h
35nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
36DISTCLEANFILES = include/bspopts.h
37
38noinst_PROGRAMS =
39
40# wrapup is the one that actually builds and installs the library
41# from the individual .rel files built in other directories
42SUBDIRS = . tools
43
44include_HEADERS += include/leon.h
45include_HEADERS += ../../shared/include/coverhd.h
46
47noinst_LIBRARIES = libbspstart.a
48libbspstart_a_SOURCES = ../../sparc/shared/start.S
49project_lib_DATA = start.$(OBJEXT)
50
51dist_project_lib_DATA += startup/linkcmds ../shared/startup/linkcmds.base
52
53noinst_LIBRARIES += libbsp.a
54libbsp_a_SOURCES =
55
56# startup
57libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \
58    ../../shared/bsppost.c ../../shared/bsppredriverhook.c \
59    startup/bspstart.c ../../sparc/shared/bsppretaskinghook.c \
60    ../../sparc/shared/bspgetworkarea.c ../../shared/bootcard.c \
61    ../../shared/sbrk.c startup/setvec.c startup/spurious.c startup/bspidle.c \
62    ../../shared/bspinit.c startup/bspdelay.c
63# ISR Handler
64libbsp_a_SOURCES += ../../sparc/shared/irq_asm.S
65# gnatsupp
66libbsp_a_SOURCES += gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
67# console
68libbsp_a_SOURCES += console/console.c console/debugputs.c
69# clock
70libbsp_a_SOURCES += clock/ckinit.c ../../../shared/clockdrv_shell.h
71# AMBA PnP Scanning
72libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp.c
73# PCI
74libbsp_a_SOURCES += pci/pci.c ../../sparc/shared/pci/pcifinddevice.c
75# RASTA Kit
76libbsp_a_SOURCES += rasta/rasta.c
77# Companion Chip Kit
78libbsp_a_SOURCES += cchip/cchip.c
79# B1553BRM
80libbsp_a_SOURCES += ../../sparc/shared/1553/b1553brm.c \
81    ../../sparc/shared/1553/b1553brm_pci.c \
82    ../../sparc/shared/1553/b1553brm_rasta.c
83# CAN
84libbsp_a_SOURCES += ../../sparc/shared/can/occan.c \
85    ../../sparc/shared/can/occan_pci.c \
86    ../../sparc/shared/can/grcan.c \
87    ../../sparc/shared/can/grcan_rasta.c
88# SpaceWire
89libbsp_a_SOURCES += ../../sparc/shared/spw/grspw.c \
90    ../../sparc/shared/spw/grspw_pci.c ../../sparc/shared/spw/grspw_rasta.c
91# UART (RAW)
92libbsp_a_SOURCES += ../../sparc/shared/uart/apbuart.c \
93    ../../sparc/shared/uart/apbuart_pci.c \
94    ../../sparc/shared/uart/apbuart_rasta.c
95# I2CMST
96include_HEADERS += ../../sparc/shared/include/i2cmst.h
97libbsp_a_SOURCES += ../../sparc/shared/i2c/i2cmst.c
98
99# timer
100libbsp_a_SOURCES += timer/timer.c
101
102if HAS_SMP
103libbsp_a_SOURCES += ../../shared/smp/getcpuid.c ../../shared/smp/smp_stub.c \
104    ../../shared/smp/bspsmp_wait_for.c
105endif
106
107if HAS_NETWORKING
108noinst_PROGRAMS += leon_smc91111.rel
109leon_smc91111_rel_SOURCES = leon_smc91111/leon_smc91111.c
110leon_smc91111_rel_CPPFLAGS = $(AM_CPPFLAGS)
111leon_smc91111_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
112leon_smc91111_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
113endif
114
115if HAS_NETWORKING
116noinst_PROGRAMS += leon_open_eth.rel
117leon_open_eth_rel_SOURCES = leon_open_eth/leon_open_eth.c
118leon_open_eth_rel_CPPFLAGS = $(AM_CPPFLAGS)
119leon_open_eth_rel_CPPFLAGS +=  -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
120leon_open_eth_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
121endif
122
123libbsp_a_LIBADD = \
124    ../../../libcpu/@RTEMS_CPU@/cache.rel \
125    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
126    ../../../libcpu/@RTEMS_CPU@/syscall.rel
127
128if HAS_NETWORKING
129libbsp_a_LIBADD += leon_open_eth.rel
130libbsp_a_LIBADD += leon_smc91111.rel
131endif
132
133EXTRA_DIST = times
134
135include $(srcdir)/preinstall.am
136include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.