source: rtems/c/src/lib/libbsp/sparc/erc32/Makefile.am @ 5e5d0b1

4.104.114.95
Last change on this file since 5e5d0b1 was 5e5d0b1, checked in by Joel Sherrill <joel.sherrill@…>, on 05/15/08 at 15:53:19

2008-05-15 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, configure.ac: Add capability for bootcard.c BSP Initialization Framework to ask the BSP where it has memory for the RTEMS Workspace and C Program Heap. These collectively are referred to as work area. If the BSP supports this, then it does not have to include code to split the available memory between the two areas. This reduces the amount of code in the BSP specific bspstart.c file. Additionally, the shared framework can initialize the C Library, call rtems_debug_enable(), and dirty the work area memory. Until most/all BSPs support this new capability, if the BSP supports this, it should call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac. When the transition is complete, this autoconf macro can be removed.
  • Property mode set to 100644
File size: 1.8 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../bsp.am
9
10dist_project_lib_DATA = bsp_specs
11
12include_HEADERS = include/bsp.h
13include_HEADERS += include/tm27.h
14
15nodist_include_HEADERS = include/bspopts.h
16DISTCLEANFILES = include/bspopts.h
17
18noinst_PROGRAMS =
19
20SUBDIRS = . tools
21
22include_HEADERS += include/erc32.h
23include_HEADERS += include/coverhd.h
24
25EXTRA_DIST = ../../sparc/shared/start.S
26start.$(OBJEXT): ../../sparc/shared/start.S
27        $(CPPASCOMPILE) -o $@ -c $<
28project_lib_DATA = start.$(OBJEXT)
29
30dist_project_lib_DATA += startup/linkcmds
31
32startup_SOURCES = ../../sparc/shared/bspclean.c ../../shared/bsplibc.c \
33    ../../shared/bsppredriverhook.c \
34    ../../shared/bsppost.c ../../sparc/shared/bspstart.c \
35    ../../shared/bootcard.c ../../shared/sbrk.c startup/setvec.c \
36    startup/spurious.c startup/erc32mec.c startup/boardinit.S
37gnatsupp_SOURCES = gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
38console_SOURCES = console/console.c
39debugio_SOURCES = console/debugputs.c
40clock_SOURCES = clock/ckinit.c
41timer_SOURCES = timer/timer.c
42
43if HAS_NETWORKING
44erc32sonic_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
45noinst_PROGRAMS += erc32sonic.rel
46erc32sonic_rel_SOURCES = erc32sonic/erc32sonic.c
47erc32sonic_rel_CPPFLAGS = $(AM_CPPFLAGS) $(erc32sonic_CPPFLAGS)
48erc32sonic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
49endif
50
51noinst_LIBRARIES = libbsp.a
52libbsp_a_SOURCES = $(startup_SOURCES) $(gnatsupp_SOURCES) $(console_SOURCES) \
53    $(debugio_SOURCES) $(clock_SOURCES) $(timer_SOURCES)
54
55libbsp_a_LIBADD  = ../../../libcpu/@RTEMS_CPU@/cache.rel \
56    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
57    ../../../libcpu/@RTEMS_CPU@/syscall.rel
58if HAS_NETWORKING
59libbsp_a_LIBADD += erc32sonic.rel
60endif
61
62EXTRA_DIST += times
63
64include $(srcdir)/preinstall.am
65include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.