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

4.104.11
Last change on this file since 38386473 was b181c30, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 19, 2009 at 4:13:01 PM

2009-08-19 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, include/bsp.h, startup/setvec.c: Split idle method into its own file. Properly note to confdefs.h that this BSP has its own idle thread.
  • startup/bspidle.c: New file.
  • Property mode set to 100644
File size: 4.2 KB
Line 
1##
2## $Id$
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
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    ../../sparc/shared/bspgetworkarea.c ../../sparc/shared/bspstart.c \
60    ../../shared/bootcard.c ../../shared/sbrk.c startup/setvec.c \
61    startup/spurious.c startup/bspidle.c
62# gnatsupp
63libbsp_a_SOURCES += gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
64# console
65libbsp_a_SOURCES += console/console.c console/debugputs.c
66# clock
67libbsp_a_SOURCES += clock/ckinit.c ../../../shared/clockdrv_shell.h
68# AMBA PnP Scanning
69libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp.c
70# PCI
71libbsp_a_SOURCES += pci/pci.c ../../sparc/shared/pci/pcifinddevice.c
72# RASTA Kit
73libbsp_a_SOURCES += rasta/rasta.c
74# Companion Chip Kit
75libbsp_a_SOURCES += cchip/cchip.c
76# B1553BRM
77libbsp_a_SOURCES += ../../sparc/shared/1553/b1553brm.c \
78    ../../sparc/shared/1553/b1553brm_pci.c \
79    ../../sparc/shared/1553/b1553brm_rasta.c
80# CAN
81libbsp_a_SOURCES += ../../sparc/shared/can/occan.c \
82    ../../sparc/shared/can/occan_pci.c \
83    ../../sparc/shared/can/grcan.c \
84    ../../sparc/shared/can/grcan_rasta.c
85# SpaceWire
86libbsp_a_SOURCES += ../../sparc/shared/spw/grspw.c \
87    ../../sparc/shared/spw/grspw_pci.c ../../sparc/shared/spw/grspw_rasta.c
88# UART (RAW)
89libbsp_a_SOURCES += ../../sparc/shared/uart/apbuart.c \
90    ../../sparc/shared/uart/apbuart_pci.c \
91    ../../sparc/shared/uart/apbuart_rasta.c
92# I2CMST
93include_HEADERS += ../../sparc/shared/include/i2cmst.h
94libbsp_a_SOURCES += ../../sparc/shared/i2c/i2cmst.c
95
96# timer
97libbsp_a_SOURCES += timer/timer.c
98
99if HAS_NETWORKING
100noinst_PROGRAMS += leon_smc91111.rel
101leon_smc91111_rel_SOURCES = leon_smc91111/leon_smc91111.c
102leon_smc91111_rel_CPPFLAGS = $(AM_CPPFLAGS)
103leon_smc91111_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
104leon_smc91111_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
105endif
106
107if HAS_NETWORKING
108noinst_PROGRAMS += leon_open_eth.rel
109leon_open_eth_rel_SOURCES = leon_open_eth/leon_open_eth.c
110leon_open_eth_rel_CPPFLAGS = $(AM_CPPFLAGS)
111leon_open_eth_rel_CPPFLAGS +=  -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
112leon_open_eth_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
113endif
114
115libbsp_a_LIBADD = \
116    ../../../libcpu/@RTEMS_CPU@/cache.rel \
117    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
118    ../../../libcpu/@RTEMS_CPU@/syscall.rel
119
120if HAS_NETWORKING
121libbsp_a_LIBADD += leon_open_eth.rel
122libbsp_a_LIBADD += leon_smc91111.rel
123endif
124
125EXTRA_DIST = times
126
127include $(srcdir)/preinstall.am
128include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.