source: rtems/c/src/lib/libbsp/sh/gensh4/Makefile.am @ b1ded240

4.104.115
Last change on this file since b1ded240 was 11a6c97, checked in by Joel Sherrill <joel.sherrill@…>, on 09/15/08 at 19:18:29

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

  • Makefile.am, configure.ac, include/bsp.h, startup/linkcmds: Use shared bsp_get_work_area() in its own file and rely on BSP Framework to perform more initialization. After factoring this out, it turned out that all SuperH BSPs has the same bsp_start() implementation so this was made shared.
  • startup/bspstart.c: Removed.
  • Property mode set to 100644
File size: 1.5 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
17noinst_PROGRAMS =
18
19include_HEADERS += include/sdram.h
20include_HEADERS += include/coverhd.h
21
22EXTRA_DIST = start/start.S
23start.$(OBJEXT): start/start.S
24        $(CPPASCOMPILE) -o $@ -c $<
25
26project_lib_DATA = start.$(OBJEXT)
27
28dist_project_lib_DATA += startup/linkcmds startup/linkcmds.rom \
29    startup/linkcmds.rom2ram
30
31startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
32    ../../shared/bsppredriverhook.c ../shared/bspstart.c \
33    ../../shared/bsppretaskinghook.c ../shared/bspgetworkarea.c \
34    ../../shared/bspclean.c ../../shared/sbrk.c ../../shared/bootcard.c \
35    ../../shared/gnatinstallhandler.c ../shared/bsphwinit.c
36console_SOURCES = console/console.c ../../shared/dummy_printk_support.c
37hw_init_SOURCES = hw_init/hw_init.c
38
39noinst_LIBRARIES = libbsp.a
40libbsp_a_SOURCES = $(startup_SOURCES) $(hw_init_SOURCES) $(console_SOURCES)
41
42libbsp_a_LIBADD = \
43    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
44    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
45    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/sci.rel \
46    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/score.rel
47
48EXTRA_DIST += times
49
50include $(srcdir)/preinstall.am
51include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.