source: rtems/c/src/lib/libbsp/sparc/erc32/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: 2.3 KB
Line 
1##
2## $Id: Makefile.am,v 1.54 2011/05/23 17:41:30 jennifer 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
15
16nodist_include_HEADERS = include/bspopts.h
17nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
18DISTCLEANFILES = include/bspopts.h
19
20noinst_PROGRAMS =
21
22SUBDIRS = . tools
23
24include_HEADERS += include/erc32.h
25include_HEADERS += ../../shared/include/coverhd.h
26
27noinst_LIBRARIES = libbspstart.a
28libbspstart_a_SOURCES = ../../sparc/shared/start.S
29project_lib_DATA = start.$(OBJEXT)
30
31dist_project_lib_DATA += startup/linkcmds ../shared/startup/linkcmds.base
32
33noinst_LIBRARIES += libbsp.a
34libbsp_a_SOURCES =
35
36# startup
37libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \
38    ../../shared/bsppredriverhook.c ../../sparc/shared/bspgetworkarea.c \
39    ../../sparc/shared/bsppretaskinghook.c ../../shared/bsppost.c \
40    ../../shared/bspstart.c ../../shared/bootcard.c ../../shared/bspinit.c \
41    ../../shared/sbrk.c startup/setvec.c startup/spurious.c \
42    startup/erc32mec.c startup/boardinit.S startup/bspidle.c \
43    startup/bspdelay.c
44# ISR Handler
45libbsp_a_SOURCES += ../../sparc/shared/irq_asm.S
46# gnatsupp
47libbsp_a_SOURCES += gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
48# console
49libbsp_a_SOURCES += console/erc32_console.c ../../shared/console.c
50# debugio
51libbsp_a_SOURCES += console/debugputs.c
52# clock
53libbsp_a_SOURCES += clock/ckinit.c ../../../shared/clockdrv_shell.h
54# timer
55libbsp_a_SOURCES += timer/timer.c
56
57if HAS_SMP
58libbsp_a_SOURCES += ../../shared/smp/getcpuid.c ../../shared/smp/smp_stub.c \
59    ../../shared/smp/bspsmp_wait_for.c
60endif
61
62if HAS_NETWORKING
63erc32sonic_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
64noinst_PROGRAMS += erc32sonic.rel
65erc32sonic_rel_SOURCES = erc32sonic/erc32sonic.c
66erc32sonic_rel_CPPFLAGS = $(AM_CPPFLAGS) $(erc32sonic_CPPFLAGS)
67erc32sonic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
68endif
69
70libbsp_a_LIBADD  = ../../../libcpu/@RTEMS_CPU@/cache.rel \
71    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
72    ../../../libcpu/@RTEMS_CPU@/syscall.rel
73if HAS_NETWORKING
74libbsp_a_LIBADD += erc32sonic.rel
75endif
76
77EXTRA_DIST = times
78
79include $(srcdir)/preinstall.am
80include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.