source: rtems/c/src/lib/libbsp/sparc/erc32/Makefile.am @ 0fed29a

4.104.115
Last change on this file since 0fed29a was 0fed29a, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 19, 2009 at 4:05:38 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: 1.9 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
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
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    ../../shared/bsppost.c ../../sparc/shared/bspstart.c \
40    ../../shared/bootcard.c ../../shared/sbrk.c startup/setvec.c \
41    startup/spurious.c startup/erc32mec.c startup/boardinit.S \
42    startup/bspidle.c
43# gnatsupp
44libbsp_a_SOURCES += gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
45# console
46libbsp_a_SOURCES += console/console.c
47# debugio
48libbsp_a_SOURCES += console/debugputs.c
49# clock
50libbsp_a_SOURCES += clock/ckinit.c ../../../shared/clockdrv_shell.h
51# timer
52libbsp_a_SOURCES += timer/timer.c
53
54if HAS_NETWORKING
55erc32sonic_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
56noinst_PROGRAMS += erc32sonic.rel
57erc32sonic_rel_SOURCES = erc32sonic/erc32sonic.c
58erc32sonic_rel_CPPFLAGS = $(AM_CPPFLAGS) $(erc32sonic_CPPFLAGS)
59erc32sonic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
60endif
61
62libbsp_a_LIBADD  = ../../../libcpu/@RTEMS_CPU@/cache.rel \
63    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
64    ../../../libcpu/@RTEMS_CPU@/syscall.rel
65if HAS_NETWORKING
66libbsp_a_LIBADD += erc32sonic.rel
67endif
68
69EXTRA_DIST = times
70
71include $(srcdir)/preinstall.am
72include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.