source: rtems/c/src/lib/libbsp/sparc/leon3/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.4 KB
Line 
1##
2## $Id: Makefile.am,v 1.30 2011/03/16 20:05:26 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 += ../../sparc/shared/include/debug_defs.h
16
17nodist_include_HEADERS = include/bspopts.h
18nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
19DISTCLEANFILES = include/bspopts.h
20
21noinst_PROGRAMS =
22
23# wrapup is the one that actually builds and installs the library
24# from the individual .rel files built in other directories
25SUBDIRS = . tools
26
27include_HEADERS += include/leon.h
28include_HEADERS += ../../shared/include/coverhd.h
29
30noinst_LIBRARIES = libbspstart.a
31libbspstart_a_SOURCES = ../../sparc/shared/start.S
32project_lib_DATA = start.$(OBJEXT)
33
34dist_project_lib_DATA += startup/linkcmds ../shared/startup/linkcmds.base
35
36noinst_LIBRARIES += libbsp.a
37libbsp_a_SOURCES =
38
39# startup
40libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \
41    ../../shared/bsppost.c ../../shared/bootcard.c startup/bspstart.c \
42    ../../sparc/shared/bsppretaskinghook.c ../../shared/bsppredriverhook.c \
43    ../../sparc/shared/bspgetworkarea.c ../../shared/sbrk.c startup/setvec.c \
44    startup/spurious.c startup/bspidle.S startup/bspdelay.c \
45    ../../shared/bspinit.c
46
47# ISR Handler
48libbsp_a_SOURCES += ../../sparc/shared/irq_asm.S
49# gnatsupp
50libbsp_a_SOURCES += gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
51# amba
52include_HEADERS += include/amba.h
53include_HEADERS += ../../sparc/shared/include/ambapp.h
54libbsp_a_SOURCES += amba/amba.c ../../sparc/shared/amba/ambapp.c
55# console
56libbsp_a_SOURCES += console/console.c
57# debugio
58libbsp_a_SOURCES += console/debugputs.c
59# clock
60libbsp_a_SOURCES += clock/ckinit.c ../../../shared/clockdrv_shell.h
61# PCI
62include_HEADERS += ../../sparc/shared/include/pci.h
63libbsp_a_SOURCES += pci/pci.c ../../sparc/shared/pci/pcifinddevice.c
64
65# B1553BRM
66include_HEADERS += ../../sparc/shared/include/b1553brm.h \
67    ../../sparc/shared/include/b1553brm_pci.h
68libbsp_a_SOURCES += ../../sparc/shared/1553/b1553brm.c \
69    ../../sparc/shared/1553/b1553brm_pci.c
70
71# CAN
72include_HEADERS += ../../sparc/shared/include/occan.h \
73    ../../sparc/shared/include/occan_pci.h ../../sparc/shared/include/grcan.h
74libbsp_a_SOURCES += ../../sparc/shared/can/occan.c \
75    ../../sparc/shared/can/occan_pci.c  ../../sparc/shared/can/grcan.c
76
77# SpaceWire
78include_HEADERS += ../../sparc/shared/include/grspw.h \
79    ../../sparc/shared/include/grspw_pci.h
80libbsp_a_SOURCES += ../../sparc/shared/spw/grspw.c \
81    ../../sparc/shared/spw/grspw_pci.c
82
83# UART
84include_HEADERS += ../../sparc/shared/include/apbuart.h \
85    ../../sparc/shared/include/apbuart_pci.h
86libbsp_a_SOURCES += ../../sparc/shared/uart/apbuart.c \
87    ../../sparc/shared/uart/apbuart_pci.c
88
89# I2CMST
90include_HEADERS += ../../sparc/shared/include/i2cmst.h
91libbsp_a_SOURCES += ../../sparc/shared/i2c/i2cmst.c
92
93# timer
94libbsp_a_SOURCES += timer/timer.c
95
96if HAS_SMP
97libbsp_a_SOURCES += ../../shared/smp/getcpuid.c ../../shared/smp/smp_stub.c \
98    ../../shared/smp/bspsmp_wait_for.c
99endif
100
101if HAS_NETWORKING
102noinst_PROGRAMS += leon_smc91111.rel
103leon_smc91111_rel_SOURCES = leon_smc91111/leon_smc91111.c
104leon_smc91111_rel_CPPFLAGS = $(AM_CPPFLAGS)
105leon_smc91111_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
106leon_smc91111_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
107endif
108
109if HAS_NETWORKING
110noinst_PROGRAMS += leon_open_eth.rel
111leon_open_eth_rel_SOURCES = leon_open_eth/leon_open_eth.c
112leon_open_eth_rel_CPPFLAGS = $(AM_CPPFLAGS)
113leon_open_eth_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
114leon_open_eth_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
115endif
116
117if HAS_NETWORKING
118noinst_PROGRAMS += leon_greth.rel
119leon_greth_rel_SOURCES = leon_greth/leon_greth.c
120leon_greth_rel_CPPFLAGS = $(AM_CPPFLAGS)
121leon_greth_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
122leon_greth_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
123endif
124
125EXTRA_DIST = shmsupp/README
126if HAS_MP
127# shmsupp
128libbsp_a_SOURCES += shmsupp/addrconv.c shmsupp/getcfg.c shmsupp/lock.c \
129    shmsupp/mpisr.c
130endif
131
132libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/cache.rel \
133    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
134    ../../../libcpu/@RTEMS_CPU@/syscall.rel
135
136if HAS_NETWORKING
137libbsp_a_LIBADD += leon_open_eth.rel
138libbsp_a_LIBADD += leon_greth.rel
139libbsp_a_LIBADD += leon_smc91111.rel
140endif
141
142EXTRA_DIST += times
143
144include $(srcdir)/preinstall.am
145include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.